PDA

View Full Version : [64-bit] Install AVG free and pro anti-virus for Ubuntu 64-bit



Perfect Storm
November 25th, 2007, 05:54 PM
Tested: Ubuntu 7.10 • 8.04 64 bit - Gnome

This guide show you how to install AVG Professional Edition for Ubuntu 64-bit.

1. F.A.Q. - Please read - Important
2. Guide - AVG Professional Edition for Ubuntu 64-bit
3. Guide - AVG Free Version for Ubuntu 64-bit
4. Links


1. - F.A.Q.

Q: Are viruses, trojans and malware a threat to a linux system as in Windows?

A: No, there's a very few viruses to linux and the few are not out in the wild. The way a Linux/unix is build up makes it difficult to do any serious damage to the system, in fact I've never heard from people who got their Linux/unix system infected.

Q: So why install an anti-virus application/program?

A: For an ordinary Linux Home user with only one OS system their's no need for Anti-virus, but people who's running network, server or dual booting with win OS this tool can be very handy to scan for virus.

Q: I'm a home user only running Linux do I need it?

A: No, a firewall is way better as protection in that case.


Please also read; Ubuntu Security (http://ubuntuforums.org/showthread.php?t=510812) and Are firestarter and clamav really necessary ?? (http://ubuntuforums.org/showthread.php?t=131616)



2. AVG Professional Edition for Ubuntu 64-bit

Before Installation

First you need some tool to edit/build .deb packages. To the terminal;


sudo aptitude update && sudo aptitude upgrade
sudo aptitude install build-essential dpkg-dev fakeroot


Installation

Download avg75lms-r49-a1124.i386.deb and avggui-1.0-4.i386.deb from here (http://www.grisoft.com/doc/downloads/us/crp/0?prd=avl) to your Desktop.

Fire up the terminal;


cd ~/Desktop
mkdir avg75ms
dpkg-deb --extract avg75lms-r49-a1124.i386.deb avg75ms
dpkg-deb --control avg75lms-r49-a1124.i386.deb avg75ms/DEBIAN
nano avg75ms/DEBIAN/control

Under Architecture: change i386 to amd64

Save [ctrl]+[o]
Exit [ctrl]+[x]

Then;


dpkg --build avg75ms
sudo dpkg -i avg75ms.deb

If it fails - Double click the newly made .deb package.


sudo avgscan -register
Insert your registration code.

Now to the AVG Gui;

mkdir avggui
dpkg-deb --extract avggui-1.0-4.i386.deb avggui
dpkg-deb --control avggui-1.0-4.i386.deb avggui/DEBIAN
nano avggui/DEBIAN/control

Under Architecture: change i386 to amd64

Save [ctrl]+[o]
Exit [ctrl]+[x]

Then;


dpkg --build avggui
sudo dpkg -i avggui.deb
sudo nano /usr/share/applications/avggui.desktop

Change: Exec=avggui to Exec=gksudo avggui
Change: Categories=GNOME;KDE;Application;Utility; to Categories=GNOME;KDE;Application;System;

Save [ctrl]+[o]
Exit [ctrl]+[x]

AVG is now ready to be used.
You can start it by Applications tab ---> System Tools ---> AVG for Linux Workstation



3. AVG Free Version for Ubuntu 64-bit

Before Installation

First you need some tool to edit/build .deb packages. To the terminal;


sudo aptitude update && sudo aptitude upgrade
sudo aptitude install build-essential dpkg-dev fakeroot


Installation

Download the .deb file here (http://free.grisoft.com/doc/5390/us/frt/0?prd=afl) to your Desktop.

Fire up the terminal;


cd ~/Desktop
mkdir free-avg
dpkg-deb --extract avg75fld-r49-a1130.i386.deb free-avg
dpkg-deb --control avg75fld-r49-a1130.i386.deb free-avg/DEBIAN
nano free-avg/DEBIAN/control

Under Architecture: change i386 to amd64

Save [ctrl]+[o]
Exit [ctrl]+[x]


dpkg --build free-avg
sudo dpkg -i free-avg.deb
sudo nano /usr/share/applications/avggui.desktop

Change: Exec=avggui to Exec=gksudo avggui
Change: Categories=GNOME;KDE;Application;Utility; to Categories=GNOME;KDE;Application;System;

Save [ctrl]+[o]
Exit [ctrl]+[x]

AVG is now ready to be used.
You can start it by Applications tab ---> System Tools ---> AVG for Linux Workstation



4. Links

F-Prot (anti-virus) for Ubuntu 64-bit (http://ubuntuforums.org/showthread.php?p=3840826)
Build the latest of Pidgin + Plugins (http://ubuntuforums.org/showthread.php?p=4072317)
Build the latest of Audacious (http://ubuntuforums.org/showthread.php?p=4072585)

be4truth
November 26th, 2007, 07:36 AM
I have used earlier the free version on Windows machine but found after one year of usage that AVG free doesn't catch quite a number of trojans. I don't know about the professional version.

Perfect Storm
November 26th, 2007, 09:58 AM
Guide updated - Now also containing the free version.

pedro_cesar
November 28th, 2007, 03:27 AM
When I try to run:

sudo dpkg -i free-avg.deb I receive this error message:


pedro@pedro-desktop:~/Setups$ sudo dpkg -i free-avg.deb
(Leyendo la base de datos ...
122312 ficheros y directorios instalados actualmente.)
Desempaquetando avg75fld (de free-avg.deb) ...
dpkg: error al procesar free-avg.deb (--install):
intentando sobreescribir `/opt/grisoft/lib/libgcc_s.so.1', que está también en el paquete avg75lms
dpkg-deb: el subproceso paste fue terminado por la señal (Tubería rota)
Se encontraron errores al procesar:
free-avg.deb


This is the translation (which might not be 100% acurate)


pedro@pedro-desktop:~/Setups$ sudo dpkg -i free-avg.deb
(Reading Data Base ...
122312 Files and directories currently installed.)
Unpacking avg75fld (from free-avg.deb) ...
dpkg: error while processing free-avg.deb (--install):
trying to overwrite `/opt/grisoft/lib/libgcc_s.so.1', which is also currently in the package avg75lms
dpkg-deb: the subprocess "paste" was terminated by signal (Broken Pipe)
Errors were found while processing:
free-avg.deb



P.S.------------------------------------------------------------------------------------------------
I am dual booting with Windows Vista, and already have FireStarter installed, I wanted to know how strong is the AVG FREE edition's protection? Do I need to/should configure some other things to make my system more secure? Which things? Is it enough with what I already have (assuming I do install AVG AntiVirus)?

Perfect Storm
November 28th, 2007, 05:14 AM
Try doubleclick the .deb instead.
If it doesn't work;

delete libgcc_s.so.1 in the /opt/grisoft/lib folder. Then try again.

Anti-virus application is not really needed. It's used for scanning for Windows virus.

pedro_cesar
November 28th, 2007, 07:06 PM
I did so, and then it gave me the same error for the other file in the folder, so I erased it too (I didn't erase the /lib folder) and then it gave me the same error but for

/opt/grisoft/avg7/bin/avgqrtctl I don't how smart will it be to erase a bin file.

Sukarn
December 2nd, 2007, 08:54 PM
pedro_cesar, seems to me like you already installed avg once. if that is so, and you're trying to re-install or to install a new version, then you should just remove the old package and install the new one, or else delete all the files manually and install the new one.

Herman
December 21st, 2007, 11:43 PM
I had the same problem as pedro_cesar and I did 'sudo rm -rf /var/lib/dpkg/info/avg75*', and I was able to install AVG alright after that.

sudo rm -rf /var/lib/dpkg/info/avg75*Regards, Herman :)

vnpenguin
December 27th, 2007, 01:14 AM
:)thanks! It worked very good!

stellar22
January 9th, 2008, 08:37 AM
thank you this works perfectly.

Q: when i install WinXP on another partition, will AVG Linux be able to scan and clean those drives?

Perfect Storm
January 9th, 2008, 09:04 AM
AVG can scan, not clean.

stellar22
January 9th, 2008, 05:45 PM
got it. thanks for the quick reply :)

Perfect Storm
January 9th, 2008, 05:50 PM
If you're looking for something to clean use F-prot.

will1384
January 14th, 2008, 12:57 AM
I am getting

"Can't get license information,
avgscan output:

sh: avgscan: not found"

when I run the avggui program

when I go to /opt/grisoft/avg7/bin it shows the file is there,
but even from the terminal and in that directory it will not
let me run it - it will do this

username@username-desktop:~$ cd /opt/grisoft/avg7/bin
username@username-desktop:/opt/grisoft/avg7/bin$ dir
avgdmilter avgqrtctl avgscan avgspmctl avgupdate
username@username-desktop:/opt/grisoft/avg7/bin$ avgscan
bash: /usr/bin/avgscan: No such file or directory
username@username-desktop:/opt/grisoft/avg7/bin$
username@username-desktop:/opt/grisoft/avg7/bin$ sudo avgscan
[sudo] password for username:
sudo: unable to execute /usr/bin/avgscan: No such file or directory
username@username-desktop:/opt/grisoft/avg7/bin$

why is it listed - but I can not run it

- I am using Ubuntu 7.10 - I installed from ubuntu-7.10-desktop-amd64.iso
- I also install all updates

will1384
January 14th, 2008, 02:22 AM
I after having trouble using AVG, I installed F-Prot
from this post

"[64-bit] F-Prot (anti-virus) for Ubuntu 64-bit - Ubuntu Forums (http://ubuntuforums.org/showthread.php?p=4027250)"

and my AVG starts working - not sure why -
I still had go to the terminal window and
do the

"sudo avgscan -register" and I used this key

70FREE-TX-IB-P1-C01-S139FC-327-9FPB

Sammi
January 14th, 2008, 03:20 AM
I find this wikipedia article to be both relevant and interresting: http://en.wikipedia.org/wiki/List_of_Linux_computer_viruses_and_worms

SilverWave
January 19th, 2008, 04:01 PM
List of commands that I used successfully after downloading the newest deb to Desktop.
In place of:
nano free-avg/DEBIAN/control
I had to use:
sudo nano free-avg/DEBIAN/control

Thanks for the How To!


cd ~/Desktop
ls
mkdir free-avg
ls
dpkg-deb --extract avg75fld-r50-a1236.i386.deb free-avg
dpkg-deb --control avg75fld-r50-a1236.i386.deb free-avg/DEBIAN
ls
sudo nano free-avg/DEBIAN/control
dpkg --build free-avg
sudo dpkg -i free-avg.deb
sudo nano /usr/share/applications/avggui.desktop

Herman
January 22nd, 2008, 08:10 AM
I'm pleased to be able to report that AVG works well. I captured a folder that was suspected of containing a virus from the root of someone's Windows 'C' drive and took it home in my Ubuntu USB flash memory stick.
When I scanned it with my AVG in my big AMD64 Ubuntu computer, AVG found and identified three viruses!
Thanks Artificial Intelligence!

Regards, Herman :)

xuanthu20061984
March 4th, 2008, 10:29 AM
Thank for sharing. good

Perfect Storm
April 10th, 2008, 07:01 PM
Guide now tested on 8.04 64-bit

nitrokid759
May 9th, 2008, 08:57 PM
how do you uninstall this?

Perfect Storm
May 9th, 2008, 09:19 PM
Open synaptic and search for the packages. Then pick completly remove.

hvw
July 29th, 2008, 04:50 PM
why shouldn't simply use:

dpkg --force-architecture -i avg75fld-r51-a1243.i386.deb
The result is the same:

AVG 7.5 Anti-Virus Free for Linux successfully installed.

Perfect Storm
July 29th, 2008, 05:45 PM
Because forcing is not only bad policy but also it can break stuff to do so.

monjope
August 18th, 2008, 12:24 PM
Awesome!!. Thank you for this extraordinary tutorial!!! =D>

b1blancer
October 29th, 2008, 01:33 AM
Where do I find "Architecture" in order to change it from I386 to AMD64??

Perfect Storm
October 29th, 2008, 03:58 AM
When you do; nano avggui/DEBIAN/control

If it's not there, you properly made a mistake somewhere in te guide.

b1blancer
October 30th, 2008, 12:46 AM
When you do; nano avggui/DEBIAN/control
Ok. I'll give the process a try.

b1blancer
October 30th, 2008, 01:13 AM
That got it. The lights dimmed a couple of times, but everything seems to be working. :)

Panarchy
November 12th, 2008, 08:12 AM
Tested: Ubuntu 7.10 • 8.04 64 bit - Gnome

3. AVG Free Version for Ubuntu 64-bit

Before Installation

First you need some tool to edit/build .deb packages. To the terminal;


sudo aptitude update && sudo aptitude upgrade
sudo aptitude install build-essential dpkg-dev fakeroot

Installation

Download the .deb file here (http://free.grisoft.com/doc/5390/us/frt/0?prd=afl) to your Desktop.

Fire up the terminal;


cd ~/Desktop
mkdir free-avg
dpkg-deb --extract avg75fld-r49-a1130.i386.deb free-avg
dpkg-deb --control avg75fld-r49-a1130.i386.deb free-avg/DEBIAN
nano free-avg/DEBIAN/control

Under Architecture: change i386 to amd64

Save [ctrl]+[o]
Exit [ctrl]+[x]


dpkg --build free-avg
sudo dpkg -i free-avg.deb
sudo nano /usr/share/applications/avggui.desktop

Change: Exec=avggui to Exec=gksudo avggui
Change: Categories=GNOME;KDE;Application;Utility; to Categories=GNOME;KDE;Application;System;

Save [ctrl]+[o]
Exit [ctrl]+[x]

AVG is now ready to be used.
You can start it by Applications tab ---> System Tools ---> AVG for Linux Workstation

:(

Isn't working for me. Had to rename the name of the deb, got to the next command;


nano free-avg/DEBIAN/control

Gave me a blank 'document'. Tried with sudo. Same. Tried with gedit. Same. Tried navigating to free-avg/DEBIAN/control with nautilus. Tried with sudo. All gave me either nothing or an error saying file doesn't exist.

Please tell me how to install it.

Thanks in advance,

Panarchy

Ubuntu 8.10 64-bit

Perfect Storm
November 12th, 2008, 08:24 AM
Make sure to change file name in the terminal as the file keeps changing in every release of AVG.

Jwav3
January 23rd, 2009, 09:27 PM
I after having trouble using AVG, I installed F-Prot
from this post

"[64-bit] F-Prot (anti-virus) for Ubuntu 64-bit - Ubuntu Forums (http://ubuntuforums.org/showthread.php?p=4027250)"

and my AVG starts working - not sure why -
I still had go to the terminal window and
do the

"sudo avgscan -register" and I used this key

70FREE-TX-IB-P1-C01-S139FC-327-9FPB

I got this too.. You need to install the ia32 compat libs.

modmadmike
February 19th, 2009, 06:00 AM
Thanks I did this for the free version but changed the "i386" parameter to "all" and did it manually by extracting the files with ark and then using the dpkg -b command to rebuild the package seems much more easy the way you said to do it :). If only I read this beforehand.for some reason I could not use dpkg to install it but could use gdebi (dpkg said it was a directory...).

modmadmike
February 19th, 2009, 06:01 AM
Thanks I did this for the free version but changed the "i386" parameter to "all" and did it manually by extracting the files with ark and then using the dpkg -b command to rebuild the package seems much more easy the way you said to do it :). If only I read this beforehand.for some reason I could not use dpkg to install it but could use gdebi (dpkg said it was a directory...).

wait nvm I had a directory with the same name duh! ](*,)

runebinder
March 10th, 2009, 12:21 AM
Just followed your guide and it worked perfectly.

Thank you :D

TrueSkyDemon
April 3rd, 2009, 10:06 PM
Hi, I just recently installed Ubuntu 8.10 64bit, and I having problem after follow the steps and installed AVG. The problem is that once the package is installed, I do not see AVG in my applications and I do not see the AVG tray icon after reboot, I tried to open the package again it will show that AVG is already installed and ask me if I want to reinstall, but even after re-installation it still the same, can't find it anywhere, I tried looking for it in synaptic with no luck finding it as well, very weird.. but if I go under terminal and type avgscan, it actually shows it's there.. does anyone know what is going on?:confused:

Luis_com_Z
July 17th, 2009, 05:26 AM
Hi, I just recently installed Ubuntu 8.10 64bit, and I having problem after follow the steps and installed AVG. The problem is that once the package is installed, I do not see AVG in my applications and I do not see the AVG tray icon after reboot, I tried to open the package again it will show that AVG is already installed and ask me if I want to reinstall, but even after re-installation it still the same, can't find it anywhere, I tried looking for it in synaptic with no luck finding it as well, very weird.. but if I go under terminal and type avgscan, it actually shows it's there.. does anyone know what is going on?:confused:

I'm having the same problem, although I can find it in Synaptic as 'avg85flx'. Funny thing is, I was able to install it successfully on my notebook earlier last year, following this same HOW-TO (back then it was AVG version 7.5, not 8.5, but same difference). Whatever happened, I think the problem was when I entered


sudo nano /usr/share/applications/avggui.desktopnear the end, it opened a blank file. The command line scan seems to be working fine, the problem is only the absent GUI shortcut. I was thinking that maybe if just copied the 'avggui.desktop' launcher file from my notebook to my desktop /usr/share/applications folder, and maybe made some appropriate changes to it, I could get the GUI to work. Does that sound possible or am I being moronic? (I'm a major noob). I'd try it, but the problem is I botched my notebook Ubuntu installation a while ago trying to force it to update from 8.04 to 9.04 (I'm still kicking myself over it) and now it doesn't even boot. Well, actually it does boot, but it just hangs on a Debian splash screen that I have no friggin' idea where it came from. But I digress... Anyway, if just creating an 'avggui.desktop' file could work, maybe someone could post a sample text of their working file and give me a few pointers as to what I should change, if anything. If that's not feasible, what can I do to fix this? Thanks!

wild_ecstasy1985
October 21st, 2009, 01:37 AM
avggui.desktop does not exist :(

eewoud
October 13th, 2010, 08:50 AM
I followed these steps to install avg on ubuntu server 10.04 64 bit.
When I try to install the package, I get the following errors:



/usr/bin/avgctl: 17: /opt/avg/avg8/bin/avgctl: not found
dpkg: error processing avg85flx (--install):
subproces installed post-installation script returned an errorvalue 127
processing triggers for man-db ...
errors found while processing: avg85flx

eewoud
October 16th, 2010, 07:32 PM
I followed these steps to install avg on ubuntu server 10.04 64 bit.
When I try to install the package, I get the following errors:



/usr/bin/avgctl: 17: /opt/avg/avg8/bin/avgctl: not found
dpkg: error processing avg85flx (--install):
subproces installed post-installation script returned an errorvalue 127
processing triggers for man-db ...
errors found while processing: avg85flx


Can anyone help?? I've been looking for a solution to this problem for days, but just can't find any...