Installing using the rpm/deb packages
To install using rpm execute this command:
rpm -Uhv /path/to/fp-PLATFORM-ms-VERSION.rpm
And to install using deb, execute this command:
dpkg -i /path/to/fp-PLATFORM-ms-VERSION.deb
Installing 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 -c /path/to/fp-PLATFORM-ms-VERSION.tar.gz | tar -xvf -
Using the installation script
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.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 then /usr/share/man, and you might need to adjust it accordingly. If your system has rpm installed you can verify the location it prefers to put manual pages by executing the following.
rpm --eval "%{_mandir}"
Run these commands (as root):
ln -fs /usr/local/f-prot/f-prot.sh /usr/local/bin/f-prot< Previous | Back to Index | Next >
ln -fs /usr/local/f-prot/f-protd /usr/local/sbin/f-protd
ln -fs /usr/local/f-prot/man_pages/f-prot.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/etc/f-prot.conf.default /etc/f-prot.conf
chmod +x /usr/local/f-prot/f-prot
chmod +x /usr/local/f-prot/tools/check-updates.pl
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