LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2003, 04:52 PM   #1
ramzi
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
TAR.gz


what are tar.gz and tar.bz2 and how to make use of them?

in other words how do i install softwares? if you dont want to go through details just post a link
 
Old 09-24-2003, 05:01 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
They are compresed archives you can "unzip" them with:
tar -xzf myfile.tar.gz
tar -xjf myfile.tar.bz2

There is usually a file called README or INSTALL that tells you how to use/install the software within. Also take a look a jeremy's "Linux Answer":
http://www.linuxquestions.org/questi...ticle&artid=15
 
Old 09-24-2003, 05:03 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
they are compressed files type ::
tar -zxvf filename.tar.gz to extract tar.gz
tar -jxvf filename.tar.bz2 to extract tar.bz2
and usually they are source files for installing stuff, that is not always the case, but its most often true...and a typical procedure to take is to cd into the extracted directory and run::
./configure
make
su -c "make install"

this is not always the case, and thats why there is a README and INSTALL file usually packed with these so read them and see what you actually have to do to run/install whatever you may have...
 
Old 09-24-2003, 05:17 PM   #4
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Re: TAR.gz

Quote:
Originally posted by ramzi
what are tar.gz and tar.bz2 and how to make use of them?

in other words how do i install softwares? if you dont want to go through details just post a link
Or

#tar.gz
gunzip file.tar.gz
tar -xvf file.tar


#tar.bz2
bunzip2 file.tar.bz2
tar -xvf file.tar.bz2
 
  


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration