LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-16-2005, 08:53 AM   #1
CyberLord_7
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 69

Rep: Reputation: 15
How do I install from .TAR files?


I am trying to install Scribus. I have the latest version from their web-site. I downloaded it from work on a Winblows 2000 machine. I want to install in onto my Fedora Core 2 laptop, but I just don't know what to do with the files. Is there a web-site where I can find instruction?
I am a member of IBM Developer Works, but the information I find there talks about how to unzip a .tar.gz file. Maybe I'm just looking in the wrong place.

Thank you for your help.
 
Old 03-16-2005, 08:59 AM   #2
bitt_u
Member
 
Registered: Mar 2005
Posts: 39

Rep: Reputation: 15
hi,
.tar.gz file is a compressed archive file of the source.this is the format in which the source code usually there for downloading. what kind of file have you got.
 
Old 03-16-2005, 09:02 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
use

Code:
 tar -xzvf filename
extracting.
further, īman tarī at console should help
 
Old 03-16-2005, 09:06 AM   #4
fssengg
Member
 
Registered: Feb 2005
Location: Kerala(God's own country)
Distribution: Redhat-8
Posts: 35

Rep: Reputation: 15
#gunzip a.tar.gz this will create a.tar
#tar -xvf a.tar this will create a directory a
#cd a
if there is a "configure" file
#./configure
if there is a Makefile
#make
#make install
i think this will do (# is shell prompt)
 
Old 03-16-2005, 10:35 AM   #5
CyberLord_7
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks to all for your very rapid answers.
I will try them at lunch time.
 
Old 03-16-2005, 10:40 AM   #6
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Just one thing: it looks like you're doing all these steps using the root account which is not very wise nor it is necessary to install usual applications. Better stick with a regular user account.
 
Old 03-16-2005, 07:57 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I modified the instructions of fssengg slightly. Here, the configure and make steps are done in user mode. Because the installation normally involves copying files into the /usr hierarchy, you need to su to root first.

>gunzip a.tar.gz this will create a.tar
>tar -xvf a.tar this will create a directory a
>cd a

There will most likely be a README and INSTALL file. Please read these files because the particular instructions may be different, plus there may be compiling options that you want to be aware of.

>./configure
if there is a Makefile
>make
>su -
<password>
#make install

For a couple of tarballs I've run into, there wasn't a configure script, but there was a config.in script. For these you need to run 'autoconf' to produce the configure script.
Also, before running ./configure, you might want to run ./configure --help. This may print out some options that you want to consider. For example, for the 'lynx' program, you can add an option with would allow you to run the program in the console and add graphics from the web page using frame buffer support.

The README file may also point out a step such as 'make test' between the make and make install steps.

Last edited by jschiwal; 03-16-2005 at 07:59 PM.
 
Old 03-17-2005, 02:36 AM   #8
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Rep: Reputation: 15
hi.
dont untar it any where... first read the README file, and check it where to untar, most prob. in / directory, thn use command

tar -zxvf <filename.tar.gz>
 
Old 03-17-2005, 07:42 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I have a directory called ~/downloads where I save files that I download. I will untar the file there and cd to the created directory. The README file isn't available until after you untar the file. You have full rights in your home directory, so you can perform the configure and make steps without su'ing to root. The make install option is the one that copies files where they belong. That is why you want to do this step as root, so that the make install script can copy files under the /usr hierarchy.
 
  


Reply



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 to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
cannot install .tar files sharadgana Linux - Newbie 2 12-02-2004 11:51 AM
how to install tar.gz files bucovaina78 Linux - Newbie 12 11-12-2004 04:57 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration