Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Does Linux need anti-virus? I searched & some sites are providing free antivirus for Ubuntu and Linux. When does it needs anti-virus?

share|improve this question

marked as duplicate by Avinash Raj, Rinzwind, Web-E, minerz029, LiveWireBT Jan 3 at 10:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers 4

up vote 2 down vote accepted

You don't need antivirus fir linux

Few Linux Viruses Exist in the Wild

The core reason you don’t need an antivirus on Linux is that very little Linux malware exists in the wild. Malware for Windows is extremely common. Shady advertisements push nasty software that is practically malware, file-sharing sites are full of infected programs, and malicious individuals target security vulnerabilities to install Windows malware without your permission. With this in mind, using an antivirus program on Windows is an important layer of protection.

However, you are very unlikely to stumble on – and be infected by – a Linux virus in the same way you would be infected by a piece of malware on Windows.

Whatever the reason, Linux malware isn’t all over the Internet like Windows malware is. Using an antivirus is completely unnecessary for desktop Linux users.

Why Linux is Safer Than Windows

Here are a few reasons why Windows struggles with a malware problem, while few pieces of malware target Linux:

Package Managers and Software Repositories: When you want to install a new program on your Windows desktop, you head to Google and search for the program. When you want to install most programs on Linux, you open your package manager and download it from your Linux distribution’s software repositories. These repositories contain trusted software that has been vetted by your Linux distribution – users aren’t in the habit of downloading and running arbitrary software.

Other Security Features: Microsoft has been doing a lot of work to fix serious security problems with Windows. Until UAC was introduced with Windows Vista, Windows users almost always used the Administrator account all the time. Linux users normally used limited user accounts and became the root user only when necessary. Linux also has other security features, like AppArmor and SELinux.

Market Share and Demographics: Linux has historically had low market share. It has also been the domain of geeks that tend to be more computer-literate. Compared to Windows, it’s not nearly as big or easy a target.

Staying Secure on Linux

While you don’t need an antivirus, you do need to follow some basic security practices, no matter which operating system you use:

Keep Your Software Updated: In an age when browsers and their plug-ins – particularly Java and Flash – are the top targets, staying up-to-date with the latest security patches is important. The biggest malware problem on Mac OS X was caused by the Java plug-in. With a cross-platform piece of software like Java, the same vulnerability can work on Windows, Mac, and Linux. On Linux, you can update all your software with a single, integrated updater.

Beware Phishing: Phishing – the practice of creating websites that pretend to be other websites – is just as dangerous on Linux or Chrome OS as it is on Windows. If you visit a website that pretends to be your bank’s website and enter your banking information, you are in trouble. Luckily, browsers like Firefox and Chrome on Linux have the same anti-phishing filter they do on Windows. You don’t need an Internet security suite to protect against phishing. (However, bear in mind that the phishing filter doesn’t catch everything.)

Don’t Run Commands You Don’t Trust: The Linux command prompt is powerful. Before you copy-paste a command you read somewhere into the terminal, ask yourself whether you trust the source. It could be one of the 8 Deadly Commands You Should Never Run on Linux.

When You Need an Antivirus on Linux

Antivirus software isn’t entirely useless on Linux. If you are running a Linux-based file server or mail server, you will probably want to use antivirus software. If you don’t, infected Windows computers may upload infected files to your Linux machine, allowing it to infect other Windows systems.

The antivirus software will scan for Windows malware and delete it. It isn’t protecting your Linux system – it’s protecting the Windows computers from themselves.

source1 Source2

share|improve this answer

In most peoples experience, Linux doesn't NEED anti-virus. I recently read an article about Linux anti-virus and this isn't an exact quote not is it the exact truth. but its not far from it: "For every thousand viruses or worms for windows, theres one for mac. And for every thousand for mac, theres one for Linux." I know plenty of users who don't use anti-virus with Ubuntu, and haven't had a single threat let alone a successful attack. If you're doing some adventurous browsing or snooping where you should, or you just want to be more safe than sorry, sure get anti-virus. But you shouldn't worry if not.

share|improve this answer

you don't need an antivirus unless you are on a dual boot system and want to scan the windows partitions. And also don't install any software outside software center unless you really trust them and you'll be fine and as you say you are new take it as an advice, be careful with terminal commands that you find on the internet especially that start with "su, sudo and gksu" and also that which have wget and sh (download and execute script)types

bottom line you don't need an av as long as you know what you are doing and if you don't know what you are doing Av cant help

share|improve this answer

As far as I understand he means not a mere virus that deletes files and destroys OS, he means malware stuff like trojans, keyloggers, profile checkers.. Yes Linux is safer as compared to Windows but how can he make sure that he won't get a rootkit stuff from unsafe repositories? It's possible though noone mentions here. I personnally use one of the "personal firewalls" to detect suspicious activities, I feel safer. You can find "personal firewalls" on the net.

share|improve this answer

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