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 01-26-2005, 04:23 AM   #1
xennetwork
Member
 
Registered: Jan 2005
Location: Burney
Distribution: Kubuntu 7.1
Posts: 48

Rep: Reputation: 15
Compiling tar files


Whats the command in to compile a tar file?
 
Old 01-26-2005, 04:35 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Well, there is no single command. However, this is typically the sequence:
Code:
tar xvjf packagename-version.tar.bz2
cd packagename-version
./configure
make
make install
The first command might need to be tar xvzf packagename-version.tar.gz depending on how the tarball was compressed.

Also read the README and INSTALL files if present. They will provide instructions on how to compile the software. The steps I gave are generic. They'll work most of the time, but not 100% of the time.

Finally, the make install command will need to be executed as root so the install routine will have permission to copy files into system directories.
 
Old 01-26-2005, 04:45 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
I've written an article on software installation:
http://yves.gablin.club.fr/linux/ind...ftware/install

I hope this helps.

Yves.
 
  


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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
compiling files from .tar.gz ungua Linux - Software 6 12-04-2004 02:34 PM
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


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