After installing for the first time, where the ISO image could be out of date, one should update all packages in the system. After the initial update of all packages after installation, it can be a good idea to reboot the computer to make sure everything works before further customization.
The package manager
yum can be used to update all packages on the system. The argument
-y will answer "
y" for "
yes" for any questions asked during the update. If this is not desired, do not use
-y.
The following Linux command(s) to use yum to update all packages in the system.
sudo yum -y update
Note: This command can take a while, so take a break or do something else while it is running, but you may be asked to (usually) type "
y" and press "
Enter" many times, or "
n" if you know what you are doing and do not want that action taken. To avoid this, you can use the
-y argument (see above).
Note: If you used
visudo correctly, you should not be asked for your password for this and any other
sudo command.
Note that the following command upgrades (and in some cases removes) obsolete packages. This may or may not be desirable.
The following Linux command(s) to upgrade packages on the system.
sudo yum -y upgrade