LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 10-09-2009, 08:40 AM   #1
PRIMROSE666
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
how to install tar.gz and tar.bz


dear friends
here please anyone clear my doubts
 
Old 10-09-2009, 08:42 AM   #2
mortonmorton
Member
 
Registered: Sep 2009
Posts: 36

Rep: Reputation: 16
Hi, look on "man tar", read on options x, j, z, f.
 
Old 10-09-2009, 08:45 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,640

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
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.
 
Old 10-09-2009, 08:46 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: LMDE Gnome with Awesome WM + Kernel 3.3.0-1 amd64
Posts: 6,518
Blog Entries: 1

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


Reply

Tags
tar


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


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