extract tar.gz file
Hey there!!!!
Does anyone know how to extract a file with 'tar.gz' extention? Actually i want to install this file. Really thanks for your time |
To extract a tar.gz file, you can use the command 'tar xvzf filename', or use a GUI program such as Ark. If it's a program you want to install, the method varies slightly depending on what the archive contains. Which distro are you using, and what is the program you're trying to install from the archive? There may be a better way of installing, using a package management program.
|
It's a compressed (.gz) archive (.tar), uncompressed and -archived with (if using GNU tar):
Code:
tar -xzf filename.tar.gz Code:
gunzip filename.tar.gz Code:
./configure |
First make sure this tarball is in a directory where you have full permissions.
You can extract it with the command "tar xvzf <name>.tar.gz". Then cd into the extracted directory. Check for a README and an INSTALL file. Be sure to read them through. Most likely there will be a "configure" file. If so, the normal process is: ./configure make su <password> make install However, there may be a "make test" or an option to use with "configure" that the README file points out. Also, often software installed this way will go into the /usr/local hierarchy. Some people prefer it go into the /usr hierarchy, and to do this use "./configure prefix=/usr" instead. |
All times are GMT -5. The time now is 03:52 PM. |