ClamAV
ClamAV is an antivirus. It is composed of three components: a daemon that can run scans, a client to run scans with the daemon, and an updater(freshclam) to make sure you always have the latest virus definitions.
apt install clamav-daemon clamav clamav-freshclam- Make sure that the updater service is enabled and started:
systemctl status clamav-freshclam.service- If not, enable and start it:
systemctl enable clamav-freshclam.service && systemctl start clamav-freshclam.service
The first freshclam update will take a bit of time, subsequent updates are incremental and thus will take less time.
You can check the update log with journalctl -u clamav-freshclam.service.
Running a scan
With the command line:
- Generally,
clamscan {file}should work, seeman clamscanfor more options.
With a GUI:
apt install clamtk- Note that when you run a scan the progress bar windows may seems like it's stuck, but it is actually scanning.