Quantcast

Yum

Apparently Linux is now cool. Discuss it here!

Moderators: [SCUM] FeRoL, [SCUM] OUTLAW

Yum

Postby [SCUM] McPhil » 05 Mar 2009, 00:08

Keep your system upto date using yum.

Open a shell. login as root. at the prompt type:

#yum update

watch the fun!
User avatar
[SCUM] McPhil
Super Admin
Super Admin
 
Posts: 2190
Joined: 06 Jul 2006, 18:33

Re: Yum

Postby [SCUM]-Herbs » 05 Mar 2009, 10:48

quick noob question. Whats the sudo command for? I though that was to use as root?
User avatar
[SCUM]-Herbs
Administrator
Administrator
 
Posts: 1167
Joined: 07 Jul 2006, 10:09
Location: Kent

Re: Yum

Postby [SCUM] Leroy » 05 Mar 2009, 13:27

Its used for commands which need Root privileges

https://help.ubuntu.com/community/RootSudo
User avatar
[SCUM] Leroy
Super Admin
Super Admin
 
Posts: 403
Joined: 06 Jul 2006, 22:27
Location: Up a tree

Re: Yum

Postby [SCUM] McPhil » 05 Mar 2009, 15:22

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.
User avatar
[SCUM] McPhil
Super Admin
Super Admin
 
Posts: 2190
Joined: 06 Jul 2006, 18:33


Return to Linux Related Stuff

cron