In yesterday's post (see "Scan a Windows drive for viruses using Linux") in which I mentioned the Avira Antivir software. This piece of software is a commercial, cross-platform anti-virus solution that offers both a GUI and a command line interface. For this article we will only deal with the command line version of the tool.
The Avira company offers a number of different solutions. Scan through their product overview to find out which solution is best for you. But for this article we are looking at the Avira Antivir workstation solution for linux. In this article I will show you how to install and use this outstanding product.
Before you begin
There is one pre-requisite for installation. If you want to use the real-time scanner you have to have Dazuko installed. This is a fairly complex installation which requires either building your own kernel or compiling Dazuko against your kernel source. We will deal with this in a later article, so skip the AvGuard installation for now.
Once this is finished you are ready to install Antivir.
Unpacking and installing
Hopefully you have already downloaded the source from the link above (see Avira Antivir workstation solution for Linux). Open up a terminal and change to the directory holding that file. The first step is to unpack the tar with the command:
Using AntiVir is actually quite simple. Here are some of the commands you will want to know:
NOTE: With only a trial license, the --update argument (used to check for updated virus signatures) will not work. For more arguments to use with the antivir command issue the command antivir -h (as you will not find a man page for this command).
Avira's Antivir is a powerful tool for the fight against viruses. And just because you are using a Linux workstation, does not mean you should snub anti-virus solutions. You get files from people that you pass on to others (others who may not be using Linux as their workstation). You will want to make sure those files are virus-free.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.