how to install .tgz files?
I double click on a downloaded .tgz file and extract the files. But then I don't know what to do after this point. I am running redhat 9.0
|
Hello :)
http://www.linuxquestions.org/questi...threadid=45094 and http://www.linuxquestions.org/questi...ticle&artid=15 Should answer the question fairly well ;) Cool |
Normally there will be a README file or such things that come with a tgz file. I don't know the correct steps for your downloaded file, but it will generally be about './configure' and then './make' with the two steps sometimes changed like './make install'.
|
Thanks, this does give me a starting point. I'll give it a try.
|
hi
tar zxvf filename.tar.gz -gzipped files tar jxvf filename.tar.bz2 - bzipped files move into the extracted directory you will find readme and install files which will help you do the rest |
All the info above has helped alot!
I am having trouble finding the place to "cd" to after the file has been unpacked. is there an easy way to find out the location? This is why im posting the "newbie" section! |
If you type:
ls It will list the files in that directory, and list the sub directories as well. Likely, 1 of the files/directories it lists will be the one you need to 'cd' into :) Cool |
Midnight
Also you can install "Midnight commander" that is coming with more knowns distro.
With it u can "navigate" into your configuration and untar, unzip, etc with only one "Enter" Inside the tar you can find a README o Install txt. But if you are newbie search for the .rpm software. Then you can install, upgrade and uninstall the software with no problems |
Thanks again everyone, you've all been helpful. I am slowly getting the hang of this.
|
:)
|
Hi
I use to follow the guidelines in Peter Norton's "Complete Guide to Linux", page 199 and further: - put the tar.gz file in /usr/local/src. The reason for this is to avoid overwriting system installed software - uncompress the so called "tarball" by typing: tar xzvf tarfile-xxx.tar.gz - cd to the newly created directory - run configure by typing ./configure - compile the source code by typing: make - last but not least, install the program by typing make install |
All times are GMT -5. The time now is 02:51 PM. |