- A Cloud Guru
Updating Different Linux Distribution Types
Understanding how to update packages and entire systems running a variety of Linux distributions is a key concept in managing a heterogeneous environment. After completing this activity, the student will have an understanding of how to use the appropriate package management systems for different distributions to update packages and systems in order to obtain functional and security updates for each.
Table of Contents
Update the Yum Package Manager on the CentOS 7 Server
The Yum Package Manager can upgrade itself! First, check the current version on your system with:
Like any other package you can use yum to upgrade just a single package (and its dependencies) with the command:
yum update yum
You can verify by rerunning:
To see it is now running the updated version!
Update the 'VM Tools' on the Ubuntu Virtual Machine
The Ubuntu system apparently has a lot of libraries and links customized, but needs the latest 'open-vm-tools' package upgraded.
You can update JUST the package (and required packages/dependencies) with the command:
apt-get install --only-upgrade open-vm-tools
This will leave any other packages, even if they need upgrading, alone on the system and on their currently installed version.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.