Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any real-time anti virus for Ubuntu? Which antivirus is good and in real-time (I mean that, if I try to open an infected file or go to a bad website, it stops it). I read a post in ubuntuguide and here is a part of it: Anti-virus

If you are running a file server, interface frequently with Windows drives or share files with Windows users, or use virtualization, you will want a virus checker for your Windows files.

Despite extensive misinformation, Linux is not immune from malware (witness the explosion of malware being created for the Linux-based Google Android systems). The malware is not usually spread within the OS itself (as long as the OS is a well-respected distribution obtained through official channels), but in trojan programs downloaded and installed by users outside of the normal software distribution channels (i.e. repositories) of the OS. There is always a danger to using programs downloaded from the Internet from sources other than respected repositories -- it is the primary reason that Debian and (K)Ubuntu retain tight control over their software repositories.

Any file can have malware embedded in it (which is trivial to achieve by concatenation, for example: cat originalfile.avi malware.exe > originalfileplusmalware.avi). The question is whether a user will try to open a file with a program (such as a media player) that has been compromised in a way that allows it to execute the code found in the infected media (e.g. .avi) file. This can occur not only for Windows users but for any OS (including Mac OSX and Linux) with a compromised program (e.g. media player). An example is the extensive problems the Mac OS community is currently having with the Flash player.

Routine scanning of any file downloaded from the Internet, any file imported from another user's computer (even a trusted source, since their attention to virus prevention may not be as compulsive as yours), or any attachment received in an email (even from a trusted sender) should be done with an anti-virus program. So I think that there is a need for anti-virus in Ubuntu.

share|improve this question
Note that this question is about anti-virus which offers real-time protection.So don't flag it as duplicate. – M.Tarun Oct 1 '13 at 6:19
antivirus against what? Windows platform or Ubuntu? – Alvar Oct 3 '13 at 7:09
Anti-virus for Ubuntu – M.Tarun Oct 3 '13 at 7:10
@Alvar My post is regarding a real-time 'antivirus' – M.Tarun Oct 3 '13 at 7:16
A great many people claim there is no need for one, but is it really true? Well, IMHO it depends on your set up: >Scenario 1 – Konrad Gajewski Feb 19 at 23:47
up vote 6 down vote accepted

As others have noted, you probably do not need it. However, comodo, kaspersky and few others offer real-time antivirus protection

share|improve this answer

Don't think there are any real-time antivirus programs for Linux that scans websites etc. on the run.

share|improve this answer

There is no need of a one. If such a virus comes specifically for Linux, there will be always a way to remove it. Can you seriously find such virus for Linux??

share|improve this answer
There have been cases of linux malware. – jmite Oct 1 '13 at 6:52
Yes, but very rarely and most of them relied on the user to store, chmod +x, and execute a file from a suspicious source. Tough I disagree with Naveen: malware with root privileges can set up a hypervisor to mask its existence and prevent its removal from inside the system. – David Foerster Oct 3 '13 at 9:25

Not sure but Avast might (it does in Windows) How to Ubuntu Also you can use Firefox and install the extension 'WOT'. It's not an anti-virus but it will warn you about potential attack sites you might click on.

share|improve this answer
AFAIK avast didn't – totti Oct 8 '13 at 8:51

How To Install Comodo Antivirus For Linux 1.1 X86-64 On Ubuntu 12.10 - Desktop X86-64:

You should note that it only scans for WINDOWS viruses, as do most antiviral tools for linux.

share|improve this answer

I've tried loading the Comodo one, the download link fails. I installed the Sophos Antivirus for Linux It was pretty easy to get and install on my Debian install. I just do it for the same reason their site says "To prevent the Linux machine from becoming a distribution point,..." I would be remiss if I just stored inert viruses on my Computer for my Windows machines to pick up at some point. Sophos scans for all platform malware, not just linux "threats." If the link fails in the future, it's in their "Free Tools" section.

Also several tools work in Chromium as extensions for checking safety of domains. Avira has one that works across platforms in Chrome. Also, using a DNS that is filtered is really a great starting point! Like the ones available at OpenDNS, which are free, and help filter out known malicious domains before you can proceed to them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.