skip to main content

How to Ubuntu

How to Install and Update avast! Antivirus in Ubuntu

Ubuntu doesn't tend to get viruses, but if you work with Windows, you can scan your machine using avast! Antivirus, once you've fixed the update issue.

Information

It is generally accepted that there are no currently wild viruses for Ubuntu, or any Linux based system. That is unlikely to change because of the vast quantities of eyes watching the code, integrated update system, and more in-built security. In the event that it does, neither How to Ubuntu, eustasy, nor avast! guarantee any protection or prevention by following these steps.

1. Download

avast! Linux Edition

If you are using Ubuntu, you should download the deb version.

deb

27.7 MB

rpm

27.8 MB

2. Install

Once you have downloaded the package, you should have a file called avast4workstation_..._i386.deb. It should be around 30 Megabytes. Double-Click to open it in the Ubuntu Software Centre. Click the Install button in the top-right-hand corner. Wait for it to finish installing before proceeding.

Install avast! Free Antivirus Linux Home Edition with the Ubuntu Software Centre

3. Register

You will need to complete the Registration Form to receive your free Key (via email) to use avast! Antivirus for Linux.

The form asks your name, email, and country (all compulsory). Optional items include age, computer literacy, and previous antivirus, and your reason for choosing avast!. After entering your details, it states a license key will be emailed to you, usually within half-an-hour.

Important Notes
  • I have registered several installations with the same key, with no repercussions so far.
  • While a valid email is required (it's where your key's being sent) i have never received any other mail from them.

When you launch avast! you will be asked for a key. If you exit without entering one, it will ask again on next launch. Because of the random nature of the key, you should copy and paste it from your registration email instead of typing it manually.

4. Fix

Unfortunately, while most of avast! works straight out of the metaphorical box, there is one problem.

The updates for avast! (important for detecting the latest viruses) come in blocks. Big blocks. Too big for Ubuntu's default shmmax.

ShmMax is the maximum amount of shared memory any given process can have, and while it's probably not big enough for pretty much everything, single big temporary downloads (like those for applying big updates) means avast! usually wants more, and exits with an Update Engine Error.

To fix it, we need to edit a file manually, which can be done in Gedit via the Terminal.

Add this line of code in a new line directly before the line, which should already be there, exec /etc/init.d/rc S.

Because you've edited the Kernel settings, which are things that load very early on, you'll need to restart your computer before completing the next step.


5. Update

Updating is ridiculously easy, there is a big Update Database button in the top-left-hand corner, and you can also go via Tools, Update Database.

Under Tools, Preferences, you can also set it to install updates automatically.

Congratulations, you have just Installed and Updated avast! Antivirus in Ubuntu!

Trending

How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB 3,175

Things to do after installing Ubuntu 12.04 Precise Pangolin 1,297

How to Execute a .Run or .Bin file in Ubuntu 948

How to Install LAMP on Ubuntu 917


Social

Google+
YouTube

Advertisement Why are there ads?