Clamav For Mac Os
Clamav For Mac Os X
A Macintosh OS X anti-virus software that uses the ClamAV anti-virus library. The project's focus is on usability. Its purpose is to develop native GUI-based binary distributions of a ClamAV-based anti-virus software that behaves as OS X users expect.
Clamav Mac Os Homebrew
Reference: https://gist.github.com/zhurui1008/4fdc875e557014c3a34e |
Get ClamAV running on Mac OS X (using Homebrew) |
The easiest way to get the ClamAV package is using Homebrew |
$ brew install clamav |
Before trying to start the clamd process, you'll need a copy of the ClamAV databases. |
$ cp /usr/local/etc/clamav/freshclam.conf.sample /usr/local/etc/clamav/freshclam.conf |
comment out line 8 'Example' in freshclam.conf and make sure the following line is there around line 79: 'DatabaseMirror database.clamav.net' |
$ cp /usr/local/etc/clamav/clamd.conf.sample /usr/local/etc/clamav/clamd.conf |
comment out line 8 'Example' and uncomment line 85 'LocalSocket /tmp/clamd.socket' |
Then run |
$ /usr/local/Cellar/clamav/0.99.2_1/bin/freshclam -v |
to download the ClamAV databases. The output will look something like this: |
Current working dir is /usr/local/Cellar/clamav/0.99.2_1/share/clamav |
Max retries 3 |
ClamAV update process started at Tue Jan 3 15:31:22 2017 |
Using IPv6 aware code |
Querying current.cvd.clamav.net |
TTL: 1651 |
Software version from DNS: 0.99.2 |
main.cvd version from DNS: 57 |
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer) |
daily.cvd version from DNS: 22830 |
Retrieving http://database.clamav.net/daily-22830.cdiff |
Trying to download http://database.clamav.net/daily-22830.cdiff (IP: 172.110.204.67) |
nonblock_recv: recv timing out (30 secs) |
WARNING: getfile: Error while reading database from database.clamav.net (IP: 172.110.204.67): Operation now in progress |
WARNING: getpatch: Can't download daily-22830.cdiff from database.clamav.net |
Querying daily.22830.82.0.0.AC6ECC43.ping.clamav.net |
Retrieving http://database.clamav.net/daily-22830.cdiff |
Trying to download http://database.clamav.net/daily-22830.cdiff (IP: 198.148.78.4) |
Downloading daily-22830.cdiff [100%] |
... |
Database updated (5451300 signatures) from database.clamav.net (IP: 198.148.78.4) |
... |
then run |
$ /usr/local/Cellar/clamav/0.99.2_1/sbin/clamd |
to start the process. |
To scan a file, run |
$ /usr/local/Cellar/clamav/0.99.2_1/bin/clamdscan --fdpass /tmp/ver.out |
$ add clamav commands in PATH in ~/.bash_profile. Should be able to run freshclam, clamd and clamdscan afterwards. |
export PATH=/usr/local/Cellar/clamav/0.99.2_1/bin:/usr/local/Cellar/clamav/0.99.2_1/sbin:$PATH |
Clamav For Macos
Download ClamXav for Mac. ClamXav is a popular and free virus checker for Mac OS X. You and your Mac Whether you’re a home user, business user or education user, ClamXAV provides effective malware protection on a single Mac or an entire network. With generous volume discounts available, it’s a small price to pay for peace of mind. It’s a great product! ClamXav is designed to be lightweight and non-intrusive. Users can quickly quarantine or trash a file with a click, and the Sentry service acts as a constant disk monitor without dragging performance down. All in all, ClamXav is ideal for Mac users who want simple protection and minimum fuss.