Is there any reason to install software as root as opposed to sudo installing software as a sudoer?

Posted by Tchalvak on Server Fault See other posts from Server Fault or by Tchalvak
Published on 2010-03-12T18:35:59Z Indexed on 2010/03/12 18:37 UTC
Read the original article Hit count: 387

I'm setting up a new server running Ubuntu Server Edition, and I'm not certain what the difference would be between installing most of the basic software as root, vs installing the basic software as an admin user using sudo apt-get install .

For one thing, I'm not sure whether after installing the software as root, I'll need sudo access when running the software as a user (e.g. if I install git as root). On the other hand, if I install software as a user, I could conceive of it not being available to other users that I create in the future.

What's the best practice here?

© Server Fault or respective owner

Related posts about ubuntu-server

Related posts about debian