LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2005, 05:08 AM   #1
kamasake
LQ Newbie
 
Registered: May 2005
Location: Turkey
Posts: 1

Rep: Reputation: 0
Unhappy How can I install a .tar file in Linux?


I am a new user on Linux..Ưn windows I always use winrar but in Linux I dont know what can I do!...
For example...
BurnIT-1.0.6.tar..How can I use this tar file? or how can I install a file in linux..
Who can help me? Please step by step....
Thanks..
 
Old 05-22-2005, 05:49 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
You don't install a tar file. You untar it first
If this is just tar not tar.gz or tar.bz2 try something like:

tar -xvf <tar_file>
 
Old 05-22-2005, 06:01 AM   #3
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,485

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Here is a link that will give you a big picture of how to install software from tar files.

http://justlinux.com/nhf/Software/Co..._Software.html

Hope this helps.
 
Old 05-22-2005, 07:13 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
I added a three obvious steps to the link's list. ( And one less obvious )
1. tar xvzf foo.tar.gz
2. cd foo
2b. less README
2c. less INSTALL
3a. ./configure --help
( for some installs displays options )
3b. ./configure
4. make
5. su
<password>
5. make install

The requirements and some options that you may want should be mentioned.
For some installations, you can also check for options with
./configure --help

For some like "par2" there is a "make test" step that can test whether the binaries and libraries work properly.
For best results, start off as a normal user. I have a directory in my home directory called 'downloads' where I download, extract and compile tarballs. The "su" command is needed before the make install command. For some installations, using "su -" will cause problems because a tool isn't in the root's path. That's why I recommended starting out as a normal user. If there is a DOC or doc directory, check for "*.texi" files.
These are the source files for texinfo. You can produce nice looking documents for printing by cd'ing into this directory and running: tex foo.texi
You might need to run this command more than once to set up the index.

Last edited by jschiwal; 05-22-2005 at 07:15 AM.
 
  


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 02:48 AM
tar.gz file did not include install file |Spec-ops Linux - Newbie 12 11-17-2005 08:25 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
how to install sound and modem driver in tar.gz file extension in linux 7.3 nomi Linux - General 2 09-17-2003 01:24 PM
Install a tar file thesoccerking Linux - Newbie 1 05-20-2002 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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