You can view the documentation below, or browse our GitHub Repository, where you can contribute to user manual and FAQ.
For instructions on how to install ClamAV from source, take a look at our User Manual.
Installing your distribution’s packages is the easiest route. It will make also upgrades easier.
Some distributions parcel up ClamAV components into separate packages. You don’t necessarily need all of the packages. If you wish to install the bare minimum, then read the ClamAV Overview carefully to understand which ones you will need.
apt-get update apt-get install clamav
yum install -y epel-release yum install -y clamav
On Community Enterprise Operating System (CentOS) the ClamAV package requires the Extra Packages for Enterprise Linux (EPEL) repository.
On RedHat Enterprise Linux (RHEL) the EPEL release package has to be installed either manually or through RHN.
yum install -y clamav clamav-update
urpmi clamav clamd
See package entry on Portage.
zypper install -y clamav
Althought all these systems offer the possibility to use ports or pkgsrc, you can install the pre-built package:
pkg install clamav
pkgin install clamav
OpenCSW is a community software project for Solaris 8+ on both Sparc and x86. It packages more than 2000 popular open source titles and they can all easily be installed with dependency handling via pkgutil which is modeled after Debian’s apt-get.
pkgutil -i clamav
More info on OpenCSW
Martijn Dekker provides packages there that provide complete and semi-automatic integration with ClamAV’s stock Sendmail package.
Various Installation Guides for macOS can be found on the Internet, two that we have seen are:
Download the package, and as root, install it like so (substituting the appropriate filename):
To activate Sendmail integration, after installing the package, copy the
/usr/share/sendmail/sendmail-slackware-clamav.cf file into
cp /usr/share/sendmail/sendmail-slackware-clamav.cf /etc/mail/sendmail.cf
Then start ClamAV and restart Sendmail:
/etc/rc.d/rc.clamav start /etc/rc.d/rc.sendmail restart
You may wish to build your own package if I haven’t uploaded one with the most recent version yet, if you use a pre-11.0 Slackware version (at the time of this writing, I build on 11.0, 12.0 and 12.1, and my binaries may not work on earlier versions), if you don’t trust third-party binaries, or simply because you’re a complete geek ;-) . You can download my easy-to-use Slackbuild script, from which the fully-integrated ClamAV packages at Linuxpackages.net are generated.
This script can be used to build a ClamAV package for Slackware 10.0 or higher with Sendmail installed (as Sendmail milter support was introduced as of 10.0). To choose a version of ClamAV to build, you can
cd to the script’s directory and invoke the script like so:
…substituting, of course, the appropriate ClamAV version for
1.23.4. Note: there is no need to be root to use this build script; it will ask for your root password after building the binaries and just before creating the package (and if you have fakeroot installed, even that isn’t necessary).
ClamAV builds for Windows users are available here
ClamAV-0.102.1.exe- Traditional executable installer that will install ClamAV in the “Program Files” directory.
clamav-0.102.1-rc-win-x64-portable.zip- Portable install package for 64-bit Windows systems.
clamav-0.102.1-rc-win-x86-portable.zip- Portable install package for 32-bit Windows systems.
msiexec /i clamAV.msi /qr
The ClamAV for OpenVMS port is maintained by Alexey Chupahin, Mibok Ltd
Please visit ClamAV OpenVMS project site
First, you should download latest clamav sources and bzip2 library (if you need bz2 archives support) from the site above. Install process is very similar to one in unix:
@configure @build @clamav$startup
This process provides for you: