PDA

View Full Version : [ubuntu] [SOLVED] Root to install



getitright
October 7th, 2008, 08:24 AM
When attempting to manually install updates to an application I get the message:

"You must be root to install updates."

Is this normal? And can it be bypassed?

NeoTaoistTechnoPagan
October 7th, 2008, 08:30 AM
That's inherent to any Linux distro, you need to be the root user to perform system-wide tasks.

The simple way around this is to use the "sudo" command (super-user-do)

I would assume that you were trying to use
apt-get upgrade foo

try it with
sudo apt-get upgrade foo

it will ask for a password, just enter the pass for your user

Perfect Storm
October 7th, 2008, 08:31 AM
You don't tell how and with what.

If it via commandline you have to use sudo

eg;

sudo apt-get update

NeoTaoistTechnoPagan
October 7th, 2008, 08:38 AM
You don't tell how and with what.



He did say 'manually install update' - so that would mean CLI.

Dacker
October 7th, 2008, 08:40 AM
yes, sudo will meet your needs because of its availability to access temporarily as a root account and after that will ask for the passwd of your account so this password will be on for 15 minute...
the best place to know more is

man sudo

Perfect Storm
October 7th, 2008, 09:11 AM
He did say 'manually install update' - so that would mean CLI.

No he said "manually install updates to an application", which can be many things.