Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-23-2004, 03:52 AM   #1
Registered: Feb 2004
Location: Malaysia
Distribution: Fedora Core 2
Posts: 60

Rep: Reputation: 15
Software installations basics - permissions

Who should be logged in when installing the various software - root or user?

- rpm
- compiling source
- apt
- shell scripted installation
- windows software under wine
- others that I'm not aware of?

Are the settings different when you want to make the app available for all users or only specific users? Must the installer be exclusively root only for the "all users" availability?

Are these rules hard and fast or do we need to always look at the README for this info?


Last edited by jasontn; 02-23-2004 at 05:28 AM.
Old 02-23-2004, 05:54 AM   #2
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
I install everything as root, unless it is software that I am not sure of (i.e. alpha or beta software, especially those that make network connections). If you install as a user, then other users cannot use whatever you are installing unless you change the permissions. I prefer to install as root, so all users can access the programs. If I only want certain users to be able to access a certain program, I just make a group for those users and set the permissions for the program accordingly.

I am not sure if installing as root is the best procedure, but it is almost necessary for RPM install and compiling/installing from sources.

Must the installer be exclusively root only for the "all users" availability?
No. You can set the permissions of the files/directories to allow access to whoever you wish.

Last edited by Nic-MDKman; 02-23-2004 at 05:56 AM.
Old 02-23-2004, 05:55 AM   #3
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
I would presume that unless you are installing a program into your home folder you would have to be root, it does not matter if it is a rpm, source code etc, it just depends on your permissions and where you are allowd to write files.

to use application such as apt you also may need to give your user execute permissions on the apt binary.



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
Software Installations,GPG key jared78 Linux - Software 1 06-14-2005 04:38 AM
destination dir for software installations rooster78383 Linux - Newbie 1 01-02-2005 08:34 AM
Basics of installing software for a NooB NoBonus Mandriva 4 06-25-2004 09:14 PM
Software Installations??? jayrule57 Linux - Newbie 8 07-19-2003 02:21 PM
Software installations sleekit Linux - Newbie 3 12-15-2001 10:56 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration