How to install GIMP scripts in Ubuntu Linux

In GIMP, you have access to many scripts which allow you to do complex tasks with the click of a button. When you install GIMP in Windows or when GIMP comes pre-installed in Linux, it comes with a good subset of these scripts installed by default. These scripts are consolidated and are found under the GIMP Menu – “Filters” .

But there are hundreds of other powerful scripts available for GIMP which you can find at GIMP Plugin Registry.

Here I will explain how to install GIMP scripts.

Steps to install GIMP scripts / plugins

  1. Download the relevant GIMP script from the GIMP plug-in registry.
    • Each GIMP script is available in two formats namely – Script-Fu (.scm) and Python script (.py). You can choose to download either one of them but not both. If you are downloading the Script Fu file, then it should be saved in GIMP scripts folder. If you are downloading the Python file, it should be saved in the GIMP plug-ins folder. Let’s assume we have downloaded the python script for the sake of this example.
  2. Save the downloaded python script into the GIMP plug-ins folder. In Ubuntu, it is in the directory /usr/lib/gimp/2.0/plug-ins/
    How did I find the correct directory, you ask? I opened a terminal and ran the following command :

    $ dpkg -L gimp | grep plug-ins

    Of course, there is another way of finding the GIMP plug-ins folder which is, start GIMP and open “GIMP Preferences” dialog. In this dialog, click on “Folders > Plug-ins” and you will find the directory where GIMP installs all its plug-ins.
    Now you copy the downloaded script ( into this folder as follows :

    $ sudo cp /usr/lib/gimp/2.0/plug-ins/.
  3. Next open the terminal and set the execute bit for the python script file as follows :
    $ sudo chmod +x /usr/lib/gimp/2.0/plug-ins/
  4. Lastly, if you have GIMP already running, restart it so that it is aware of all the new scripts you have installed.