Before installation

Please install BZIP2 library and utility from the download section of this site if you want to get support bz2 files.
@configure
@build
@bzip2$startup

Installation




Installation process leads to three simple steps:

@CONFIGURE
@BUILD
@CLAMAV$STARTUP.COM


Build process makes a [.BIN] directory with all required executable files needed.

CLAMSCAN is utility provided for command-line virus checking. Started without arguments,
it scans files in the current directory.Please refer
$CLAMSCAN --help
to see what it does

START$CLAMD.COM starts clamd daemon for clamav clients. A simple client provided is a CLAMDSCAN utility.
To learn more about CLAMD daemon, please look into
Official Clamav documentation
CLAMDSCAN is closer to CLAMSCAN, tests files listed as arguments.

FRESHCLAM utility updates antivirus database, and START$FRESHCLAM.COM script loads it in daemon mode
for one check per day.
To learn FRESHCLAM features, please refer
$FRESHCLAM --help

Before using CLAMD and FRESHCLAM, please refer and edit correspond configuration files located:
CLAMAV_ETC:CLAMD.CONF and CLAMAV_ETC:FRESHCLAM.CONF
CLAMD and FRESHCLAM have their log files located CLAMAV_DATA:CLAMD.LOG and CLAMAV_DATA:FRESHCLAM.LOG

IMPORTANT! Archive files to be scanned should be Fixed length 512 byte records. Other RMS types may not be supported.

Update


Update mode is switching on via passing UPDATE to CONFIGURE.COM procedure
$@CONFIGURE UPDATE
CONFIGURE procedure will get configuration and virusbase from previous installation (if any).

Steps to update:

1. Stop CLAMD daemon:
$@STOP$CLAMD

2. Stop FRESHCLAM daemon:
$@STOP$FRESHCLAM

3. Lets go to compilation:
$@CONFIGURE UPDATE [EXPERIMENTAL]

Please be sure that words are appeared:
... "Importing Clamav configuration..."
... "Done"

$@BUILD
$@CLAMAV$STARTUP


You may delete directory containing previous clamav installation now.
Of course, if you absolutely sure that new version is working fine ;)