LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-01-2005, 09:04 AM   #1
TruthSeeker
LQ Newbie
 
Registered: Oct 2005
Location: Cartaxo, Portugal
Distribution: Red Hat Enterprise 4 Mostly
Posts: 25

Rep: Reputation: 15
How to install .tar files


how do u install .tar files content? - i know how to aunzip it (tar -xzf file.tar.gz) but how do u know which files goes where in the system folders?

ok here's the specific, -
i've installed amsn for testing and it requires a 'tls' package, the amsn application asks for arch and then automatically downloads this - http://osdn.dl.sourceforge.net/sourc...nux-x86.tar.gz .

I've unpacked it and it has a folder tls1.4 with 3 files in it, libtls1.4.so, pkgIndex.tcl and tls.tcl . where do this files go? do their extensions give them specific folders? or the the entire 3 file folder must go somewhere?
 
Old 11-01-2005, 09:31 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
.tar is just an extension meaning that it was a socalled 'tarball', a wrap of files. It doesn't define what you should do with them. e.g. I could tar up my whole home directory as one file to store it somewhere, in a file home.tar and then gzip it to take less space (tar doesn't compress) in a file home.tar.gz

But, as I said theyre just packaging methods, so the internals can vary alot. Most likely you downloaded the source code package, so the internals are files that are needed for a compile of the software. Source packages usually have a file called README that tells you what the package is and what to do with it (sometimes also install instructions) and sometimes also a file called INSTALL that gives details on how to exactly install the software. _READ_ those, and youll know all you need to know.. (:

e.g.
Code:
less /home/user/unpackaged-software/README
Also, googling around will give you lots more info, but this is the gist of it. Using search here at LQ can also give you good results, I strongly recomend using it as this has probably been asked several hundred times already (;

edit: the tls package seems a bit scarse for a typical package, so im guessing its just some addon. The amsn site will probably tell you more on what to actually do with that specific package. There also might be rpm versions available for you distribution, searching for those might save you the hassle..

Last edited by Artanicus; 11-01-2005 at 09:33 AM.
 
Old 11-01-2005, 09:48 AM   #3
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
That is a basic. just learn these commands:

tar xvjpf tarball_name - you know that
then you have to cd into the extracted dir and then type
./configure - this will conf your prog
make - this will compile your prog
Then type su and roots password, or login as root and in that dir run
make install - this will install the package

I use gentoo, in which all you have to do is type emerge packet_name to install a prog.
 
Old 11-01-2005, 09:54 AM   #4
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
When you uncompressed a .tar file, a directory is created with the same name as the .tar file. change directory in this one. Make a list directory content (ls). You should see a file called README.

This file gives you further information on how to finish the installation of the program.

I hope the informations are helpful.
 
Old 11-01-2005, 11:37 AM   #5
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
You say your using fedora core, you might want to use Fedora's package management system. Basically, it will be easier to install programs, and will be quicker (because you don't have to build it yourself, i.e. compiling). I don't use fedora, but I'm guessing it also organises what packages are installed, like add/remove programs in the Windows control center.

Have a look here http://www.fedorafaq.org/#getsoftware. Hopefully that helps.
 
  


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 to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
cannot install .tar files sharadgana Linux - Newbie 2 12-02-2004 12:51 PM
how to install tar.gz files bucovaina78 Linux - Newbie 12 11-12-2004 05:57 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM

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

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