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
  Search this Thread
Old 05-28-2009, 08:15 PM   #1
wwalker
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, 08:23 PM   #2
cardinals_fan
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
Code:
tar xvzf filename.tar.gz
in a shell.

3. If it contains either a .sh or .bin file, you can run the installer with
Code:
chmod +x filename.sh
./filename.sh
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:
Code:
./configure
make
sudo make install (if you use a distro with sudo)
What are you trying to install?
 
Old 05-28-2009, 08:26 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,533

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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, 10:54 PM   #4
linux hates me
Member
 
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 10:56 PM.
 
  


Reply


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


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration