| by Arround The Web | No comments

How to Install Dos2unix on Linux Mint 21

When you are using platforms like Linux Mint you may need to change the file types according to the system requirements and this can be done by using tools. dos2unix is a tool which converts DOS file type to Unix file type. You can install dos2unix on your Linux Mint 21 system by following the step-by-step guide given in this article.

How to Install dos2unix on Linux Mint 21

You can use the methods mentioned below to install the dos2unix tool on your Linux Mint system:

1: By Using GUI

To install Dos2unix on Linux Mint you can use the system’s Software Manager. You can install dos2unix by going to Software Manager; search dos2unix and then click on the Install button:

If you are new to the dos2unix tool you can get the help of this tool by using the command given below:

$ dos2unix -help

 

2: By Using Terminal

You can use the Apt package manager to install the dos2unix through the command line of Linux Mint by executing the below mentioned command:

$ sudo apt install dos2unix

 

Once you have successfully installed the tool on your system you can check its version by executing the command mentioned below:

$ dos2unix --version

 

How to Uninstall dos2unix on Linux Mint 21

If you do not need the dos2unix you just installed, you can easily uninstall it by using the methods given below:

Through GUI

If you have installed this tool As dos2unix from Software Manager then to remove it, open the Software Manager search for dos2unix and click on Remove button:

Through Terminal

To remove the dos2unix tool form your system by on case you have installed it using the terminal then you can use below command:

$ sudo apt remove --autoremove dos2unix

 

Conclusion

dos2unix is a tool which is used to convert line breaks in a text file from DOS to UNIX format. This tool can be very helpful for you as a Linux Mint user. For the installation of dos2unix you can use the apt package manager and Software Manager.

Share Button

Source: linuxhint.com

Leave a Reply