Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

ClamAV: A Workable Linux Anti-Virus Scanner

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close Window

A. Lizard

Learn more…

Opera Unite: A Personal Webserver Built In to Your Browser, Part 2
Oct 15, 2009
Opera Unite: A Personal Webserver Built In to Your Browser, Part 1
Oct 2, 2009
Vanish: Email that Disappears After Sending - A Review
Oct 1, 2009
A First Look at Kubuntu-Jaunty (v9.04)
Jul 8, 2009
Zfone: Secure Cross-Platform Voice Communication for Linux
May 5, 2009
Taming the Wild Eee PC: Replacing the Operating System, Part 2
Feb 27, 2009
Taming the Wild Eee PC: Replacing the Operating System, Part 1
Feb 20, 2009
Customizing Firefox
Dec 1, 2008
Lotus Symphony for Linux: Not Ready for Prime Time
Nov 10, 2008
Examining Alternative Linux Distributions
Nov 3, 2008
Installing OpenSUSE 11: Not Ready for Prime Time
Oct 13, 2008
Ubuntu-Hardy-Gnome: The Review
Sep 19, 2008
Sun VirtualBox (xVM): A Virtualization Environment for Linux, Part 2
Aug 22, 2008
Sun VirtualBox (xVM): A Virtualization Environment for Linux, Part 1
Aug 18, 2008
Breaking Down OpenSolaris on the Desktop
Jul 18, 2008
Advanced Configuration for Automated Repository Setup for Debian
May 9, 2008
ClamAV: A Workable Linux Anti-Virus Scanner
Apr 1, 2008
Recoll: A Linux Desktop Search Engine That Works
Feb 29, 2008
Converting an IDE HD Mass Storage to SATA Storage in Linux
Nov 2, 2007
Using a PDA with Linux, Part 2: Cards and Conversions
Apr 21, 2006
Using a PDA with Linux, Part 1: Connecting Palm and PDA
Apr 14, 2006
E-Mail Encryption for Linux: A Startup Guide
Jan 27, 2006
What's Wrong with Linux?
Nov 18, 2005
DIY Printer Ink Cartridge Refill Options
Nov 11, 2005
OpenOffice Writer vs. TextMaker: Which Linux Word Processor Should You Use?
Feb 4, 2005
Security Considerations for Website Developers
Aug 20, 2004
Protecting Your Email Address with an Anti-Spam Encoder
Jun 18, 2004
Yes, There Ought To Be a Law (or "Why We Should Sue Clueless Endusers for Sending Spam")
Apr 30, 2004

Sorry, this author hasn't posted any blogs.

Linux Administration Handbook, 2nd Edition

Like this article? We recommend
Linux Administration Handbook, 2nd Edition

Yes, Linux has virus scanners. Internet consultant A. Lizard tells you why you need one — to protect yourself and to protect Windows users to whom you send e-mail. You’ll also learn how to use a good Linux AV program called ClamAV and install it in a Debian environment.

While Linux AV is unfashionable, I’ve used it for years. While purists will say that it’s unnecessary due to the separation between user and admin accounts in Linux, I see this as merely raising the barrier for malware entry. There was a time when running an AV on DOS or the original MacOS was seen as a sign of paranoia.

The other point of running a Linux AV is so when you pass along file attachments collected online to Windows-using associates, you aren't passing along any virus contamination found in the original documents.

Other Linux AV programs include:

  • AVG: It's a nice GUI, but I never could get the update AV database feature to work.
  • F-Prot: F-Prot is no longer a top-ranking Linux AV product (subscriber-only).
  • avast!: I just discovered this recently. It's not available via repository, but binaries can be found at the avast! website.

Installation

Installation and use of ClamAV is not recommended for Ubuntu; the most current AV and database versions for ClamAV are in the Debian-Volatile repositories, which are incompatible with Ubuntu due to different dependencies. Ubuntu users might want to look at avast!.

  1. First, install debian-volatile; signing key and repository information (see Why Add 'Volatile' to Your Repositories?).
    # curl http://www.debian.org/volatile/etch-volatile.asc | apt-key add -
    
    # nano /etc/apt/sources.list
    
    add: deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
    
    # apt-get update
  2. Then install the virus scanner and automatic updater:
    # aptitude install clamav freshclam
  3. Substitute the locations in which your mail client keeps its embedded and attached files for the locations listed below. The following is a single command line:
    $ clamscan -i -l clamscan1.txt --move=virus /home/username/win/Eudora1/attach-3 ; clamscan -i -l clamscan1.txt --move=virus /home/win/Eudora1/Embedded
  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Dustin SullivanIf You Are New to Mac/Objective-C Programming...
By Dustin Sullivan on June 5, 2009 No Comments

We recently sat down with several top Objective-C and Cocoa developers to talk about that state of the iPhone and OS X markets as we approach this year's WWDC.  As we were wrapping up, we threw one last question at them out of curiosity, and we thought you'd like to see what some of them said.

It's Here; Put Away Your Pre-Conceptions on What an OS Must Be: Part V
By John Traenkenschuh on May 27, 2009 No Comments

It's been a long while since you had a chance to be excited about a new version of an 'old' OS.  Now is your chance.

It's Here; Put Away Your Pre-Conceptions on What an OS Must Be: Part IV
By John Traenkenschuh on May 27, 20095 Comments

Graphical User Interfaces were important.  So was cost control.  Just what must an OS be?

See All Related Blogs

Informit Network