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 12-18-2003, 10:36 AM   #1
LQ Newbie
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
Installing a "tar.gz"

I have installed mepis linux, which I must yes is not too bad for newbie's. Question being how do install a tar.gz file, when i right click on the file I extract it to a folder.....then what do i do to get this program installed? where does it install on the hard drive?

Old 12-18-2003, 10:54 AM   #2
LQ Newbie
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
There should be readme or install file that you can read and it will tell you how to install it. Most of the time you can do
make install
However this will vary from program to program. During the intsll process, it should tell you where it is installing. It also helps to use su and install the program as root so you don't get a permission denied error. Most likely the program in installed under /usr/local/
Old 12-18-2003, 11:44 AM   #3
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
to unpack it you can do
gzip -d filename

then it turns into a .tar file then do

tar filename

Old 12-18-2003, 11:48 AM   #4
LQ Newbie
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
tar xvfz filename will also do extract all the files into a new directory. I don't think it matters what order you do those options in either.
Old 12-18-2003, 01:50 PM   #5
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You might wanna check out the Linux-General forum,
which has an excellent thread (third from the top) on the topic.
Old 12-19-2003, 12:11 PM   #6
LQ Newbie
Registered: Feb 2003
Location: Romania
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
tar zxf *.tar.gz
make install
make clean


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
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
getting error during "tar -xvzf filename.tar.gz" b0nd Linux - Newbie 11 04-23-2005 09:50 PM
"installing" a tar.gz File Simdude90015 Linux - Newbie 9 08-02-2004 04:25 PM > Forums > Linux Forums > Linux - Newbie

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