Tutorials and How-tos/Install Clam AntiVirus

From BubbaWiki
Jump to navigation Jump to search

Installing Clam Antivirus
This was tested on Bubba v2.0.4


Edit the sources file:

nano /etc/apt/sources.list 


Add the following repository in the sources file.

deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free 


Install ClamAV

apt-get install clamav 


Start ClamAV

freshclam 


Check if ClamAV is running

ps aux | grep clam

clamav 13576 27.6 0.5 3676 1388 ? Ss 17:52 0:41 /usr/bin/freshclam -d --quiet 


Stopping ClamAV

killall freshclam 


Verify that ClamAV is not running

ps aux | grep clam 


Starting ClamAV as a daemon which runs in the background and scans files

/usr/bin/freshclam -d --quiet