> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing server updates

> One of the most important things you can do to maintain a more secure server is to regularly apply updates. Learn how with our step-by-step guide.

This article describes how to install updates on an unmanaged server. Maintaining an up-to-date server with the latest patches and fixes is one of the most important things you can do to make your server more secure.

Follow the appropriate procedures below for your server's operating system.

<Warning>
  **Important**

  You must have root access to the server to follow the procedures described below.

  📘 Note

  Information in this article about unmanaged dedicated servers is only for customers who purchased those plans before May 27, 2024. As of that date, unmanaged dedicated servers are no longer available.
</Warning>

## AlmaLinux and Fedora

To download and install the latest updates immediately, type the following command as the root user:

```bash theme={null}
yum update
```

The previous command runs in interactive mode, which means you are asked at certain points during the update process whether or not you want to continue. To install updates without any user intervention, type the following command instead:

```bash theme={null}
yum -y update
```

<Tip>
  You can add this command to a cron job to automatically update your server at specific intervals.
</Tip>

## Debian and Ubuntu

To search the repositories for updates and then install them immediately, type the following command as the root user:

```bash theme={null}
apt-get update && apt-get upgrade
```

The previous command runs in interactive mode, which means you are asked at certain points during the update process whether or not you want to continue. To install updates without any user intervention, type the following command instead:

```bash theme={null}
apt-get -y update && apt-get -y upgrade
```

<Tip>
  You can add this command to a cron job to automatically update your server at specific intervals.
</Tip>

## Other Linux distributions

For other Linux distributions, consult its documentation for the steps to install updates.
