LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing apps for all users (https://www.linuxquestions.org/questions/linux-newbie-8/installing-apps-for-all-users-328812/)

cerebellum 05-31-2005 05:23 AM

installing apps for all users
 
greetings,

how do i install applications that all users can use?
e.g. openoffice or firefox?

i tried installing once, but it seems that only the user that installs the application can use it.

please advice.
thanks

naimslim89 05-31-2005 05:31 AM

Try installing as root; it should install system-wide

cerebellum 05-31-2005 05:34 AM

i am using mandrake 10.1 now and i dont see the root option at the login page.. only my username..
how do i enable the root login? is it a bad practice that they disable the root login via the xwindow?
or should i just use su - at the command terminal?

naimslim89 05-31-2005 05:38 AM

It's advised that you should just use su -. Logging into a GUI as root is dangerous as it is easy to make mistakes, so it is often disabled at the Xwindow login.

RPMs can only be installed as root, and it'd be a pain having to log in and out just to install packages. Use su to gain root access inside the terminal; all subsequent commands in the terminal are considered as if you are root until you type exit.

cerebellum 05-31-2005 05:51 AM

affirmative.. will try that.
thanks.. ^_^

cerebellum 05-31-2005 10:02 AM

umm.. when i want to install OpenOffice.org, the path for the installation is /root/OpenOffice.org1.1.4
can other users use the apps?

naimslim89 05-31-2005 10:05 AM

No, that can't be right -- how are you trying to install it? RPM? Compiling from source?

cerebellum 05-31-2005 10:09 AM

RPM.. I´m just a newbie.. please guide.. :D

naimslim89 05-31-2005 10:45 AM

If the package is an RPM, simply open a terminal window:

$ su -
Password: Enter ROOT password
# rpm -ivh <package> where package is the package that you want to install.

This should install the package, for general use.

In Mandrake, you might want to try "rpmdrake" (as root, type in rpmdrake in a terminal and press enter). This is an easy to use software manager that does the hard work for you.

Matty-J 05-31-2005 02:50 PM

Another noob here :)

When you do:
# rpm -ivh <package>

how do you specify where the package gets installed? Like, if I wanted to make a new directory or something? Moving away from Windows is tough :)

Thanks,
Matt

P.S. How is using su in terminal safer than just logging in as root? I"m sure I could make more mistakes in terminal as su than i ever could loggin in as root and using the GUI.

reddazz 05-31-2005 04:05 PM

Quote:

Originally posted by Matty-J
Another noob here :)

When you do:
# rpm -ivh <package>

how do you specify where the package gets installed? Like, if I wanted to make a new directory or something? Moving away from Windows is tough :)

Thanks,
Matt

P.S. How is using su in terminal safer than just logging in as root? I"m sure I could make more mistakes in terminal as su than i ever could loggin in as root and using the GUI.

When you use rpm based distros you don't really have much choice about where to install rpms because they are binary packages that install their files into locations pre-determined by the person who created the rpm.


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