AVG Anti-Virus for Linux is a program that allows to scan your computer running Ubuntu or any other Linux-based distribution for viruses and spywares. As we know that Linux systems don't really need antivirus software and are so far safe from getting infected, but we may need these software when storing or backing up Windows files in Linux servers, for example.

In this brief guide, we will see how to install AVG Antivirus (Free Edition) on Ubuntu 11.10 Oneiric Ocelot and Ubuntu 11.04 Natty Narwhal. AVG antivirus for Linux is not provided with a GUI, it is in fact a command line anti-virus scanner. If you want an antivirus with GUI, you can try Avast.

AVG Antivirus Installation

Open the terminal and run these commands to download and install AVG:

wget http://download.avgfree.com/filedir/inst/avg2011flx-r1408-a3943.i386.deb
sudo dpkg -i avg2011flx-r1408-a3943.i386.deb

To launch The AVG Anti-Virus on Ubuntu, run this command from the terminal:

sudo avgctl --start

Here are some useful scanning commands:

- To scan a specific folder, use this command by replacing "folder_name" with the folder you want to scan with AVG:

avgscan -H /folder_name

- To download an update:

sudo avgupdate -d

- For a heuristic scan:

sudo avgscan --heur /

- To update the current virus database, use one of these commands:

sudo avgupdate --priority 1
sudo avgupdate --priority 2
sudo avgupdate --priority 3
sudo avgupdate --priority 4
sudo avgupdate --priority 5

1 - Critical update
2 - Virus update
3 - Recommended update
4 - Program update (default)
5 - Optional update

- To download an update:

sudo avgupdate -d

For more help about using AVG, run this command:

 sudo avgscan -h

Note: To stop the scan process, press Ctrl + C in the terminal.

Post a Comment