How to Install ClamAV AntiVirus on Ubuntu 16.04

r00t October 20, 2017

Install ClamAV AntiVirus on Ubuntu 16.04

In this tutorial we’ll learn how to install ClamAV AntiVirus on Ubuntu 16.04. We will also install and configure its prerequisites. Clam AntiVirus is a totally free and open source toolkit which was originally developed for Unix. Clam can detect viruses, malware, and many other malicious threats. This tool does is via the command line. But don’t let this frighten you off as numerous front-ends (GUI’s) are available, like the renowned Clam Tk.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install ClamAV AntiVirus on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing ClamAV AntiVirus.

Installing ClamAV on Ubuntu is very straightforward, run the following commands:

sudo apt-get install clamav

For simplicity, it’s best to install the front-end ClamTk also. To do so type the command:

sudo apt-get install clamtk

Once installed you can then run ClamTk from the Unity Dash menu or by typing clamtk into the terminal:

clamtk

From the ClamTK top panel options menu, then you may choose any file or directory to scan, specify whitelisted directories and handle quarantined files. You could also elect to perform quick or recursive scans, or perhaps check a device such as a USB stick.

The ClamTK’s scheduler also allows for the easy setting up of scheduled scans in addition to scheduled antivirus signature database updates (you’d better set the latter before the former). Moreover, if you find a document that’s falsely marked as a threat, you can submit it for further investigation into the ClamAV team, directly from the ClamTK interface.

Congratulation’s! You have successfully install and configure ClamAV on your Ubuntu 16.04 server. Thanks for using this tutorial for installing ClamAV AntiVirus on Ubuntu system.

The Tags:

Leave a Comment

Comments are closed.