How to Update cPanel and WHM Using the Command Line

January 7, 2023 / How-to Guide

In this guide, we have explained how to update the cPanel and WHM using the command line. It is very easy to update cPanel and WHM using SSH. Let us find out in this article.

Steps to be followed:

  1. Log in to SSH.
  2. To update cPanel and WHM, execute the following command as the root user:
    /usr/local/cpanel/scripts/upcp 
  3. The above script grips updates on your cPanel and WHM system.
  4. To update the majority of the software on your system, this script also calls several other scripts located in the /usr/local/cpanel/scripts directory.
  5. The following scripts are also run by the /usr/local/cpanel/scripts/upcp script:
    1. Updates system software:
      /usr/local/cpanel/scripts/rpmup
    2. Updates operating system (OS) software modules:
      /usr/local/cpanel/scripts/sysup 

In this manner, you can update cPanel and WHM from the command line interface. Wasn’t it simple?

Hope you enjoyed reading it and that it was helpful.

Spread the love