How To Install AVG Free Antivirus on Ubuntu

Install AVG Free Antivirus on Ubuntu

For those of you who didn’t know, AVG Free is a version of the AVG anti-virus, spyware and malware protection software which is free for private and non-commercial use.  It help you avoiding spyware and other harmful unwanted virus. Unfortunately, AVG doesn’t provide you simple user graphic interface but you still be able to run it as a text mode on terminal.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation avg free antivirus on Ubuntu 14.04.

Install AVG Free Antivirus on Ubuntu

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Install AVG Free package on Ubuntu.

Download the deb files package:


Following command to install AVG Anti-Virus on Ubuntu:

sudo dpkg -i avg2013flx-r3118-a6926.i386.deb

After installing the package, update the virus definitions by running:

sudo avgupdate

Step 3. Configure AVG Anti-Virus.

As you see in the installation method on Ubuntu, AVG is installed and started, but not configured. Run the following command to configure AVG Free to scan your emails for known viruses, spyware and other malware:


Step 4. Scan files and directories using AVG.

You can scan files and directories on-demand by running avgscan. Avgscan is a command line anti-virus scanner:

-l, --heal Automatically heal infected object.
-t, --delete Automatically delete infected object.
-u, --vv-move Automatically move infected object into vault.
-U, --vv-backup Backup infected object if healed by deletion.

Example scanning:

Scan /home directory and it’s sub-directories recursively and store the report in the /var/log/avgscan.log file, run the following command:

avgscan -aPcijk -r /var/log/avgscan.log /home

Congratulation’s! You have successfully installed AVG free anti-virus. Thanks for using this tutorial for installing AVG free antivirus on ubuntu 14.04 systems.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!