Clamav Daemon Mac

The easiest way to get the ClamAV package is using Homebrew

  1. ClamAV includes a number of utilities: a command-line scanner, automatic database updater and a scalable multi-threaded daemon, running on an anti-virus engine from a shared library. The application also features a Milter interface for sendmail and on-demand scanning.
  2. ClamAV can be found in the apt repository. Run this command to install ClamAV: apt-get install clamav. If you need clamd, you may also want to run: apt-get install clamav-daemon. For the stable release, the packages are updated via the StableUpdates mechanism.
MacDownload

On Mon, 12 Jul 2010, noob wrote: Hi All: I installed ClamAV 0.96.1 from source on Mac OS 10.6.4 (client, not server) as part of an ASSP intallation. Thanks to Christoph Murauer for an excellent guide to installing ClamAV 0.97.3 on Mac OS X! Check out Christoph's ClamAV 0.97.3 install guide here. Thanks to all of our ClamAV community contributors on their documentation, if you'd like to contribute some documentation, please feel free to contact me at joel@snort.org.

Clamav For Mac

Clamav daemon machina

Before trying to start the clamd daemon, you'll need a copy of the ClamAV databases.

Inside /your/location/to/brew/etc/clamav, you'll see 2 files:

  1. freshclam.conf.sample
  2. clamd.conf.sample

Create copies of the samples:

Open up freshclam.conf, comment out 'Example' from line 8, and make sure

is enabled. Save your changes.

Then run

Clamav daemon mac os

Clamav Daemon Mac Os

to download the ClamAV databases. The output will look something like this:

Open up clamd.conf, and

  1. Comment: 'Example' from line 8
  2. Uncomment: LocalSocket /tmp/clamd.socket from line 85
  3. Save your changes

Next, let's look for the location of clamd by running:$ brew ls clamav

You should see the following:

Clamav

To start the clamd daemon, run the following:

Clamav Mac Os

You should now be able to scan a file by doing: