The easiest way to get the ClamAV package is using Homebrew
On Mac OS X 10.6.8 I just installed Homebrew. It broke ClamXav. So I uninstalled it, and installed Homebrew's clamav. At the end of the installation process I received this: / Warning: /usr/local/. ClamXav, the free virus checker for Mac OS X, has been updated to version 2.0.2 beta and is available for download today.ClamXav uses the ClamAV open source antivirus engine as a backend and is.
Clamscan Mac
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:
- freshclam.conf.sample
- clamd.conf.sample
Clamav For Mac Os X
Create copies of the samples:
Open up freshclam.conf, comment out 'Example' from line 8, and make sure
Clamav For Linux
is enabled. Save your changes.
Then run
to download the ClamAV databases. The output will look something like this:
Clamav Windows Download
Open up clamd.conf, and
Clamav Mac Os X Install
- Comment: 'Example' from line 8
- Uncomment: LocalSocket /tmp/clamd.socket from line 85
- Save your changes
Next, let's look for the location of clamd by running:$ brew ls clamav
You should see the following:
Clamav Mac Os X Download
To start the clamd daemon, run the following:
You should now be able to scan a file by doing: