How to extract and install from .tar.gz and .tar.bz2
I need to install from .tar.gz and .tar.bz2
How can I extract and install from these two files type. Any help would be much appreciated. |
tar.gz/bz2 is an archive.
Extract it: tar xvf package.tar.gz Go into created directory. cd package Read README or INSTALL file usually provided in that directory: cat README | less. Then usual steps would be: ./configure make make install But this may vary - read instructions! |
Quote:
Code:
tar zxf archive.tar.gz Code:
tar jxf archive.tar.bz2 As a general overview, you can look at this sticky thread, here at LQ. |
Actually, if the version of tar you're using is sufficiently new, you don't even need to specify the 'j' or 'z' - tar xf filename will do it.
|
Quote:
|
All times are GMT -5. The time now is 09:06 AM. |