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 09-01-2005, 08: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, 08:40 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
that will install it for all users
 
Old 09-01-2005, 10: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, 10:17 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
rpm --help
or
man rpm
 
Old 09-02-2005, 10: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


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
removing programms Ayman.mashal Linux - Newbie 1 07-28-2005 11:50 AM
problem installing basic programms orisma Linux - Newbie 14 10-23-2004 12:39 PM
A wierd problem( Howto make programms work under normal user) k0ljat Linux - Software 2 09-01-2004 01:11 AM
programms needed..!!! maseby Red Hat 3 10-27-2003 04:38 PM
After Installing Driver Programms dont work fedivh Linux - Software 0 10-01-2003 05:06 PM


All times are GMT -5. The time now is 12:58 AM.

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