Information about the package, dos2unix, which is shipped with common Linux distributions. The dos2unix package is designed for, Text file format converter.
Package Name:
dos2unix
Summary:
Text file format converter
Description:
Dos2unix converts DOS or MAC text files to UNIX format.
Architecture:
x86_64
Version:
3.1
Release:
37.el6
Size:
16 k
Repository:
base
From Repository:
Licence:
BSD
Control the dos2unix package with the following handy commands outlined below.
yum install dos2unix
This command will install dos2unix on the server.
yum remove dos2unix
This command will un-install dos2unix on the server. When you run this command, you will be asked if you are sure that you want to remove dos2unix, so you have to manually confirm that you want to do this.
yum -y remove dos2unix
This command will un-install dos2unix on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove dos2unix when using the -y flag.
yum update dos2unix
This command will update dos2unix to the latest version. When you run this command, you will be asked if you are sure that you want to remove dos2unix, so you have to manually confirm that you want to do this.
yum -y update dos2unix
This command will update dos2unix to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove dos2unix when using the -y flag.
yum info dos2unix
This command will show you core information about the dos2unix package.
yum deplist dos2unix
This command will show you the dependencies for dos2unix. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update dos2unix
This command will check if there is an update waiting on dos2unix. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.