在redhat上安装dos2unix,操作如下:
1 download Dos2Unix 1.0.0 from http://linux.softpedia.com/progDownload/Dos2Unix-Download-5519.html to local machine;
2解压
tar -zvxf ***
3. After you sucessfuly downloaded and unpacked source tarball, do the following in source directory:
./configure
make
make install
This will build and install 'dos2unix' into default location, which is /usr/local/bin .
If you want to use another prefix than /usr/local use for example:
./configure --prefix=/usr
This will install 'dos2unix' into /usr/bin .