How to Install and Uninstall dos2unix Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "dos2unix" package

Here is a brief guide to show you how to install dos2unix on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install dos2unix

2. Uninstall "dos2unix" package

Please follow the guidance below to uninstall dos2unix on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove dos2unix $ sudo apt autoclean && sudo apt autoremove

3. Information about the dos2unix package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: dos2unix
Priority: extra
Section: universe/text
Installed-Size: 299
Maintainer: Ubuntu Developers
Original-Maintainer: Jari Aalto
Architecture: amd64
Version: 6.0.4-1
Depends: libc6 (>= 2.4)
Conflicts: tofrodos (<< 1.7.8.debian.1)
Filename: pool/universe/d/dos2unix/dos2unix_6.0.4-1_amd64.deb
Size: 68746
MD5sum: eac9185c0e15fb9b68144d6869e65712
SHA1: e12b615cc9fcd014970bbb025c380fe4595fd10e
SHA256: 5fb8815143a007bf1b7da6ffa2a87c5a68926c9ab698f67b97eb9abcdf3654cd
Description-en: convert text file line endings between CRLF and LF
This package contains utilities dos2unix, unix2dos, mac2unix,
unix2mac to convert the line endings of text files between UNIX (LF),
DOS (CRLF) and Mac (CR) formats.
.
Text files under Windows and DOS typically have two ASCII characters
at the end of each line: CR (carriage return) followed by LF (line
feed). Older Macs used just CR, while UNIX uses just LF. While most
modern editors can read all these formats, there may still be a need
to convert files between them.
.
This is the classic utility developed in 1989.
Description-md5: de26f1b3d43636b1499a335199109277
Homepage: http://freshmeat.net/projects/dos2unix
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu