Skip to content

Instantly share code, notes, and snippets.

@yfkhar
Forked from gagarine/install-clamav-osx.md
Created July 27, 2021 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yfkhar/8833be405e9991d25b5e3898eefe9287 to your computer and use it in GitHub Desktop.
Save yfkhar/8833be405e9991d25b5e3898eefe9287 to your computer and use it in GitHub Desktop.
Howto Install clamav on OSX with brew

Howto Install clamav on OSX with brew

$ brew install clamav
$ cd /usr/local/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 /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment