> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

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

:::warning

When running any updates, do not interrupt the process. Doing so can cause your VPS to become unstable or unusable.

:::

## On CentOS

Update the system, then restart it to apply the changes:

```bash
yum update
```

Reboot the system:

```bash
reboot
```

## On AlmaLinux or Rocky Linux

These distributions are similar to CentOS, and the `yum` package manager still works, but you can use the following command to update the system:

```bash
dnf update
```

Reboot the system:

```bash
reboot
```

## On Ubuntu or Debian

Update the list of packages that can be updated:

```bash
apt-get update
```

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

```bash
apt-get dist-upgrade
```

Reboot the system:

```bash
reboot
```
