How to Install ClamAV on Ubuntu 16.04

r00t November 3, 2017

Install ClamAV on Ubuntu 16.04

In this tutorial we’ll learn how to install ClamAV on Ubuntu 16.04. We will also install and configure its prerequisites. Clam AntiVirus is a totally free and open source toolkit that has been initially developed for Unix. The clam can detect viruses, malware, and many other malicious threats. This tool does is via the control line. But do not let that scare you off as numerous front-ends (GUI’s) can be found, such as the famous 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 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 Clam AntiVirus.

To install ClamAV, issue the following command in the terminal:

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:


Congratulation’s! You have successfully install and configured ClamAV on your Ubuntu 16.04 server. Thanks for using this tutorial for installing Clam AntiVirus (ClamAV) on Ubuntu 16.04 LTS (Xenial Xerus) system.

The Tags:

Leave a Comment

Comments are closed.