LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2005, 12:44 PM   #1
qgroff
LQ Newbie
 
Registered: Jun 2005
Location: Austin, TX
Posts: 1

Rep: Reputation: 0
installing from source without root


Basic question: can it be done? I would think that one could install a program to a local user area without having root permissions, but the lack of information on how to do so leads me to believe otherwise.

My major problem is being stuck at work with RH9 and no way to either a) install mp3 playability or b) install a program that will convert mp3 to ogg, so if you've got answers to those without needing to install things, I'm all ears.

Thanks!
 
Old 06-16-2005, 01:01 PM   #2
nitr8
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 4
Posts: 29

Rep: Reputation: 15
I believe it is possible to do so.
I have done it with amsn on an account with no root permissions.
As long as it's done in a folder where you have read/write permissions then it should be ok.
If you want to listen to mp3s then try compiling xmms from source into your home folder and then do the same with the mp3 plugin for it.
 
Old 06-16-2005, 01:13 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Yes, you can install without root priviledges. As nitr8 said, you only need to have write permissions in the directory you wish to install to. My standard is /home/username/local_install. To do so:

Code:
./configure --prefix=/home/username/local_install
make
make install
After the make install, you'll probably have the traditional subdirectories: bin, man, lib, etc. depending on what files the program installs. Then you can add /home/username/local_install/bin to your path. Done.

Depending on which program you're installing (they are all different), it may want to put files elsewhere. You'll have to hack at the Makefile to get it to work the way you need. I would argue those programs are either A) have a poorly written Makefile or B) are system utilities (like cron) that don't necessarily make sense to install under a user account.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Kernel Source Files and Root Account opitica Linux - Newbie 2 02-23-2005 04:34 AM
n00b question re: install from source as root Ricochet Linux - Newbie 4 01-11-2005 07:38 PM
cannot install opera from source as root timsch75 Linux - Software 2 07-12-2004 11:42 PM
Installing source Abe_the_Man Slackware 2 10-12-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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