LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 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: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

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



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
How to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 06:52 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

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

All times are GMT -5. The time now is 11:17 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