Set up ClamAV for macOS/OSX#2 : Clamd
1 min readNov 30, 2017
After getting many requests to write a followup to the first clamav OSX article I try to compose here what you can do: Steven González Lugo, Ian Sowinski, jason musk
- Install clamav and update it’s database to make a simple scan.
- Copy /usr/local/etc/ clamd.conf.sample to clamd.conf
- Edit clamd.conf and comment “Example” using “# Example”
- Also in clamd.conf comment “LocalSocket /tmp/clamd.socket” in so it’s using this socket
- Call clamd on your terminal. Run ps aux | grep clamd to see that it’s actually running in the background.
You should also add a cron job that updates your database regularly using the command freshclam.
Important note:
Other programs have to connect to it to give it data, and then it will scan this data and return the result. It’s not like an out of the box virus scanner.