Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-09-2009, 09:40 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 1

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

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

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

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

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

Check out the man pages for tar
man tar
They will tell you a lot. First of all the tar.gz and 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:
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
make install
to install the program. But always first look at the readme files.

Kind regards,




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

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration