If you want to quickly learn how to install, remove or update software packages on Fedora or CentOS, here is the short and sweet guide. To use yum you will require an Internet connection and the root password of your system.
Yum stands for Yellow dog Updater, Modified. Yum is currently maintained as part of Duke University's Linux@DUKE project. Using yum you can easily install, remove or update the software packages on your RPM based system. Fedora, CentOS and many other GNU/Linux distributions are based on RPM.
Yum is a command line utility. You will need to open the terminal and become root to use yum. On Fedora 8, click Applications on the gnone-panel, select System Tools and click on Terminal from the drop down menu. On the terminal, ie command line, type
su - Type the root password
If you see the # symbol on the command line you are ready to go.
Updating all software packages
The first thing I do after installing Fedora is update the system. Free and open source software projects are updated rapidly. To keep your system current you have to update packages installed on your computer from time to time. Fedora maintains many software repositories and their mirrors. Whenever software packages are developed or updated, they would be stored on these repositories. When you update your system using yum, you download the latest packages from these repositories and install them on your computer. To perform a full update of your system type the below command in the terminal:
Yes, it's just a two word command. Isn't it easy to remember? After you type yum update and hit enter in the terminal, yum checks how many packages needs to be updated. Once it gathers the required information, it displays the name, architecture, version and size of the package. Yum also tells you the name of the repository in which the updates are available. It also gives you the transaction summary and the total download size. After promptly displaying all the above information, yum asks for your approval. If everything is ok, you type y and hit enter. Yum updates all the packages on your computer.