Cart Control panel
Article overview

Help article

How can I keep my DirectAdmin installation up-to-date?

Your CentOS and DirectAdmin installation can only be updated separately from each other.

  • We recommend to always create a snapshot before you update your VPS and software.
  • Execute each command as a root-user, or user with sudo rights.

Updating CentOS


Step 1

Connect to your DirectAdmin VPS using SSH or your VPS console.


Step 2

To check available updates of software on your CentOS VPS, use the command:

yum check-update

This command verifies if new updates are available.


Step 3

To install available updates type:

yum update

Confirm the action with 'y' and CentOS will download and install the available updates.

Please note that the first step is optional. Using yum update you'll install all pending updates, regardless of whether you checked them in advance or not.

Updating DirectAdmin


Step 1

Connect to your DirectAdmin VPS using SSH or your VPS console.


Step 2

Updating DirectAdmin should be done through the custombuild script.

cd /usr/local/directadmin/custombuild 
./build update


Step 3

You can check which updates are available using the command:

./build versions

This command gives an overview of all the currently installed versions and possible updates.


Step 4

Install all pending updates using the command:

./build update_versions

The custombuild command is a process that will compile and install updates. The update process can take some time.


This concludes this article. For more information about updating DirectAdmin / software on your DirectAdmin VPS, take a look at our DirectAdmin tutorial series.

Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach us via the ‘Contact Us’ button at the bottom of this page.

If you want to discuss this article with other users, please leave a message under 'Comments'.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.


Create an account or log in to be able to leave a comment.

Matthijs van Beek Admin January 6, 2020 (#3954)


That's really cool! :) I believe the url has changed though, so for convenience here's the updated URL to your page:

nourieh December 22, 2019 (#3904)

We translated this post to for who wants to read it in Persian/Farsi. Link: ما این پست را به فارسی ترجمه کرده ایم.

Are you stuck?

Ask one of our specialists to assist you

Contact us