LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 06-13-2007, 06:25 AM   #1
smcsw2000
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Installing any .tar .bz2 or .deb


New to linux and think I am following directions, but here is the problem. New computer with archlinux. Not root authorized, the computer shop put me as secondary root authorized. 1. do I need to put the files in a certain directory first or try to untar them into a directory or will the tar do this? 2. similarly do I need to be in a certain directory to ./config ? Maybe I am skipping steps.
 
Old 06-13-2007, 06:47 AM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 950

Rep: Reputation: 30
you need root access to install or make any system wide changes, i don't know what this computer shop thinks that there is some sort of secondary root (personally i think the computer shop guy is full of bull-oni) either you got root/admin or you don't...

get the root password, then if you have some sourcecode unpack the tar.gz or tar.bz2 package and cd (change directory) in to the folder with the sourcecode and to compile the source in to a usable package there are three basic commands to do this:

./configure --help (look for any information that can help you)
./configure --prefix=/usr (or any other parameters that --help shows)
make
make install

always read the README and INSTALL files in the sourcecode files and any other documents the author put in it...

but that is basically it for installing sourcecode:

./configure
make
make install

sometimes but not often you will find one that uses imake and to that one you run xmkmf to build a make file before running make, and other times there will be no ./configure and you have to check the Makefile and adjust any parameters manually with a text editor before running make, usually there is not much to do like change the install prefix from /usr/local to /usr
 
Old 06-13-2007, 06:52 AM   #3
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 950

Rep: Reputation: 30
one more thing, don't bother with a .deb package on Arch Linux, check with Arch's home page for any pre-compiled packages, and once you get good at building sourcecode you will find that www.freshmeat.net and www.sourceforge.net are good places to browse for sourcecode packages. be carefull where you download sourcecode from because now that Linux is gaining in userbase and popularity i would not doubt that there could possibly be malware made for Linux hidden in some packages at some untrusted websites...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with installing *.tar.bz2 files YberDo Linux - Software 22 05-08-2007 04:46 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
installing tar.bz2 files M O L8ingN2dust Mandriva 2 03-26-2005 03:46 AM
installing MPlayer-0.92.tar.bz2 zexter Linux - Software 4 11-18-2003 08:23 AM
installing a tar.bz2 zexter Linux - Software 3 11-02-2003 12:39 PM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration