LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-23-2004, 02:52 AM   #1
jasontn
Member
 
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?

TIA.

Last edited by jasontn; 02-23-2004 at 04:28 AM.
 
Old 02-23-2004, 04:54 AM   #2
Nic-MDKman
Member
 
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.


Quote:
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 04:56 AM.
 
Old 02-23-2004, 04:55 AM   #3
jax8
Member
 
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.

-JAX
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 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
Open Source Consulting | Domain Registration