LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-09-2004, 02:21 PM   #1
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Rep: Reputation: 15
how do i install a .tgz file?


i've never done it before. Im on redhat WS, anyone know how to do it?
 
Old 01-09-2004, 02:25 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Extract it with:

tar -zxvf filename.tgz

then cd into the extracted directory and have a look at the read me/install files if they're there.

typically, you install it via

./configure
make
make install

but check the readme/installs first for specifics.

Last edited by Skyline; 01-09-2004 at 02:26 PM.
 
Old 01-09-2004, 02:26 PM   #3
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
TGZ files are what I call slackpacks. They are for installing on Slackware.

You can usually do ' installpkg packagename.tgz ' in Slackware.

I think you could do ' tar -zxvf packagename.tgz ' in Redhat. and then you'll have a folder with all that unzipped inside it. Beyond that, you'll have to read the "README" for the specific package.

:::edit:::
Nice work Skyline, we must have been typing at the same time --

Peace,
Whitehat

Last edited by Whitehat; 01-09-2004 at 02:29 PM.
 
Old 01-09-2004, 02:30 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Thanks Whitehat - its probably happened to me about 50-130 times over the last 6 months aswell - glad to hear the OpenOffice trial went ok

Last edited by Skyline; 01-09-2004 at 02:32 PM.
 
Old 01-09-2004, 02:32 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
After you download it, open up a terminal, go to the directory you saved it to using the "cd" command. Then, type the following:

tar -xzvf file-name.tgz

You'll see a bunch of stuff scrolling by on your screen until it stops and you're back at your command prompt.

Now, you can type:

ls

and you'll see your file you just downloaded, and you'll see the same file as a directory without the .tgz attached to the end. We need to go there.

cd directory-that-was-just-created

Now you really should at this point, view any and all README, INSTALL, etc. files to make sure there's nothing else you need to do or get. If there's not, then type the following:

./configure

then when that's done:

make

then when that's done (will take longer than the first step):

make install

You're done. Enjoy compiling from source.
 
Old 01-09-2004, 02:33 PM   #6
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Original Poster
Rep: Reputation: 15
thanks!
 
Old 01-09-2004, 02:35 PM   #7
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Man you guys are fast! I would've posted sooner but I'm at work and my phone was ringing off the hook. I had to keep stopping typing. LOL
 
  


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 an tgz file samuelmp Linux - Software 15 10-29-2004 01:16 PM
cedega install trouble on slackware 10 from tgz file AM1SHFURN1TURE Linux - Games 3 10-02-2004 08:54 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
how to install a *.tgz file on Mandrake 9.1 lxandrthegr8 Linux - Software 9 08-22-2003 01:26 AM
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 12:35 PM.

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