LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 10-09-2009, 09:40 AM   #1
PRIMROSE666
LQ Newbie
 
Registered: Sep 2009
Posts: 1
Thanked: 0
how to install tar.gz and tar.bz


[Log in to get rid of this advertisement]
dear friends
here please anyone clear my doubts
linuxredhat PRIMROSE666 is offline  
Tag This Post
Reply With Quote
Old 10-09-2009, 09:42 AM   #2
mortonmorton
Member
 
Registered: Sep 2009
Posts: 36
Thanked: 1
Hi, look on "man tar", read on options x, j, z, f.
linuxcentos mortonmorton is offline     Reply With Quote


Thanked by:
Old 10-09-2009, 09:45 AM   #3
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,173
Thanked: 285
Those are simply compression and archiving formats. I think your question is what to do after unpacking (with tar). Answer: it depends---sometimes you wil find an install script, sometimes source code. Normally, there is a README file or some other form of instructions.
linux pixellany is offline     Reply With Quote


Old 10-09-2009, 09:46 AM   #4
EricTRA
Member
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: Slackware 13, Ubuntu 9.04,Debian 32 + 64, AIX 5.3, RHEL5, LFS, BackTrack4
Posts: 971
Thanked: 108
Hello and welcome to LinuxQuestions,

Check out the man pages for tar
Code:
man tar
.
They will tell you a lot. First of all the tar.gz and tar.bz files are archive files that where archived using the tar program. So you'll need the same program to extract them. Kind of like zip in Windoze environment. the extension gz and bz means that they were compressed using the gzip or bzip program.

To unpack the file just type in at the console:
Code:
tar xzvf packagename.tar.gz
After that you'll have a directory created in the one where you unpacked the package. CD into that directory and look for INSTALL or README or similar files. If its the source of a program the you downloaded (tarball) then you'd have to execute
Code:
./configure
make
make install
to install the program. But always first look at the readme files.

Kind regards,

Eric
linuxubuntu EricTRA is offline     Reply With Quote



Reply

Bookmarks


Thread Tools

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 to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 06:40 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 02:54 AM


All times are GMT -5. The time now is 07:40 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration