How to Update CentOS, AlmaLinux, Rocky Linux, Ubuntu and Debian Systems

Important: When running any updates, do not interrupt the process as it can cause your VPS to break.

On CentOS

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

yum update

To reboot the system,

reboot

On AlmaLinux or Rocky Linux

The distribution is similar to CentOS and the yum package manager will work, but you can use the following command to update the system:

dnf update

Reboot the system using the below command,

reboot

On Ubuntu or Debian

Update the list of packages which can be updated:

apt-get update

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

apt-get dist-upgrade

To reboot the system,

reboot

CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS