I wanted to install the wavelet sharpen plug-in for GIMP on Linux Mint, which you can get from the GIMP website. However, I found that the instructions for installing didn’t work on Linux Mint (and according to the GIMP website, also Ubuntu and Fedora). The comments on the GIMP website had the solution, but I didn’t find it obvious and there was a missing “$” symbol in the solution which may cause this solution to fail for others. Here is what I did to get it to work.
Open up a terminal as we’ll need to enter some commands to install.
You will need to install the libgimp2.0-dev package to compile GIMP plug-ins. In Linux Mint or Ubuntu, you can use the following:
Fedora users will have to use a different command as you will have a different package manager. If you are unsure, open up a graphical package manager and search for
libgimp-2.0-dev to install
Make a temporary directory to muck around in and change directory into it
Download the wavelet plug-in. You can do this by browsing to the plug-in website and downloading to the wavelet_temp directory that you have just created, or you can use the following command (assuming you want version 0.1.2, which was current at the time of writing):
Now that we have downloaded it, we need to unzip it and extract the files from the archive
Now we can browse to the wavelet directory that you have just extracted:
From here, the instructions say to make and install. However, this did not work for me as I got an error after using make
Instead, open up the Makefile:
and change line 16 from
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
$(CC) $(CFLAGS) -o $@ $^ -lm $(LIBS)
The install should now work, so type in:
Now we have compiled the wavelet-sharpen plug-in. Check that it has the correct permissions (it should be executable). By typing in the following:
you should get something like the following, with the three “x” characters over on the left:
We can now stick the plug-in into the GIMP plug-ins folder. I have GIMP 2.8 and used the following command:
Change the directory name to whatever version of GIMP you have. If you are unsure, you can go to GIMP and select “About” from the “Help” menu. For me, this is “2.8.10”, so the directory name is “.gimp-2.8”. Another way to do this is to type part of the above command and use auto-complete to tell you what directories are available. In other words, type the following:
but instead of hitting
Once that is in the right place, we now need to clean up after ourselves by deleting the files that were used to compile the plug-in. Since everything was put into a temporary directory, we can just delete this.
Start up GIMP (or restart it if it was already open). You should now find the plug-in on the menubar under “Filters” –> “Enhance” –> “Wavelet-sharpen”.
Subscribe via RSS