LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-01-2005, 07:38 PM   #1
supersucker
Member
 
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79

Rep: Reputation: 15
installing programms for every user


hi everybody,

how do i install a programm for every user?

i usually work with the root-account (yeah, i know .....), and one user account.
if i want to install a programm for root and the single user account i type:

as user:

./configure
./make

and then as root:

./make install

so i can use the programm as root and as the normal user, right?

but what do i do if i have multiple user accounts and i want to install the programm for the other user too?
and what about rpms?

thx in advance.....
 
Old 09-01-2005, 07:40 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
that will install it for all users
 
Old 09-01-2005, 09:11 PM   #3
supersucker
Member
 
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79

Original Poster
Rep: Reputation: 15
ok,

thx for the fast reply.....

but how do i do that with rpms?
 
Old 09-01-2005, 09:17 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
rpm --help
or
man rpm
 
Old 09-02-2005, 09:31 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
configure-make-make install normally installs programs globally, i.e. in this way everyone can run them. If you want to install it only for yourself, use something like

./configure --prefix=$HOME
make
make install

Or play with permissions/ownership of the executables.

rpm-s are usually compiled for being used by everyone. Install them (as root)

rpm -i package.rpm

Best,
Ott
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
removing programms Ayman.mashal Linux - Newbie 1 07-28-2005 10:50 AM
problem installing basic programms orisma Linux - Newbie 14 10-23-2004 11:39 AM
A wierd problem( Howto make programms work under normal user) k0ljat Linux - Software 2 09-01-2004 12:11 AM
programms needed..!!! maseby Red Hat 3 10-27-2003 03:38 PM
After Installing Driver Programms dont work fedivh Linux - Software 0 10-01-2003 04:06 PM

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

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