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.)

  1. Use ftp or wget to download the rpm file to a folder on your PC.
  2. Click on the icon representing the file. This should start a window with some information tabs. Review them if you wish.
  3. Click on the "Install with YaST" button.
  4. 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.
  5. Open a konsole or gnome-terminal terminal/shell window.
  6. 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.)
  7. 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.)
  8. Change directory to "/" by entering cd /.
  9. 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
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback