Install AVG Antivirus in Ubuntu Desktop

Sponsored Link
AVG Free Edition is the well-known antivirus protection tool. AVG Free is available free of charge to home users for the life of the product. Rapid virus database updates are available for the lifetime of the product, thereby providing the high level of detection capability that millions of users around the world trust to protect their computers. AVG Free is easy to use and will not slow your system down (low system resource requirements). Highlights include automatic update functionality, the AVG Resident Shield, which provides real-time protection as files are opened and programs are run, free Virus Database Updates for the lifetime of the product, and AVG Virus Vault for safe handling of infected files.


Now are going see how to install AVG Antivirus in Ubuntu presently avg antivirus is having only .rpm files to install we need to convert this .rpm files to .deb files to install avg in ubuntu for this we are using a program called alien.We have already discussed about this you can check here

You can download avg antivirus from here

Install AVG Antivirus in Ubuntu

Download the latest version of AVG from the above link to your /usr/local/src/ directory

wget http://free.grisoft.com/softw/70free/setup/avg71flm-r30-a0791.i386.rpm

sudo rpm -qip --scripts avg71flm-r30-a0791.i386.rpm

Now you need to find the License Number looks like the following

/usr/bin/avgscan -register 70FREE-TX-IB-P1-C01-S139FC-327-9FPB (This number migh vary for you)

As i told you before we will convert .rpm file to .deb file using the following command

sudo alien -k avg71flm-r30-a0791.i386.rpm

Installing debian package using the following command

sudo dpkg -i avg71flm_r30_i386.deb

Now you need to Register your copy of AVG antivirus this time it will propt the following questions

sudo /opt/grisoft/avggui/bin/avggui_update_licinfo.sh

Please enter two additional registration information.
What is your name: Ruchi
What is the name of your company: Debianadmin

sudo avgscan -register

Now you need to enter your license number we have gathered before

AVG7 Anti-Virus command line scanner
Copyright (c) 2006 GRISOFT, s.r.o.
Program version 7.1.30, engine 386
Virus Database: Version 268.11.1/421 2006-08-16
Enter license number: 70FREE-TX-IB-P1-C01-S139FC-327-9FPB

Now we need create an AVG antivirus launcher in the application tab for users

sudo gedit /usr/share/applications/avg.desktop

enter the following lines Save and exit the file

File:/usr/share/applications/avg.desktop
[Desktop Entry]
Name=AVG Antivirus
Comment=Antivirus
Exec=avggui &
Icon=/opt/grisoft/avggui/prog/pixmaps/avgico_big.png
Terminal=false
Type=Application
Categories=Application;System;

For an AVG Antivirus update launcher

sudo gedit /usr/share/applications/avgupdate.desktop

enter the following lines Save and exit the file

File:/usr/share/applications/avg.desktop
[Desktop Entry]
Name=AVG Updater
Comment=Antivirus
Exec=sudo /opt/grisoft/avg7/bin/avgupdate -o
Icon=/opt/grisoft/avggui/prog/pixmaps/avgupdateico.png
Terminal=true
Type=Application
Categories=Application;System;

Once you create application menu you need to open AVG antivirus from Applications--->Internet--->AVG Antivirus you can see this here

Once you open AVG Antivirus first time you can see this in the following screen and click ok on license window

AVG Antivirus main windows looks like below here you can select test,test results and update options

Now if you want to update virus database online click on update in the above screen you can see the antivirus updates are in progress and update finished successfully.

If you want to run Virus Scan you need to click on test and you hould see the following screen

Virus scanning in running

Howto Perform AVG updates without the need for (gk)sudo

Recently I've notice a number of people apparently having trouble with updating the AVG virus scanner.

perform the following steps:

Add your username to the avg user group
log off
log on

Sponsored Link

You may also like...

18 Responses

  1. jj says:

    I do not believe your
    wget http://free.grisoft.com/softw/70free/setup/avg71flm-r30-a0791.i386.rpm
    statement is correct
    Issue:
    #1 It’s missing missing the prefix sudo. Not trying to be a nit but it adds time and keystrokes.
    #2 I think you downloaded the wrong version. the flm version is for Mandrake and the flr version is for Red Hat.ed Hat. What’s the difference? I do not know (most likely file placement) but using alien I do not know if it supports Mandrake and Red Hat or Red Hat only. Shame on AVG for not putting a visible icons next to each download file name

  2. jj says:

    Issue
    #3
    I do not know the purpose of your “sudo rpm -qip –scripts avg71flm-r30-a0791.i386.rpm” command. After doing some digging about RPM I learn that it’s a RPM query statement to confirm package name, versin number and release number among other things. Would be advisable to state this. When I entered the command I got “command not found” I believe this is because I am using a .deb system.

    Is this command appropriate for a .deb system like Ubuntu? OR am I missing something?

  3. jj says:

    Issue#4

    A base installation of Ubuntu does not include Alien. You can not find the license number without Alien installed on a Ubuntu system.

    You need to make a statement BEFORE “Now you need to find the License Number looks like the following” TO

    Please install Alien (an RPM package to DEB package converter)using Symantic Package Manager before preceeding. Subsequently, now you need to find the License Number looks like the following…”

    Incidently, the license number must be generic since I found the same one (70FREE-TX-IB-P1-C01-S139FC-327-9FPB) in mine.

  4. jj says:

    Issue #5
    Change:
    Installing debian package using the following command
    sudo dpkg -i avg71flm_r30_i386.deb

    To read:
    sudo dpkg -i avg71flr_r30-a0791_i386.deb

    Note: As said before, throughout your document you need to change “flm” to “flr” in the file names. And, you forgot to add “a0791” in the aformentioned file name.

  5. jj says:

    Issue#6

    On my system the icon appeared at Application >Accessories>AVG… instead of Application Internet

    Issue#7

    Things went well until I tried to update AVG. It said I do not have the necessary permissions. Is there some line I need to add somewhere? I can’t use sudo in the GUI as I can from the CLI.

    In summary, This newbie finally have a working AV which I thank you. Forgive the as you go “Issues” but it was the only way I could keep it straight in my own mind. I hope the “proofing” help’s the next guy and thanks again.

  6. admin says:

    @Ji

    the version i am downloading is correct one and i have converted .rpm file in to .deb file using alien.Alien is very nice program to convert .rpm to .deb and it worked for me with out any problem

  7. Mike says:

    Issue#7

    Things went well until I tried to update AVG. It said I do not have the necessary permissions. Is there some line I need to add somewhere? I can’t use sudo in the GUI as I can from the CLI.

    I got the same thing… What was the answer… Cannot update AVG..

    Thanks,

    Mike

  8. Krzysztof says:

    In terms of updating to a newer version of AVG for Ubuntu, how does one go about doing that? Do you remove the current version and then install the newer version? I’m a newbie to Linux and hoping to get some solid, direct advice from people who know how the OS is structured and runs. Thanks.

    Krzysztof
    Ubuntu 6.06

  9. Jon says:

    to enable updates to AVG you need to do the following…

    * system > administration > users and groups
    * enter your root password
    * manage groups > select avg > press properties
    * select all group members (root, your user, avg)
    * press ok, close, close
    * reboot your system
    * load up the system, load avg and run the update process.

    Should work nicely for you!
    cheers,
    Jon.

  10. coppertrail says:

    There is now a .deb AVG installer. I take it we just skip the rpm-deb conversion process above?

  11. Krzysztof says:

    Thanks much, Jon! Works quite well!

  12. N1ck says:

    @ Jon
    I do not see an avg group in my ‘users and groups’ administrative interface and i’ve checked repeatedly. Any other suggestions? (mind you this is the second time I am installing avg and it worked fine the first time, just not working this time around). If I run the command [sudo /opt/grisoft/avg7/bin/avgupdate -o] it works, it just doesn’t work through the GUI.

  13. ceti says:

    1 – Yet, the AVG icon can be found at Application >Accessories, not at Internet
    2 – Now, you can download the .deb package and install it with sudo dpkg -i avg75fld-r47-a1025.i386.deb
    3 – The Licence Number is generic. Just enter 70FREE-TX-IB-P1-C01-S139FC-327-9FPB
    4 – To edit Users and Groups: open a terminal, type sudo users-admin & skip the first 2 steps on response 9 (follow the other steps)

  14. jj says:

    Key link to bookmark for the free Linux A/V download is http://free.grisoft.com/doc/5390/us/frt/0?prd=afl

    I had a bitch of a time finding it on the web site and ultimately had to Google around. It was buried (as expected since they announced it quietly).

    Also, for install issues see http://forum.grisoft.cz/freeforum/

    If you do not want to futz w/AVG go w/Avast it’s easy to get and install. Also explained at ubuntugeek.

  15. jj says:

    Correction!!
    Upps!
    Don’t mind me it’s late the key free link is actually http://free.grisoft.com/doc/5390/us/frt/0?prd=afl

  16. jj says:

    If you are still having problems getting the gui to update files (as I am. I do not understand note #9) try Alt+F2 and in the text box type “sudo avggui”. This solves your need for root access and solve the problem of getting updates.

    As a side note: I didn’t realize that you can start any registered application via their command line start commands using Alt+F2 and simply clicking the triangle to “show list of know applications” and then subsequently just clicking on the application. Note: if you need root access to run the app, you need to preface the startup command w/ “sudo”.

    If somewone can explain note#9 statement “manage groups > select avg > press properties” further it would be appreciated. My gui doesn’t show it.

  17. jj says:

    As another alternative, to change permissions in order to download future updates:
    sudo chmod 775 /opt/grisoft/avg7/bin/avgupdate
    cd /opt/grisoft/avg7/var/
    sudo chmod 777 run
    sudo chmod 777 update/log

  18. desmon says:

    i don’t know when update avg always show :

    Update process failed.
    Reason: Process ‘avgupdate’ is already running.

    please help me……

Leave a Reply

Your email address will not be published. Required fields are marked *