All distributions that have the Nautilus file manager, such as Ubuntu, among others, can follow this simple tutorial to be able to integrate the Avast Antivirus on Nautilus and thus be able to use it in a simpler way to analyze directories and files. That in GNU / Linux you do not need antivirus or protection is not true, even if it is a safe system, but all precautions are little and you should consider using protection methods if you still do not have them.
But the first thing obviously is install the latest version of Avast antivirus in your distro, for this you must access the Avast website and download the timely package. There are DEB packages, so installation will be easy. Once installed, from the console or graphically with the help of some tools such as Gdebi, we can open the antivirus and update its signature base from Tools, Preferences and in the Update tab, we select automatic update.
To add it to Nautilus and so with a click with the right button that the Avast Scanner option appears, we simply go to Nautilus-Actions that will allow us to add actions. Now "Define new Action" and it will give us a window with several tabs from which we can act. Be careful, if you don't have Nautilus-actions installed, you won't be able to do it, so first of all:
sudo apt-get install nautilus-actions
Here at the Action tab We can edit the text that will be displayed, such as "Scan this ..." in the "Context label", "Toolbar label" and "Tooltip" fields where you can put whatever you want. You can even choose an image for the icon to appear. Then in the Command tab, in Path you must put:
xterm
And in Parameters:
-hold -e avast -p3 %M
In the Folders tab we do not touch and in Conditions we will put * both in Filenames and in Mimetypes. You must also select Match Case and in APear if selection contains you will put Both, then select "multiple files or folders". If you want, in the Advanced tab you can select the type of extensions on which to perform the action, protocols, etc.
9 comments, leave yours
Antivirus on Linux? No way
A couple of questions, Isaac.
1. Avast constantly monitors the system in the background, with the consequent consumption of resources, just like in Windows?
2. Do you really see it necessary to have a classic antivirus, Windows-style, in Linux? Clam AV is not enough to scan content on demand?
Greetings and thanks.
Hello,
I do not use Avast, it is simply a tutorial for those who want to use it. Not all the software we talk about or tutorials we do we use.
A greeting!
I can imagine that you do not use all the programs that you talk about on the blog, nor do I use all the ones I ask about.
But hey, in this case the questions were different.
Greetings.
Hello:
But does it detect any linux-specific viruses? since if it only detects windows it would not be very useful in linux, at least if you use only linux.
Greetings.
Hello folks, we have been using Debian on our personal computers, laptops and servers for almost 10 years, we NEVER had an incident with viruses, Trojans or "anyware". Not crazy would install an antivirus for GNU / Linux.
Greetings!
I see then that Linux addicts write about things they don't use. Then applying the same rule of 3 I will comment on something that I have never used:
Avast equals Adware. For me it is not recommended to use it even in Windows. In case of having to use an antivirus in Windows it would be the last one you would use ...
And using Avast on Linux is synonymous with wasting resources on your computer.
I did not try this version of avast in any distro, I suppose it will be very useful if it detects viruses for windows in NTFS partitions, those who do technical service just connect the disk with win and scan it, I did not discover the powder with this, there are even several options in bootable iso image that do the same
They can use clamav which has been around for a long time with Linux.