LinuxQuestions.org
Help answer threads with 0 replies.
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 03-10-2005, 11:19 PM   #1
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Rep: Reputation: 15
How to install a downloaded tar.gz?


I'm trying to install gnomebaker-0.3.tar.gz. Got it dowloaded, but not sure how to "install it". Can someone help me out with a link on how to do this or maybe just help me out. Sorry, and thanks for any and all info.


 
Old 03-10-2005, 11:21 PM   #2
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Rep: Reputation: 15
You must do this to the file.
tar -zxvf gnomebaker-0.3.tar.gz
This will unzip/uncompress the file. Then open the folder and look for some readme's or something to tell you how to install it. I'm not sure because I've never used that program.
 
Old 03-11-2005, 12:01 AM   #3
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
yes. you should use the tar xvzf <tar.gz filename> . This will unzip and uncompress the file. Please do this in a separate directory. after this, the tar.gz file will disappear and you will get another file (usually with the same primary file name) apart from other files (if the compressed file contains multiple files) in the same directory. If it is an application for linux, it has to be an rpm. In this case, you unizpped/uncompressed file will end with .rpm

to install a rpm package in linux, use the following command

rpm -ivh <name of this rpm file> .

Most applications get installed under the /usr/local directory or a separate directory is created under /usr . Most probably you will not see the program in your Main Menu of Linux. In that case, please do go thru the readme file that you may get after unzipping the original file. You should be able to locate the actual application file name. To locate it try the following command :-

whereis <application file name>

Hope this helps
 
Old 03-11-2005, 01:48 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
It doesn't have to be an rpm, that's only for RedHat Pkg Mgr style packed files.
Many other formats will install, using different cmds. Hence the README or equiv files that normally come with a tar.gz.
 
Old 03-11-2005, 08:52 AM   #5
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 262

Rep: Reputation: 30
The *.tar.gz could just as easily contain *.deb, *.rpm, *.anything - it could just contain a whole group of files and folders resulting in having to compile it yourself, whether it is using ./configure > make > make install or some other method.

The number 1 tip is, once it is untarred, find the README file and have a good read.
 
Old 03-11-2005, 09:17 AM   #6
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
I was able to uncompress the file, and I did read thru the README. I followed the directions bu couldn't get past the ./configure command. It wouldn't work. Came up with something like no such file or directory. BTW, I did "cd" to the directory where the src was. I always follow directions and nothing ever works how it is supposed to.
 
Old 03-11-2005, 09:20 AM   #7
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
Quote:
Originally posted by morrolan
The *.tar.gz could just as easily contain *.deb, *.rpm, *.anything - it could just contain a whole group of files and folders resulting in having to compile it yourself, whether it is using ./configure > make > make install or some other method.

The number 1 tip is, once it is untarred, find the README file and have a good read.
If the file name ends in ".tar.gz", I think you will find it is NOT an rpm or deb file. They would end in ".rpm.gz" or .deb.gz", or more commonly just ".rpm" or ".deb". There isn't much sense puting an rpm or deb into a tar archive.

After untarring, look for README and/or INSTALL for more information (as stated above). If it is a binary-only release, there will either be some sort of installation shell script file you execute, or perhaps a "make install" to run. If it is a source code release, the normal method is to run "./configure && make && make install", but again, see the README and/or INSTALL files.
 
Old 10-06-2006, 10:59 PM   #8
Cookie8
LQ Newbie
 
Registered: Oct 2006
Distribution: SuSE 10.1
Posts: 12

Rep: Reputation: 0
I had the same problem. The computer wouldn't recognize the command './configure' Same message: no such file or directory.
The "readme and/or install files" are simply not specific enough for a newbie like me. Can someone please please give some clear instructions on how to do this?
 
Old 10-06-2006, 11:32 PM   #9
carlito11973
LQ Newbie
 
Registered: Sep 2006
Location: Sanford
Distribution: OpenMandriva Lx
Posts: 21

Rep: Reputation: 0
how to install a downloaded .tar.gz file

I am by no means an expert at this, but yeah, from the command line, tar -xzf prog.name.tar.gz (you can leave the v out, that's the verbose switch, just makes a lot of stuff on the screen that is hard to understand), look for the directory that was created, usually close to the same name as the tarball, cd into it, and I always do an ls (list some). There should be a configure file in there somewhere, if so, all you've gotta do is ./configure (I always run the commands seperately), once that is done, "make", and once that is done, become root and "make install". That should do it, although I have downloaded some that didn't come with a configure file, in that case, try just running "make" and as root, "make install". Hope that helps, good luck!
 
  


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 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 and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 06:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
getting downloaded rpm/cups and tar files into correct folders mookie2125 Linux - Newbie 4 07-17-2005 09:35 PM
using .tar.gz file downloaded on vfat partition linsokol Linux - Newbie 5 05-11-2003 05:40 PM


All times are GMT -5. The time now is 03:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration