How to integrate Avast into Nautilus

Avast on Linux

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:


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.

The content of the article adheres to our principles of editorial ethics. To report an error click here.

9 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   bichomen said

    Antivirus on Linux? No way

  2.   Mr. Paquito said

    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.

    1.    Isaac PE said


      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!

      1.    Mr. Paquito said

        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.


  3.   fernan said

    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.

  4.   Walter Omar Dari said

    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.

  5.   Raja said

    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.

  6.   Mariano Bodeán said

    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

  7.   Walter Omar Dari said

    They can use clamav which has been around for a long time with Linux.