Skip to main content

ANTI-VIRUS FOR LINUX



Do I need to have an anti-virus software for Linux? Isn't Linux virus free?
If it is virus free then why are some anti-virus software in the software-center? If you are an average user of Linux you might be having these questions.
So, do we really need an anti-virus software installed? The answer is 'yes' and 'no'. Don't worry after reading this post you will know if you need an anti-virus for your Linux.
There are viruses for most all platforms, they are just more common on Windows. You can actually run Windows without a virus scanner if you keep it patched and are really careful. If you are really careful and know what you are doing you can get away without a scanner. The fact of the matter is: viruses/worms take advantage of flaws or holes in the code.
There are some viruses targeted on Linux platform. Linux and other UNIX platforms are regarded are well protected, but not immune to computer viruses. It is said that Linux is not targeted because its low share market made it a less profitable target. But UNIX dominates most of the web servers, scientific workstations etc. An attacker targeting these systems would both have an extremely target-rich environment and instantly earn lasting fame. But that doesn't happen. The reason behind that is Linux is built with security in mind. Even if a security flaw is present there are thousands of eyes watching the code and people fix these flaws very quickly.
But still you might want to install an anti virus so that you might not want to spread windows viruses through your computer or you might want to scan windows partitions etc.
So let's take a look on the anti-viruses available:

CLAM AV:

Clam AV is a command-line based scanner for Linux. It is free and open-source. You can install it from the software-center. To install it from the terminal type the following :

sudo apt-get install clamav
For scanning to work, a virus database is needed. There are two options
for getting it:
clamav-freshclam: updates the database from Internet. This is
recommended with Internet access.
clamav-data: for users without Internet access. The package is
not updated once installed. The clamav-getfiles package allows
creating custom packages from an Internet-connected computer.
CLAM TK:
ClamTk is a GUI front-end for ClamAV using perl-Gtk2. To install it type the following in a terminal:

sudo apt-get install clamtk


The following anti-virus applications are useful to discover MSWindows specific threats. They can be installed by following the instructions given on their respective websites.
  • Avast
  • AVG
  • Avira
  • BitDefender
  • Comodo
  • ClamAV
  • Dr.Web
  • EScan for Linux
  • F-Prot
  • F-Secure Linux
  • Kaspersky Linux Security
  • McAfee VirusScan Enterprise for Linux
  • Panda Security for Linux
  • Symantec AntiVirus for Linux
  • Trend Micro ServerProtect for Linux
The following anti-virus applications will look for Linux specific threats:


  •  ESET
  • rkhunter
  • Sophos
  • chkrootkit

Popular posts from this blog

INSTALLING MOBILE PARTNER IN LINUX

Most of you who have a Huawei USB modem (data card) might have tried to install mobile partner (dash board) in Linux. Here I will show you how to install mobile partner in Linux. First, you have to copy the folder called Linux in the data card. The files in the data card are not accessible from Linux so copy them from Windows. Now right click the file “install” in the “Linux” folder. Go to the permissions tab and select the check box beside Allow executing as a program. Now open a terminal by pressing CTRL + ALT + Tkeys. Change the working directory to the folder “Linux” by using “cd <path to folder>”. Now type ./install. If you had installed this software in your system before, you will get a prompt: "The software is exist, do you want overwrites? ([Y]/[N])", enter "y" to overwrites or "n" to exit. If you do not had installed this software in your system before, you will get a prompt: "Please input the install path[/usr/local/Mobile_Partner]:"…

How to setup a wifi-hotspot in Ubuntu: The terminal way.

Ubuntu has a "Use as hotspot" mode. But it creates a n ad-hoc network only.Wireless hotspots aren't same as ad hoc networks. Significant difference is there. In short, ad hoc networks aren't supported in most Android, Windows Phone and Blackberry devices (and may be iOS devices too) whereas AP mode Wi-Fi hotspots are.

              It is really simple and easy to setup a hotspot in Ubuntu. We use a tool called ap-hotspot. To install it open a terminal and type the following:

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspot
             Next, to start the hotspot type the following in a terminal:
sudo ap-hotspot start
It asks you which adapter's internet you want to share, name of the network, password, etc. in an interactive manner. To stop the hotspot type the following n the terminal :
sudo ap-hotspot stop
To configure it type the following in the terminal :
sudo ap-hotspot configure

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

PROBLEM:
Some times we get the following error while trying yo install software using apt-get or synaptic packaging manager.
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?


How can we resolve this?
SOLUTION: 
The problem occurs if we are running another applications like synaptic using the directory. So, if this is the case close the applications and try run the command again.
You will also get this message if you forget to use  sudo  when executing an apt command. You can use sudo lsof /var/lib/dpkg/lock to find the process that owns the lock file Then try to kill the process to remove the lock.
**WARNING**
This should be used as last resort. If you use this carelessly you can end up with a broken system.
You can delete the lock file with the following command:
sudo rm /var/lib/apt/lists/lock


You may also need to delete the lock file in the cache directory.
sudo r…