Pawan Bahuguna

Let's Learn and Share
Menu
  • Home
  • Certification Guide
  • Tips
  • Disclaimer
  • Privacy
  • Contact

Home
Linux
[Linux Basic Tutorial] How to Update Linux Server using YUM
Linux

[Linux Basic Tutorial] How to Update Linux Server using YUM

Pawan Bahuguna

Keeping your Linux/Unix server updated is a very crucial task as a system administrator. Not only it mitigates many vulnerabilities, but also help in smooth running of the Linux server. In this basic Linux tutorial, we will see how to update your Linux server using ‘yum’ command. This will also include updating your Linux kernel and firmware.

 

How to Update Linux Server using YUM

 

How To Update Linux Server Using YUM

 

To update your Linux machine, please make sure you have the proper yum repository configured on your system. You can configure repository in multiple ways which include, local yum repository through CD ROM, default Red Hat or CentOS repository (for this you require internet access), or completely downloading packages and creating repository out of it.

For this tutorial, I have used default yum repository of CentOS as my virtual Linux machine is connected to the internet.

First of all, check if your repository is working fine or not using the below command.

yum repolist

Once you are sure yum repository is working fine, you can run the ‘yum update’ command. But, before that, I will urge you to do some pre-reboot sanity check and keep the output of important files and commands, like ‘uname -a’, /etc/fstab, ‘df -h’, ‘fdisk -l’, etc. This will help you to verify your system after taking reboot.

yum update
or
yum update -y

 

Basically, ‘yum update‘ is done in 4 steps, which are listed below.

  • Downloading the packages.
  • Installing and upgrading the packages.
  • Cleanup.
  • Verification.

 

Now, let’s see the video, how to update your RHEL/CentOS Linux machine using yum.

 

SUBSCRIBE NOW

 

Hope you like this video tutorial and if you have any query or concern, please let me know through your comments. If you want to see more such videos in future, please subscribe to my YouTube channel. Also, share this article and video on your social media pages or website.

Share
Pinterest
Linkedin
Tweet
Google+
Stumble
Email
Prev Article
Next Article

Related Articles

Remove Old Unused Kernels
Keeping your Linux system clean could be a tedious and …

Best Way to Remove Old Unused Kernels – CentOS / Red Hat Linux

Red Hat Enterprise Linux 8
If you are a Linux system administrator or Linux enthusiast, …

Red Hat Enterprise Linux 8 Available for Download

Tags:CentOS Fun With Linux How To Linux Linux Basics Redhat RHCE RHCSA RHEL

Certifications at Discount

> Certified Kubernetes Security Specialist (CKS)
> Certified Kubernetes Application Developer (CKAD)!
> Certified Kubernetes Administrator (CKA)!
> Linux Networking and Administration (LFS211)
> Monitoring Systems and Services with Prometheus (LFS241)
> More at The Linux Foundation

Lets Connect

  • Popular
  • Recent

Free Newsletter

Subscribe NOW!

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.

Pawan Bahuguna

Let's Learn and Share
Copyright © 2025 Pawan Bahuguna
Home | Privacy Policy | Disclaimer | Contact