LinuxQuestions.org
Visit Jeremy's Blog.
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 09-23-2004, 12:58 AM   #1
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
Installing platform independent tar.gz


ok ok, im gonna get alot of tsk tsking for this one, now I've been using Linux for a bit now, running Suse 9.1 Pro and I've used the shell quite a bit and got used to it, however, I never learnt how to install platform independent tar.gz files. Most of the programs you need with suse 9.1 pro are on the discs so I don't really need outside install packs, however there are some programs that don't come on the disc, eg gift. Now I was fine downloading the suse 9.1 rpms for programs like gift, but when there are critical updated versions it seems to take ages for a suse 9.1 version of the rpm. So, can I, and how do I install the programs when there in a source .gz format?
 
Old 09-23-2004, 01:17 AM   #2
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
first you need to unzip/untar it with something like
tar -xvvzf foo.tar.gz
this will unzip it and untar it to the current directory..
then go into the folder
do a
./compile
make
make install

that's really it.
 
Old 09-23-2004, 01:18 AM   #3
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
usually its a *.tar.gz not just a .gz...
if it is just a .gz it's just
gunzip foo.gz
 
Old 09-23-2004, 02:05 AM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Normally that'd be ./configure, not ./compile

But anyway, the right commands go like this:

tar zxvf software.tarball.tgz
cd to the folder
ls, and look for README or INSTALL files!
THEN do your
./configure (if appropriate), make, and make install. Some software uses configure, some require you to edit a conf file of some sort, some will even require other software.
Also, be sure to check out ./configure --help if there's a chance you want to change installation options.
 
Old 09-23-2004, 03:43 AM   #5
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Original Poster
Rep: Reputation: 15
thanks guys, one more thing however, in console is there a way to check for dependencies packages, the configure isn't working and I'm pretty sure it's because I'm missing some dependencies, such as liblist, so is there a way I can see which ones I need? I know when a rpm doesn't work yast just tells you which ones to get easily.
 
Old 09-23-2004, 04:42 AM   #6
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If you find one, be sure to let me know!

I usually just use google
 
Old 09-23-2004, 04:51 AM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Go back to the site from which you d/l'd the tarball. They usually list package requirements somewhere. Check the README and INSTALL files in the package. One of them may also list dependencies.
 
  


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
Platform-independent "/dev/null" stream redirection? wapcaplet Programming 1 08-12-2005 11:11 PM
proper design for a platform independent applicaiton jwstric2 Programming 1 05-31-2004 07:32 PM
How can i send message from Linux platform to Windows platform linuxeagle Linux - Networking 1 02-17-2004 01:35 AM
Linking a platform independent shared library rozeboom Programming 3 11-18-2003 03:10 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 12:58 PM


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