Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install AVG 2012 antivirus on my Ubuntu 12.10, when I install it with Gdebi it gets installed without any problem, but when I try to start avg antivirus form terminal by typing following commond:
sudo avgctl --start
It show following error message:

/usr/bin/avgctl: 17: exec: /opt/avg/av/bin/avgctl: not found


When I checked the files manually they are there. I don't understand what is the problem, though my avg antivirus was working fine on my Ubuntu 12.04 LTS. Hope somebody will help.

share|improve this question
    
Are you using 64 bit? –  devav2 Oct 24 '12 at 8:26
    
Yes I'm using 64-bit Ubuntu 12.10 –  KashmirHackers Oct 25 '12 at 13:29
add comment

1 Answer 1

I thinks so you have to install ia32-libs package.

Full steps are as follows:

This works for both 32 and 64 bit versions of Ubuntu 10.10 and above.

Step 1 Download the linux version (.deb file) from here

Step 2 Run following command to install debian package Note: 64-bit versions of Ubuntu need ia32-libs, or similar package before install

sudo dpkg -i avg2012flx-r1795-a5274.i386.deb

Expected output is as follows

Selecting previously unselected package avg2012flx.
(Reading database ... 153531 files and directories currently installed.)
Unpacking avg2012flx (from avg2012flx-r1795-a5274.i386.deb) ...
Setting up avg2012flx (2012.1795) ...
Installing 'avgd' service initscripts...
Registering 'avgd' service to runlevels...
 Adding system startup for /etc/init.d/avgd ...
   /etc/rc0.d/K20avgd -> ../init.d/avgd
   /etc/rc1.d/K20avgd -> ../init.d/avgd
   /etc/rc6.d/K20avgd -> ../init.d/avgd
   /etc/rc2.d/S20avgd -> ../init.d/avgd
   /etc/rc3.d/S20avgd -> ../init.d/avgd
   /etc/rc4.d/S20avgd -> ../init.d/avgd
   /etc/rc5.d/S20avgd -> ../init.d/avgd
Registering with license: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
AVG command line controller
Copyright (c) 2012 AVG Technologies CZ

License was successfully changed.
Operation successful.
Please do configuration with /opt/avg/av/bin/avgsetup
Generating unique user id
Processing command line ...
Cfg file not specified using /opt/avg/av/cfg/diagcfg.xml.
New installation ID succesffully generated.
 * Starting avgd ...                                                     [ ok ]
Processing triggers for man-db ...

Step 3 Reboot the PC to initialize AVG. Alternatively you could run

sudo /etc/init.d/avgd start

Step 4 Run following command to update virus database

sudo avgupdate

Expected output is as follows

AVG command line update
Copyright (c) 2012 AVG Technologies CZ

Running update.
Initializing...
Analyzing...
Downloading file:  u12iavi5350u5270wc.bin                      1 /  1    2.01 M
Analyzing...
Preparing installation...
Updating...
100% [===================================>]

Update was successfully completed.

Useful Commands

To Start AVG Anti-Virus run following command

sudo avgctl --start

For Scanning a Virus

avgscan -H /desire_folder
avgscan --heur /

To Update a Virus Databases

sudo avgupdate --priority 2
sudo avgupdate -p 3
sudo avgupdate -p 4

Source : How to Install AVG Free Antivirus Software on Ubuntu 12.10, 12.04

share|improve this answer
    
No sir, after registering with license xxxx xxxx xxxxx xxxx it shows following error /usr/bin/avgctl: 17: exec: /opt/avg/av/bin/avgctl: not found –  KashmirHackers Oct 25 '12 at 13:34
    
xxxx xxxx xxxxx xxxx is not the actual license. It comes with the installation. BTW run "apt-get update; sudo apt-get -y install ia32-libs" to install necessary libraries and then try "avgctl" –  Vidyadhar Oct 25 '12 at 16:30
    
Thank You Sir, for your reply,I had already installed ia32-libs and now my avg antivirus is working fine. –  KashmirHackers Oct 26 '12 at 4:08
    
Kindly accept the ans if the above steps helped you to solve your problem –  Vidyadhar Oct 26 '12 at 17:43
    
I had better luck installing gcc-4.6-multilib (which installs ia32-libs) on Ubuntu 12.04: sudo apt-get install gcc-4.6-multilib –  Peter Gluck Feb 28 '13 at 7:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.