分页: 1 / 1

unable to install avast

发表于 : 2009-10-31 2:01
365days.enjoy
I had unpacked the tar.gz file. the doc install file give the following message:

Installing from tarball
=======================

No installation is required, files in the bin/ can be run directly after
unpacking the .tar.gz archive. If you would like to integrate avast! into
your KDE or GNOME desktop, run

./lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh install

from the place where you unpacked the archive. Run

./lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh uninstall

to uninstall previously installed menu entries.

Please see the README file and man pages for more information how to use
the program.

but in the bin directory, that's only three files, avast, avastGUI and avast-update.
the content of the files are this like:

#!/bin/sh
#
# Execute avast! programs in safe environment.
#
# Variables affecting this script:
#
# AVAST_PREFIX ..... Sets prefix to avast! installation; default is to
# autodetect it and standard value is
# /usr/lib/avast4workstation.
# AVAST_FAILSAFE ... If set to "1", bundled version of GTK+ and X11
# libraries will be used even if there's system
# version available. Use in case of problems with GTK+.
#

PATH=/bin:/usr/bin:/usr/local/bin:$PATH
export PATH

# -----------------------------------------------------------------------
# Find avast! installation directory:
# -----------------------------------------------------------------------

if test -z $AVAST_PREFIX ; then
dirn=`dirname $0`
basen=`basename $0`
if test -d $dirn/../lib/avast4workstation ; then
AVAST_PREFIX=`cd $dirn/../lib/avast4workstation && pwd`
fi

if test ! -f $AVAST_PREFIX/lib/libavastengine-4.so.7 ; then
# try to resolve the symlink
file2=`ls -l $dirn/$basen | sed -e 's,.* -> \(.*\),\1,'`

if test -f "$file2" ; then
dir2=`dirname $file2`
if test -d $dir2/../../avast4workstation ; then
AVAST_PREFIX=`cd $dir2/.. && pwd`
fi
fi
fi

export AVAST_PREFIX
fi

# -----------------------------------------------------------------------
# Check the license key and VPS database for non-GUI users:
# -----------------------------------------------------------------------
..........

How can i install my avast? Thanks in advance!

Re: unable to install avast

发表于 : 2009-10-31 5:48
wowtxp
You speak english right?
First sentence told you that "No installation is required"
Just run it,upgrade and scan.

Re: unable to install avast

发表于 : 2009-10-31 12:33
365days.enjoy
wowtxp 写了:You speak english right?
First sentence told you that "No installation is required"
Just run it,upgrade and scan.

Thanks! I said the bin directory under home/downloads/avast/avast4workstation-1.3.0/bin

Now, I checked the ./bin

but I found nothing named avast. I don't know how to run.

What's wrong? thanks!