Ask Your Question

Revision history [back]

You don't need to be in the root directory to use yum, you need to be the root user. This is similar to 'Administrator' in some commercial operating systems.

From that command line use:

su -

and when prompted type the root password you assigned to your system. You can then use the yum command. As this is new to you, before you add any new software, you might want to just take the maintenance step of updating the packages already installed. Use this first:

yum update

and follow prompts. If the kernel gets updated, reboot.

click to hide/show revision 2
No.2 Revision

You don't need to be in the root directory to use yum, you need to be the root user. This is similar to 'Administrator' in some commercial operating systems.

From that command line use:

su -

and when prompted type the root password you assigned to your system. You can then use the yum command. As this is new to you, before you add any new software, you might want to just take the maintenance step of updating the packages already installed. Use this first:

yum update

and follow prompts. If the kernel gets updated, log out of root using:

exit

and then reboot.

As an alternative, try:

su -c 'yum update' and give your root password. After update, restart if there is a kernel update.