Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installing ‘dos2unix’ from Source Code
- If ‘dos2unix’ is not available in your distribution’s package repository or you need a different version, you can install it from the source code. Here’s a step-by-step guide on how you can do it:
- Download the source code from the official website or a trusted source. You can use the ‘wget’ command to do this:
- wget http://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.2.tar.gz
- Bash
- Extract the downloaded file using the ‘tar’ command:
- tar -xvf dos2unix-7.4.2.tar.gz
- Bash
- Navigate into the extracted directory:
- cd dos2unix-7.4.2
- Bash
- Compile and install the program. The ‘make’ command compiles the program, and ‘sudo make install’ installs it:
- make
- sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement