Install ClamAV from cPanel via Command line

/scripts/update_local_rpm_versions --edit target_settings.clamav installed
/scripts/check_cpanel_pkgs --fix --targets=clamav

These commands will install ClamAV email antivirus integrated with cPanel. You must execute these commands as root.

EDIT, Aug 28 2024: the binary check_cpanel_rpms now changeg to check_cpanel_pkgs starting from cPanel version 102 and up.

Leave a Reply