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:
wget http://download.avgfree.com/filedir/inst/avg2013flx-r3118-a6926.i386.deb
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:
/opt/avg/av/bin/avgsetup
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.