LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing programms for every user (https://www.linuxquestions.org/questions/linux-newbie-8/installing-programms-for-every-user-359318/)

supersucker 09-01-2005 07:38 PM

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.....

bosewicht 09-01-2005 07:40 PM

that will install it for all users

supersucker 09-01-2005 09:11 PM

ok,

thx for the fast reply.....

but how do i do that with rpms?

bosewicht 09-01-2005 09:17 PM

rpm --help
or
man rpm

otoomet 09-02-2005 09:31 AM

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


All times are GMT -5. The time now is 03:56 AM.