instructions to run clamav on manjaro as daemon


I've intended to run clamav on my manjaro setup and ran into some trouble, as the

sudo pacman -S clamav

did of course install clamav on my system, however when trying to enable the service as instructed here
I've just received the notice

Failed to enable unit: Unit file clamd.service does not exist.

I then went to /usr/lib/systemd/system and found the following 3 files

clamav-daemon.service  clamav-daemon.socket  clamav-freshclam.service

With this information, I was able to enable the service and start it by typing

sudo systemctl enable clamav-daemon.service
sudo systemctl enable clamav-freshclam.service

and finally start the daemons for clamav and freshclam

sudo systemctl start clamav-daemon
sudo systemctl start clamav-freshclam

I've also installed clamtk from AUR for a graphical UI and enabled the respective module in Claws Mail to have my mail being checked by clamav.

This is a little writeup for others who also run into issues with setup of clamav.

split this topic #2

2 posts were merged into an existing topic: Wiki Change Request

closed #3