LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-31-2005, 05:23 AM   #1
cerebellum
LQ Newbie
 
Registered: Jun 2004
Location: Kuala Lumpur
Distribution: Redhat, Mandrake
Posts: 21

Rep: Reputation: 15
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
 
Old 05-31-2005, 05:31 AM   #2
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
Try installing as root; it should install system-wide
 
Old 05-31-2005, 05:34 AM   #3
cerebellum
LQ Newbie
 
Registered: Jun 2004
Location: Kuala Lumpur
Distribution: Redhat, Mandrake
Posts: 21

Original Poster
Rep: Reputation: 15
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?
 
Old 05-31-2005, 05:38 AM   #4
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
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.
 
Old 05-31-2005, 05:51 AM   #5
cerebellum
LQ Newbie
 
Registered: Jun 2004
Location: Kuala Lumpur
Distribution: Redhat, Mandrake
Posts: 21

Original Poster
Rep: Reputation: 15
affirmative.. will try that.
thanks.. ^_^
 
Old 05-31-2005, 10:02 AM   #6
cerebellum
LQ Newbie
 
Registered: Jun 2004
Location: Kuala Lumpur
Distribution: Redhat, Mandrake
Posts: 21

Original Poster
Rep: Reputation: 15
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?
 
Old 05-31-2005, 10:05 AM   #7
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
No, that can't be right -- how are you trying to install it? RPM? Compiling from source?
 
Old 05-31-2005, 10:09 AM   #8
cerebellum
LQ Newbie
 
Registered: Jun 2004
Location: Kuala Lumpur
Distribution: Redhat, Mandrake
Posts: 21

Original Poster
Rep: Reputation: 15
RPM.. Im just a newbie.. please guide..
 
Old 05-31-2005, 10:45 AM   #9
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
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.
 
Old 05-31-2005, 02:50 PM   #10
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
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.
 
Old 05-31-2005, 04:05 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
  


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
how/where to install apps for all users slug420 Linux - Newbie 4 01-17-2005 03:47 PM
Help With Installing Apps ginda Linux - Newbie 1 04-09-2004 11:14 AM
Running apps as alternate users otisthegbs Linux - Software 1 11-25-2003 03:12 AM
Making apps available for other users. Dead_Goon Slackware 2 03-08-2003 12:18 PM
installing apps xRAGEx Linux - General 2 01-11-2002 03:53 PM


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