Yum
Moderators: [SCUM] FeRoL, [SCUM] OUTLAW
4 posts • Page 1 of 1
Yum
Keep your system upto date using yum.
Open a shell. login as root. at the prompt type:
#yum update
watch the fun!
Open a shell. login as root. at the prompt type:
#yum update
watch the fun!
-

[SCUM] McPhil - Super Admin

- Posts: 2190
- Joined: 06 Jul 2006, 18:33
Re: Yum
quick noob question. Whats the sudo command for? I though that was to use as root?
-

[SCUM]-Herbs - Administrator

- Posts: 1167
- Joined: 07 Jul 2006, 10:09
- Location: Kent
Re: Yum
I don't use sudo ever. In Ubuntu, I believe sudo is to switch between the root user and a different group user, but I could be wrong. In CentOS you can just type su to get this done.
Most commands don't need to run in root. you can run most commands as your primary user. You can't remove, delete or edit files logged in as a non-root user (unless the file is owned by the specific user), but if logged in as root, you can make catastrophic changes to your files and kernel.
The point of this thread was to introduce you to the concept of Yum. Yum can globally update your OS. There is a file that exists somewhere (yum-something.conf file I believe). If something isn't updating that you need to update via yum, you can edit the file and uncomment whatever it is that you need to allow yum to update.
Most commands don't need to run in root. you can run most commands as your primary user. You can't remove, delete or edit files logged in as a non-root user (unless the file is owned by the specific user), but if logged in as root, you can make catastrophic changes to your files and kernel.
The point of this thread was to introduce you to the concept of Yum. Yum can globally update your OS. There is a file that exists somewhere (yum-something.conf file I believe). If something isn't updating that you need to update via yum, you can edit the file and uncomment whatever it is that you need to allow yum to update.
-

[SCUM] McPhil - Super Admin

- Posts: 2190
- Joined: 06 Jul 2006, 18:33
4 posts • Page 1 of 1
