For newbies, the easiest way to install ClamAV is to find an RPM for SuSE. Look in
ftp://ftp.suse.com/pub/projects/clamav/. Go one level down to see if there is a newer version. On the next level choose your SuSE Version and Processor-Type
e.g., 9.3-i386 for SuSE 9.3 on a i386 compatible system. The program file requires about 1 MB, and the database file requires about 8 MB. The program file is the most important. When you run
freshclam later, it may update the database without needing to do this database ftp. But if
freshclam fails, come back and get this database RPM and install it like the other.
(If you use the generic source/compile download (not SuSE RPM) it will, by default, put the programs and documentation in places that SuSE
does not expect. Then it is hard to determine which files you're really running from, especially for a newbie to SuSE.)
- Use
ftp or wget to download the rpm file to a folder on your PC.
- Click on the icon representing the file. This should start a window with some information tabs. Review them if you wish.
- Click on the "Install with YaST" button.
- The installer may demand the SuSE installation DVD, or installation CD #4 (for older SuSE installations). Go ahead and humor the installer. It will pretend to install the older version, but the new one will actually be installed.
- Open a
konsole or gnome-terminal terminal/shell window.
- Run
/bin/su and then enter the root password. (I always do this out of habit. I get fewer gripes from the system that way.)
- Enter
freshclam. (It should update the database from the latest version. Be sure the modem/LAN is on and internet connected. If this doesn't work, go back to #1 and use ftp to download the database.)
- Change directory to "/" by entering
cd /.
- Enter
clamscan -i -r --detect-broken (This will scan every file on the system. It may take a while if you've got a lot of files. It will report only the problems found.)
For more information, enter
man clamscan or
man freshclam. Other interesting files are
/etc/clamd.conf and
/etc/freshclam.conf. You can run
find top_dir -name "clam*" -ls to find other files that may be of interest.
An other way to install the downloaded file is via
rpm.
Type
rpm -Uvh clamav-version-0.1.platform.rpm to upgrade (update) the installation.
Topic revision: r4 - 2008-09-12 - 22:00:29 -
SteveKelem