Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46


yum (Yellowdog Updater Modifier) is an RPM package management tool for Linux® servers. yum automatically installs when you install your operating system. 


  • When you install cPanel & WHM, you must only use vendor-provided repositories.
  • Third-party repositories, like RPMforge, may replace vital parts of the system and cause unexpected results.

yum excludes

Because cPanel & WHM handles its own installation of services through the rpm.versions system, you will need to exclude a number of packages before you install cPanel & WHM.

To exclude these packages, perform the following steps:

  1. As the root user, use your preferred text editor to open the /etc/yum.conf file.

  2. Locate the line that begins with exclude= and confirm that it contains the following entries:

    bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* 
    mysql* nsd* php* proftpd* pure-ftpd* *ruby spamassassin* squirrelmail* 

    If you do not find the line that begins with exclude=, add it to the file under the [main] line.


    In this document, this code appears as two lines for formatting purposes. In your /etc/yum.conf file, make certain that you enter it as one line of code.

  3. Save and close the file. You may then use your preferred method to install yum on your server.

Remove yum groups

Before you install cPanel & WHM, make sure that the following yum groups are not installed on your server:

  • FTP Server
  • GNOME Desktop Environment
  • KDE (K Desktop Environment)
  • Mail Server or E-mail Server
  • Mono
  • Web Server
  • X Window System

To obtain a list of yum groups, run the yum grouplist command. To remove a yum group, run the yum groupremove command.

For example, if you wish to remove the Mono and Mail Server groups, run the following command:

yum groupremove "Mono" "Mail Server"


To remove multiple yum groups, use quotation marks (" ") around each group that you wish to remove.