antivir - Virus scanner ChangeLog

HOWTO


# Avira AntiVir Personal
# ======================
# They have decided to stop further development for all Linux products
# as of June 30, 2013 and all updates as of June 30, 2016.
#
# http://www.avira.com/en/support-for-home-knowledgebase-detail?kbid=1491
# http://www.linuxtoday.com/it_management/avira-says-farewell-to-linux.html
#
# =====

# This is free for private, non-commercial use.  If you need a commercial
# virus scanner, check out their commercial one.

# You used to have to contact them periodically to get a licence, this is no
# longer necessary.

## I don't know if they'll keep it there, but an alternate download
## URL that I've used in the past is:
# http://free-av.com/personal/en/unix/antivir-workstation-pers.tar.gz

cd
test -f installed/antivir-workstation-pers.tar.gz &&
mv installed/antivir-workstation-pers.tar.gz .
test ! -f antivir-workstation-pers.tar.gz &&
wget http://dlce.antivir.com/down/unix/packages/\
antivir-workstation-pers.tar.gz
mv antivir-workstation-pers.tar.gz antivir-workstation-pers-2.1.12-19.tar.gz

# Verify tarball w/ md5sum:
# (this is for 2.1.12-19)
echo "c2a5017b69cd959c76135af8fa44fe60\
  antivir-workstation-pers-2.1.12-19.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "antivir-*" -exec rm -r {} \;
tar xzvf ~/antivir-workstation-pers.tar.gz
cd antivir-workstation-pers-2.1.12-19
test $UID = 0 && chown -R root:root .

# Read the docs
less ./README
less doc/CHANGELOG
less doc/RELEASE_NOTES
less doc/MANUAL

# Become root to install it
su

# Run the setup program.
# I hit enter for the location of the key (it's in .), I say yes for
# installing the internet update daemon, I say yes to a link in
# /usr/sbin for avupdater, yes to starting it automatically, no to
# AvGuard, yes to configuring the updater now, yes to e-mailing me,
# and answer the default for most other things, and all goes well.
./install

# If you have logrotate installed, and you told the setup to log to
# /var/log/avupdater.log, set logrotate to rotate it
cat << EOF > /etc/logrotate.d/antivir
/var/log/avupdater.log {
    rotate 6
    daily
    copytruncate
}
EOF
chmod 600 /etc/logrotate.d/antivir

# The antivir program is /usr/lib/AntiVir/antivir, and there is a
# /usr/bin/antivir symlink so you don't have to specify the full path when
# /running it

# If you ever want to update AntiVir manually, run 'antivir --update'

# The updater program is /usr/lib/AntiVir/avupdater and if you told it to
#  create one, there is a /usr/sbin/avupdater symlink (in the examples
#  below, you can use /usr/sbin/avupdater /instead)
# The configuration file for the updater is /etc/avupdater.conf
# To configure the updater, run '/usr/lib/AntiVir/configantivir' (or edit
#  the config file)
# To start the updater manually, run '/usr/lib/AntiVir/avupdater start'
# To stop the updater manually, run '/usr/lib/AntiVir/avupdater start'
# To check the updater's status, run '/usr/lib/AntiVir/avupdater start'

# You can set up AntiVir's updater to use GPG to verify the engine and
# program updates that it downloads.  See pgp/README for more info.
#
# Import the AntiVir PGP key into your keyring.  See pgp/README for more info.
gpg --import pgp/antivir.gpg
#
# Compare the fingerpring with the one listed on the web site (look for
# "PGP Fingerprint" on the right):
# http://www.avira.com/en/downloads/
# Here is the fingerprint itself:
# 2C17 C571 A1A7 C5BC 2AF5  A3DC 2DDE 9417 0F82 1C2E
gpg --fingerprint build@avira.com
#
# And sign it if you think it's OK
gpg --sign-key build@avira.com
#
# This will verify that the antivir binary has not been tampered with
gpg --verify bin/antivir.asc bin/antivir
#
# To make it actually start using it, uncomment the GnuPGBinary line in
# /etc/avupdater.conf, fix the path if necessary, and then restart it
/usr/lib/AntiVir/avupdater stop
/usr/lib/AntiVir/avupdater start

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/antivir-*.tar.*
mv antivir-workstation-pers.tar.gz installed/


# If you ever want to uninstall AntiVir, this should do it:
su
test -x /usr/lib/AntiVir/avupdater && /usr/lib/AntiVir/avupdater stop
sleep 1
killall antivir > /dev/null 2>&1
sleep 1
killall -9 antivir > /dev/null 2>&1
rm -f /usr/bin/antivir /usr/bin/antivir-gui /usr/sbin/avupdater
( cd /etc ; rm -f avguard.conf avupdater.conf avupdater.conf.backup )
find /etc/rc.d -type l -name "???avupdater" -exec rm {} \;
test -d /usr/lib/AntiVir && rm -r /usr/lib/AntiVir
groupdel antivir
exit
find ~/src -maxdepth 1 -type d -name "antivir-*" -exec rm -r {} \;
rm -f ~/installed/antivir-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2013-07-11 11:36pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]