LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-10-2003, 06:15 PM   #1
Santorres
Member
 
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Rep: Reputation: 15
Problems with Tar.gz files


I had download some tar.gz files. I was looking how can I decompress them but i've seen lots of ways. I would like to know which ones are the basic differences between them..

These are some examples:

- gunzip -i xxxx.tar.gx | xvf
- tar xvzf xxxx.tar.gz

And some other like those.. Now I dont remember specifically, i'd written them from my mind,

Please somebody help me.... What Should I do after those steps.?

Sometimes there is an "install", "make" etc....

 
Old 07-10-2003, 06:25 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Read the INSTALL or README file that is tar'ed with them and it should give instructions in most cases to install. Other than that, it all depends on the package your installing.
 
Old 07-10-2003, 06:25 PM   #3
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
Well here is how I usually deal with tar.gz files. However, I am also a noob so there are probably better ways. I will use the tar command on the tar.gz as follows " tar xzvf <filename.tar.gz>" x - extract, z - unzip, v - verbose, f - filename. After that you will have a directory created similar to the filename you used tar with. Now you can cd into that directory and most likely run ./configure to set up the make file and such. You will also want ot read the readme and install files in this directory because this should tell you how to go about installing the app. After ./configure completes sucessfully you will run "make", then su to superuser and run "make install". This should install it and get it up and going, but refer to the readme and install because some apps are different. Hope this helps!
 
Old 07-10-2003, 06:27 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
On another note, unless its something I've installed before, I always read the INSTALL or README files so I can assure myself I'm installing it properly, instead of assuming its just a basic:

tar -xzvf packagename
cd packagename
./configure
make
su - root
make install
make clean
exit

./runpackage
 
  


Reply



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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
Major problems installing tar.gz files Nitro Boy Linux - Newbie 9 07-21-2005 10:01 PM
Problems installing tar.gz files NomadABC Linux - Software 12 02-17-2005 05:11 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration