FRISK Software International

How to download, install and maintain F-PROT Antivirus for UNIX.

Topics below:

Installing the F-PROT Antivirus for UNIX

Note: Below are installation instructions for F-PROT Antivirus for UNIX (Mail Servers | File Servers | Workstations )

To install using rpm execute this command:

  • rpm -Uhv /path/to/fp-PLATFORM-ms-VERSION.rpm

To install using deb, execute this command:

  • dpkg -i /path/to/fp-PLATFORM-ms-VERSION.deb

To install from a tarball:

We recommend using /usr/local/f-prot as the installation directory for f-prot. After downloading the tarball issue the following commands:

# cd /usr/local
# gunzip /path/to/fp-PLATFORM-ms-VERSION.tar.gz | tar -xvf -

Using the installation script:

(Workstation and File Server versions)

F-PROT Antivirus comes with an installation script called install-f-prot.pl. It can be found in the directory created when extracting the tarball.

(Mail Server Version)

F-PROT Antivirus comes with an installation script call install-f-prot.pl. It can be found in the directory created when extracting the tarball. This installation script can be used to automatically configure your mailserver setup for in-transit mail scanning.

(All versions)

If you choose to use this script, you can skip the next step titled "Installing manually." To run the script, change to the f-prot/ directory and execute it:

cd /usr/local/f-prot/
./install-f-prot.pl

Follow the instructions printed to the screen.

Installing manually:

Note: If upgrading from an older version of F-PROT Antivirus for UNIX, run the following command (as root) before installing to remove the older version:

rm -rf /usr/local/f-prot

The suggested installation procedure is as follows. Please substitute the word "PLATFORM" in the instructions below with the appropriate platform and the work "VERSION" with this release's actual version number. Also, note that your manual pages may be stored in a different path than /usr/share/man, and you might need to adjust it accordingly. If your system has rpm installed, you can verify the location at which it prefers to put manual pages by executing the following.

rpm --eval "%{_mandir}"

Run these commands (as root):

(All versions)

ln -fs /usr/local/f-prot/f-prot.sh /usr/local/bin/f-prot
ln -fs /usr/local/f-prot/f-protd
ln -fs /usr/local/f-prot/man_pages/f-protd.1 /usr/share/man/man1/
ln -fs /usr/local/f-prot/man_pages/check-updates.pl.8 /usr/share/man/man8/
ln -fs /usr/local/f-prot/man_pages/etc/f-prot.conf.default /etc/f-prot.conf
chmod +x /usr/local/f-prot/f-prot.conf
chmod +x /usr/local/f-prot/f-prot
chmod +x /usr/local/f-prot/tools/check-updates.pl

(Fileserver and Mailserver version)

ln -fs /usr/local/f-prot/man_pages/f-protd.8 /usr/share/man/man8
ln -fs /usr/local/f-prot/man_pages/f-prot.so.8 /usr/share/man/man8
chmod +x /usr/local/f-prot/f-protd

(Mailserver version)

ln -fs/usr/local/f-prot/man_pages/scan-mail.pl.8 /usr/share/man/man8
chmod +x /usr/local/f-prot/tools/scan-mail.pl

(Mailserver version)

Please note! For instructions on how to manually configure F-PROT Antivirus as a mail scanner please see Chapter 5 in this help file, Common Functions.

Updating the virus signature files automatically

To automatically update the virus signature files you can use the check-updates.pl perl script in conjunction with cron. Cron is the built-in command scheduler in UNIX. To schedule check-updates.pl to run periodically, you must create the crontab scheduler file. Please consult your system manual to find out how.

The most common command for creating a crontab is 'crontab -e'. Running it will start an editor where you must fill in the time and date fields appropriately.

Please note that as most users set the updater to check for and download new virus signature files on the hour (e.g. 9:00 or 16:00) you can optimize your download speed by setting the updater starting time to any number of minutes past the hour (e.g. 9:07 or 15:43). In this way you avoid the heaviest download traffic.

The time and date fields are:

field allowed values
minute 0-59
hour 0-23
day of month 1-31
month 1-2 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)

Example:

27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron

With this configuration, you will get e-mails whenever signature files are updated or when an error occurs. If you only want to receive e-mail only when an error, occurs, then you want to include the -quiet parameter:

27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet

Please make sure you run check-updates.pl as root, otherwise it will not have filesystem permissions to update the virus database. For further information about check-updates.pl, please consult the check-updates.pl manual page.

Updating the virus signature files manually

The virus signature files are stored in two files. On one hand the virus signature files for Application/Script viruses and Trojans, called sign.def and sign2.def. On the other hand the virus signature file for Document/Office/Macro viruses, called macro.def. You can update either of these files or both at once.

To update the virus signature files, please type the following and press Enter:

/usr/local/f-prot/tools/check-updates.pl

You should receive a screen output similar to this:

If you update only the virus signature files for Application/Script viruses and Trojans you should receive a screen output similar to this:

If you update only the virus signature files for Document/Office/Macro viruses you should receive a screen output similar to this:

If there are no updates available, you get a message telling you that there is nothing to be done.

Upgrading the program

To upgrade F-PROT Antivirus for UNIX, simply remove the old version and install the new one. If rpm is being used, run the rpm command with the -U option instead if the -i option.

For further information, see instructions in "Installing F-PROT Antivirus for UNIX"

Running a normal scan

If you wish to perform a normal scan, please type the following and press Enter:

f-prot /(type path of file(s) to be scanned)


Feedback | Contact Technical Support | Contact Sales Support

 
F-PROT Antivirus
- for Windows
- for UNIX
- for Exchange
F-PROT AVES
F-PROT Antivirus
- for Windows
- for UNIX
- for Exchange
F-PROT AVES
Stay up to date with life cycle policies for F-PROT Antivirus for Windows.
Definitions of common antivirus terminology.

More information about F-Prot Antivirus for UNIX:
Help files
Manual pages

agoat@klaki.net argentina@f-prot.com argentina@frisk.is argentina@complex.is argentina@f-prot.is argentina@frisk-software.com argentina@f-prot.net argentina@f-prot.co.uk brazil@f-prot.com brazil@frisk.is brazil@complex.is brazil@f-prot.is brazil@frisk-software.com brazil@f-prot.net brazil@f-prot.co.uk malta@f-prot.com malta@frisk.is malta@complex.is malta@f-prot.is malta@frisk-software.com malta@f-prot.net malta@f-prot.co.uk a.bjani@f-prot.com a.bjani@frisk.is a.bjani@complex.is a.bjani@f-prot.is a.bjani@f-prot.co.uk a.bjani@frisk-software.com a.bjani@f-prot.net z.fifl@f-prot.com z.fifl@frisk.is z.fifl@complex.is z.fifl@f-prot.is z.fifl@f-prot.co.uk z.fifl@frisk-software.com z.fifl@f-prot.net strumpuri@complex.is strumpure@complex.is strumpuru@complex.is