ClamAV

From openSUSE

Contents

ClamAV

Clam AntiVirus is an open source command line virus scanner released under GPL. It is especially designed for email scanning on mail gateways. The are two visual frontends to clamav: ClamTk and KlamAV.

Features

ClamAV supports the following features:

  • command-line scanner
  • fast, multi-threaded daemon with support for on-access scanning
  • advanced database updater with support for scripted updates and digital signatures
  • virus scanner C library
  • built-in support for various archive formats, including Zip, RAR, Tar, Gzip, Bzip2, Cabinet, CHM
  • built-in support for ELF executables and Portable Executable files

Version

To determine the installed version of clamav and associated frontends, issue the following.

> clamdscan --version
ClamAV 0.95
> klamav --version
Qt: 3.3.8b
KDE: 3.5.10 "release 21.9"
: 0.46

Manual Update

To manually update ClamAV, visit http://clamav.net and download clamav. Verify the signature or checksum, unpack the package, read UPGRADE and INSTALL, and then perform the following.

Step 1

Configure using a standard account. Since configure only requires reading source files and invoking tools, a standard account is adequate. Note that clamav default prefix is /usr/local, which is a different path than used by the OpenSuse rpm.

> cd clamav-0.95.1
> configure --prefix=/usr --disable-clamav

If you receive the error message, User clamav (and/or group clamav) doesn't exist, you most likely did not pass --disable-clamav to configure.

Step 2

Make using a standard account.

> make

Step 3

Acquire administrative privileges and then change directory into the package directory used to build clamav.

> su -
password:
cd clamav-0.95.1

Step 4

Install the new clamav.

# make install

Step 5

Return to a standard user account.

# exit

External Links