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

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network