Skip to content

Instantly share code, notes, and snippets.

@gagarine
Last active October 1, 2024 20:38
Show Gist options
  • Save gagarine/9168c1b7e4b5f55cb3254582e30d808e to your computer and use it in GitHub Desktop.
Save gagarine/9168c1b7e4b5f55cb3254582e30d808e to your computer and use it in GitHub Desktop.
Howto Install clamav on OSX with brew

Howto Install clamav on OSX with brew

Note: on legacy intel system the path may be /usr/local/etc/clamav instead of /opt/homebrew/etc/clamav/

$ brew install clamav
$ cd /opt/homebrew/etc/clamav/
$ cp freshclam.conf.sample freshclam.conf

Open freshclam.conf and comment the "Example" (in new version it may be "FooClam") line:

# Comment or remove the line below.
# Example

Update database:

 $ freshclam

Run scan on all your files:

$ clamscan -r --bell -i /
@pkneebal
Copy link

This worked!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment