LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-16-2003, 05:21 AM   #1
bw8
LQ Newbie
 
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11

Rep: Reputation: 0
Question 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
 
Old 08-16-2003, 05:27 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hello

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

and

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

Should answer the question fairly well

Cool
 
Old 08-16-2003, 05:29 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 30
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'.
 
Old 08-16-2003, 09:53 AM   #4
bw8
LQ Newbie
 
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks, this does give me a starting point. I'll give it a try.
 
Old 08-16-2003, 01:53 PM   #5
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
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
 
Old 08-17-2003, 07:04 AM   #6
bw8
LQ Newbie
 
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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!
 
Old 08-17-2003, 09:29 AM   #7
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 08-17-2003, 09:55 AM   #8
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
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
 
Old 08-18-2003, 05:36 AM   #9
bw8
LQ Newbie
 
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks again everyone, you've all been helpful. I am slowly getting the hang of this.
 
Old 08-21-2003, 03:02 PM   #10
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
 
Old 08-21-2003, 03:03 PM   #11
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i install tgz files on mandrake nipplepoker Linux - Software 2 10-17-2005 02:07 PM
how do I install from tgz, tar files? nathan_newmai Linux - Software 2 07-25-2004 05:39 AM
How do I install .tgz files! cddesjar Linux - Software 4 07-01-2004 02:21 PM
Best Way to Install .TGZ files? JockVSJock Slackware 4 01-28-2004 10:13 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM


All times are GMT -5. The time now is 05:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration