How to Update CentOS 7, Ubuntu 16.04, and Debian 8

  • Last Created On Dec 09, 2024
  • 8
0 0

When setting up a new Linux server, updating the system’s Kernel and other packages to the latest stable release is a recommended practice.

In this article, we will learn how to update CentOS 7, Ubuntu 16.04 LTS or Debian 8.

Prerequisites

  • A fresh CentOS 7, Ubuntu 16.04, or Debian 8 server instance.
  • sudo user.

On CentOS 7:

Setup the EPEL YUM repo:

sudo yum install epel-release -y

Perform the system update and then apply system modifications by restarting the system:

sudo yum update -y && sudo shutdown -r now

On Ubuntu 16.04 or Debian 8:

Update the list of packages which can be updated:

sudo apt-get update -y

Then install updates and then apply them by restarting the system:

sudo apt-get upgrade -y && sudo shutdown -r now

That’s it. After the reboot, log in as the same sudo user to continue your work.

Views: 8

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    83
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2632
  • Our Privacy Policy
    2478
  • Our Cookies Policy
    275
  • Our Terms of Use
    153
  • How to Install JAX with ROCm Acceleratio...
    96