Avast for Linux

What do you have and what do you want?

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Avast for Linux

Postby viking60 » 03 May 2010, 00:58

I did it with yaourt from aur. aur/avast 1.3.0-3. Hm I assume that the install is okay but the version could be "out".
Removing it.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Avast for Linux

Postby dedanna1029 » 03 May 2010, 01:00

I don't do that with packages that are already in tar.gz format (edit: unless they require compiling). Doing that with packages that are already compiled as tar.gz, I've found doesn't normally work. Best to use the ones already "there" so to speak, as they are. I mean, how much more compiling can there be to do, in a file system that's already a tar.gz-based file system? For instance, take a look at the contents of this tar.gz - it's already compiled. All one has to do is move, if one wants a full installation, the contents of the /bin folder to /bin, the /lib contents to /lib, and the contents of the /share to /usr/share. It's already compiled. There are those that aren't that require compiling, but this one doesn't.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Avast for Linux

Postby viking60 » 03 May 2010, 01:10

It is no sweat: http://bbs.archlinux.org/viewtopic.php?id=25718
The point is; the same error has occurred on two distros - Not nice = out of my box :twisted:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Avast for Linux

Postby rolf » 03 May 2010, 01:28

I saw the avast site said for i586 but went ahead. I don't understand the intricacies but assume that, if it got as far as launching the gui, it was working as well on my x86_64 system as it would if I had a basically i586 system. I mean, i586 programs running on x86_64 architecture OS is not uncommon, right? Viking, is your Arch installation x86_64 also?

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Avast for Linux

Postby viking60 » 03 May 2010, 14:10

rolf wrote:I saw the avast site said for i586 but went ahead. I don't understand the intricacies but assume that, if it got as far as launching the gui, it was working as well on my x86_64 system as it would if I had a basically i586 system. I mean, i586 programs running on x86_64 architecture OS is not uncommon, right? Viking, is your Arch installation x86_64 also?


Nope it is i586, but Avast needs to be 32 bit so that will be in the package instructions.

From my PKGBUILD:

Code: Select all

# Force avast to use system lib32 on 64 bit machines to fix the interface
if [ "$CARCH" = "x86_64" ]; then
  cd ${pkgdir}/usr/lib/avast4workstation
  mv lib-gtk2 lib-gtk2-backup
  mv lib-x11 lib-x11-backup
  cd ${pkgdir}/usr/bin
  patch -p0 -i ${srcdir}/gtk-wrap.patch || return 1
fi


It does not fix the Interface tho.. so I guess it is buggy. Not working on 64bit (yours) and 32bit (mine).
Here is the full PKGBUILD for the especially interested:

Code: Select all

# Contributor: Peter Vogl <[email protected]>
# Contributor & Maintainer: Jori Hardman <[email protected]>

pkgname=avast
pkgver=1.3.0
pkgrel=3
pkgdesc="Avast4workstation anti-virus (Home/Non-Commercial Only)"
arch=('i686' 'x86_64')
url="http://www.avast.com/"
depends=('gtk2')
[ "$CARCH" = "x86_64" ] && depends=('lib32-gtk2' 'lib32-libxdamage')
license=('custom')
source=(http://files.avast.com/files/linux/avast4workstation-${pkgver}.tar.gz
        avast.desktop
        avast.png
        gtk-wrap.patch)
install=avast.install
md5sums=('dd5965521c7ad01904e262f43489243b'
         '6d156a547b8e3cf1040176eb8181febf'
         '488e60bd262d6937540d453424a0cac7'
         'c9886350bbcabe9da883e01a52588263')

build() {
# Business as usual
cd ${srcdir}/avast4workstation-${pkgver}

# Copy all source files to /usr
install -d ${pkgdir}/usr
cp -r ./* ${pkgdir}/usr || return 1 # meh, cp will work for now

# Force avast to use system lib32 on 64 bit machines to fix the interface
if [ "$CARCH" = "x86_64" ]; then
  cd ${pkgdir}/usr/lib/avast4workstation
  mv lib-gtk2 lib-gtk2-backup
  mv lib-x11 lib-x11-backup
  cd ${pkgdir}/usr/bin
  patch -p0 -i ${srcdir}/gtk-wrap.patch || return 1
fi

# Install start menu entry and icons
install -D -m644 ${srcdir}/avast.desktop ${pkgdir}/usr/share/applications/avast$
install -D -m644 ${srcdir}/avast.png ${pkgdir}/usr/share/pixmaps/avast.png

# Install license information
install -d ${pkgdir}/usr/share/licenses/avast
install ${pkgdir}/usr/share/doc/avast4workstation-$pkgver/{EULA,INSTALL,LICENSE$
        ${pkgdir}/usr/share/licenses/avast
}
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Avast for Linux

Postby dedanna1029 » 22 Jun 2010, 05:15

Just curious if you guys checked the system requirements for it?
* Any Linux distribution (x86 platform only) with GLIBC version 2.1 or higher and pthreads libraries installed
* 486 processor (Pentium or higher recommended)
* 32 MB RAM (64 MB recommended)

http://www.avast.com/linux-home-edition#tab3

Just curious; it's working fine for me in Arch and Fedora both.

Also, Rolf, http://www.avast.com/linux-home-edition#tab4
Note: the program will not work without a valid license key. To get your key, please use the registration form.


More than anything at the time, I was curious about the .rpm; for now, I'm using the tar.gz in both Fedora and Arch.

Note boss, that there is also a server edition, although it costs.

I'm over the "there are no vulnerabilities in Linux" stuff. It's no safer in reality than anything else. Just ask the trojans in FB, and MSN Msngr.

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Avast for Linux

Postby rolf » 22 Jun 2010, 17:00

dedanna1029 wrote:Also, Rolf, http://www.avast.com/linux-home-edition#tab4
Note: the program will not work without a valid license key. To get your key, please use the registration form.



See earlier in the thread:
rolf wrote:Although the site says there is a trial period before the key is necessary, it didn't seem to want to start without the key. Once I entered the key, ...


Probably, they edited their page to remove bad info about the trial period working without a key:

Image

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Avast for Linux

Postby dedanna1029 » 22 Jun 2010, 18:34

Could be, who knows. *shrug*
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Software”