Monday, March 24, 2014

How to Install a TGZ File



1. Open a terminal session and type 'mkdir ~/test.' This makes a new directory called 'test.' You can make a new directory anywhere you want, but for the following steps the 'test' directory is assumed.

2. Use the 'cd' command to go to the directory of the tarball on your hard drive. For example, if the tgz is in your 'Downloads' folder, type 'cd ~/Downloads' and press 'Enter.'

3. Type 'tar xvf filename.tgz -C ~/test' and press 'Enter' to extract the tarball to the 'test' directory. Replace 'filename' with the actual filename.

4. Type 'cd ~/test' and press 'Enter.'

5. Type './configure' and press 'Enter.'

6. Type 'make' and press 'Enter.'

7. Type 'sudo make install' and press 'Enter' in Ubuntu. In Fedora, type 'su -c make install' and press 'Enter.'

No comments:

Post a Comment