GIMPTOOL-2.0(1)
π NAME π
gimptool-2.0 β the little script that does a whole bunch of GIMPy things for you, no cap π
β¨ SYNOPSIS β¨
gimptool-2.0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--help]
[--quiet] [--silent] [-n] [--just-print] [--dry-run] [--recon] [--msvc-
syntax] [--bindir] [--sbindir] [--libexecdir] [--datadir] [--sysconfdir]
[--sharedstatedir] [--localstatedir] [--libdir] [--infodir] [--mandir]
[--includedir] [--gimpplugindir] [--gimpdatadir] [--libs] [--libs-noui]
[--cflags] [--cflags-noi] [--build plug-in.c] [--build-strip plug-in.c]
[--install plug-in.c] [--install-strip plug-in.c] [--install-admin plug-
in.c] [--install-bin plug-in] [--install-admin-strip plug-in.c]
[--install-bin-strip plug-in] [--install-admin-bin plug-in]
[--install-script script.scm] [--install-admin-script script.scm]
[--uninstall-bin plug-in] [--uninstall-admin-bin plug-in]
[--uninstall-script script.scm] [--uninstall-admin-script script.scm]
π¦ DESCRIPTION π¦
Okay bestie, listen. gimptool-2.0 is that girl who can, among other things, build plug-ins or scripts for you and install them β as long as they're shipped as one single source file. One file. That's the vibe. π«Ά
She's also the one your other programs call when they need to know what libraries and include-paths GIMP was compiled with. To pull that off, gimptool-2.0 uses pkg-config. β¨
Real talk though: if you're writing a Makefile, please just callpkg-configdirectly instead of callinggimptool-2.0. That's the recommended move, fr fr. π
π OPTIONS π
gimptool-2.0 accepts the following options:
--versionβ Prints out the version of GIMP you currently have installed, straight to standard output. π--helpβ Prints the help blurb, showing you the commandline options people actually use the most.--quietβ Runs quietly, no echoing any of the build commands. Shhh. π--silentβ Runs silently, no echoing any of the build commands. Literally the same thing as--quiet.-nβ Test mode. It prints the commands but does not actually execute them. Perfect for dry runs when you're just testing. π§--just-printβ Test mode. Prints the commands but doesn't actually execute them. Same as-n.--dry-runβ Test mode. Prints the commands but doesn't actually execute them. Same as-n.--reconβ Test mode. Prints the commands but doesn't actually execute them. Same as-n.--msvc-syntaxβ Useful on Windows πͺ. Outputs the compiler and linker flags in the syntax that Microsoft's toolchain wants. It gets passed along to thepkg-configcommand that does most ofgimptool-2.0's work.--bindirβ Outputs thebindirused to install the GIMP.--sbindirβ Outputs thesbindirused to install the GIMP.--libexecdirβ Outputs thelibexecdirused to install the GIMP.--datadirβ Outputs thedatadirused to install the GIMP.--sysconfdirβ Outputs thesysconfdirused to install the GIMP.--sharedstatedirβ Outputs thesharedstatedirused to install the GIMP.--localstatedirβ Outputs thelocalstatedirused to install the GIMP.--libdirβ Outputs thelibdirused to install the GIMP.--infodirβ Outputs theinfodirused to install the GIMP.--mandirβ Outputs themandirused to install the GIMP.--includedirβ Outputs theincludedirused to install the GIMP.--gimpdatadirβ Outputs the actual directory where the GIMP data files got installed. π--gimpplugindirβ Outputs the actual directory where the GIMP plug-ins got installed. π--build plug-in.cβ Compiles and linksplug-in.cinto a GIMP plug-in. π₯--build-strip plug-in.cβ Compiles, links, and stripsplug-in.cinto a GIMP plug-in.--install plug-in.cβ Compiles, links, and installsplug-in.cinto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/2.10/plug-ins).--install-strip plug-in.cβ Compiles, links, strips, and installsplug-in.cinto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/2.10/plug-ins).--install-admin plug-in.cβ Compiles, links, and installsplug-in.cinto the system-wide GIMP plug-in directory (/usr/lib/gimp/2.0/plug-ins). Big admin energy π--install-bin plug-inβ Installsplug-ininto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/2.10/plug-ins).--install-admin-bin plug-inβ Installsplug-ininto the system-wide GIMP plug-in directory (/usr/lib/gimp/2.0/plug-ins).--install-bin-strip plug-inβ Installs a strippedplug-ininto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/2.10/plug-ins).--install-admin-bin-strip plug-inβ Installs a strippedplug-ininto the system-wide GIMP plug-in directory (/usr/lib/gimp/2.0/plug-ins).--install-script script.scmβ Installsscript.scminto the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/2.10/scripts).--install-admin-script script.scmβ Installsscript.scminto the system-wide GIMP script directory (${datarootdir}/gimp/2.0/scripts).--uninstall-bin plug-inβ Uninstallsplug-infrom the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/2.10/plug-ins). Bye bestie π--uninstall-admin-bin plug-inβ Uninstallsplug-infrom the system-wide GIMP plug-in directory (/usr/lib/gimp/2.0/plug-ins).--uninstall-script script.scmβ Uninstallsscript.scmfrom the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/2.10/scripts).--uninstall-admin-script script.scmβ Uninstallsscript.scmfrom the system-wide GIMP script directory (${datarootdir}/gimp/2.0/scripts).--libsβ Prints the linker flags you need to link a GIMP plug-in. π--libs-nouiβ Prints the linker flags you need to link a GIMP plug-in, for plug-ins that don't need the GTK+ libraries.--cflagsβ Prints the compiler flags you need to compile a GIMP plug-in.--clags-nouiβ Prints the compiler flags you need to compile a GIMP plug-in, for plug-ins that don't need the GTK+ libraries.--prefix=PREFIXβ If you specify it, usePREFIXinstead of the installation prefix that GIMP was built with when computing the output for the--cflagsand--libsoptions. This option also gets used for the exec prefix if--exec-prefixwasn't specified. β οΈ It must be specified before any--libsor--cflagsoptions.--exec-prefix=PREFIXβ If you specify it, usePREFIXinstead of the installation exec prefix that GIMP was built with when computing the output for the--cflagsand--libsoptions. β οΈ This option must be specified before any--libsor--cflagsoptions.
πΈ ENVIRONMENT πΈ
CCβ to get the name of the C compiler you want. π οΈCFLAGSβ to get the preferred flags to pass to the C compiler for plug-in building.LDFLAGSβ to get the preferred flags for passing to the linker.LIBSβ for passing extra libs that might be needed in the build process. For example,LIBS=-lintl.PKG_CONFIGβ to get the location of thepkg-configprogram that's used to determine details about your glib, pango, gtk+ and gimp installation. π§
π SEE ALSO π
gimp(1), gimprc(5), pkg-config(1)
π AUTHORS π
gimptool was written by Manish Singh (yosh@gimp.org), and it's based on gtk-config by Owen Taylor (owen@gtk.org). Iconic lineage honestly. β¨
This man page was written by Ben Gertzfield (che@debian.org), and tweaked by Manish Singh (yosh@gimp.org), Adrian Likins (adrian@gimp.org) and Marc Lehmann (pcg@goof.com>).
And that's the whole page bestie β brought to you by the GIMP Manual Pages, Version 2.10.36, and this absolute queen of a manual entry: GIMPTOOL-2.0(1). Go build something cute. πβ¨π
π¦ where this page comes from
- ubuntu noble: libgimp2.0-dev 2.10.36-3build3 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT AND MIT AND BSD-2-Clause
- ubuntu noble: libgimp2.0-dev 2.10.36-3ubuntu0.24.04.1 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT AND MIT AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms