LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install .tgz files? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-tgz-files-82488/)

bw8 08-16-2003 05:21 AM

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

MasterC 08-16-2003 05:27 AM

Hello :)

http://www.linuxquestions.org/questi...threadid=45094

and

http://www.linuxquestions.org/questi...ticle&artid=15

Should answer the question fairly well ;)

Cool

UltimaGuy 08-16-2003 05:29 AM

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'.

bw8 08-16-2003 09:53 AM

Thanks, this does give me a starting point. I'll give it a try.

rahulsundaram 08-16-2003 01:53 PM

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

bw8 08-17-2003 07:04 AM

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!

MasterC 08-17-2003 09:29 AM

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

nightjar 08-17-2003 09:55 AM

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

bw8 08-18-2003 05:36 AM

Thanks again everyone, you've all been helpful. I am slowly getting the hang of this.

koen plessers 08-21-2003 03:02 PM

:)

koen plessers 08-21-2003 03:03 PM

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.