Review your favorite Linux distribution.
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 05-28-2009, 09:15 PM   #1
LQ Newbie
Registered: May 2009
Posts: 1

Rep: Reputation: 0
I need to know how install tar.gz files

I am new to Linux and I have a bunch of Software with the tar.gz extension that I need to know how to install can anyone help me?
Old 05-28-2009, 09:23 PM   #2
LQ Newbie
Registered: Jan 2008
Location: Alaska
Distribution: SliTaz, NetBSD, & Slackware
Posts: 16

Rep: Reputation: 0
Here's what you should do:

1. Check to see if the app you want is in your distribution's repositories. Most Linux distros don't follow the Windows paradigm of software installation (download from developer). Instead, they maintain a central repository and let you install it with a package manager. What distribution do you use?

2. If it isn't in the repos, you may need to either compile it or use a binary install script. A tar.gz file is nothing more than an archive to be extracted. You can extract it with a graphical tool or by entering
tar xvzf filename.tar.gz
in a shell.

3. If it contains either a .sh or .bin file, you can run the installer with
chmod +x
4. If it contains a bunch of files with names like "configure" or "Makefile", it needs to be compiled. You can usually do this with the following, though there are exceptions:
sudo make install (if you use a distro with sudo)
What are you trying to install?
Old 05-28-2009, 09:26 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,099

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
Normally the site you download from should give you that info. You need to untar them then install. Think unzip. Run "man tar" (no quotes) from a terminal.
Which distro are you using - most of the mega distros will have a tool for this if you double-click the tarball.
Old 05-28-2009, 11:54 PM   #4
linux hates me
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
inside should be a txt file with all the installation instructions labeled "Install" or INSTALL you can just open the tar.gz package in the gui and double click on the install text file and just follow the instructions. if you have trouble go to the software forum and ask specific questions about the program you want to install.

Last edited by linux hates me; 05-28-2009 at 11:56 PM.


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 do you install tar. bz files? UncleMonty Linux - Newbie 3 06-17-2008 06:20 PM
how to install and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
how do i install .tar files? squirlprotector Linux - Software 16 02-17-2005 07:04 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

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