Clamav clamd freshclam

Hi, I gave in the command sudo freshclam and confirmed with enter. At the end of the output it appeared “WARNING: Clamd was NOT notified: Can’t connect to clamd through /run/clamav/clamd.ctl: No such file or directory”

Should I install the package ‘perl-file-scan-clamav …’? Is it mandatory or is it not necessary? - Thank you!

[ks@ks-latitudee6430 ~]$ yay clamd
1 aur/perl-file-scan-clamav 1.95-7 (+0 0.00)
File::Scan::ClamAV - Connect to a local Clam Anti-Virus clamd service
==> Zu installierende Pakete: (z.B. 1 2 3, 1-3 oder ^4)
==> ^C
[ks@ks-latitudee6430 ~]$

You need to start the daemon first.

sudo systemctl start clamav-daemon.service

If you want it to start at boot:

sudo systemctl enable clamav-daemon.service

For more information on how to use clamav, read the Arch Wiki:
https://wiki.archlinux.org/title/ClamAV

1 Like

Thank you anthony93!

Remember to run freshclam first to generate the virus database files:

sudo freshclam

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.