在 Ubuntu 上给 GIMP 安装插件,一般有以下几种常见方式。下面按“最常用 → 进阶”给你说明。
很多 GIMP 插件已经打包在 Ubuntu 仓库里。
sudo apt update
sudo apt install gimp-plugin-registry
这个包包含大量常用插件,例如:
安装后 重启 GIMP 即可在菜单中看到。
注意:Ubuntu 仓库版 GIMP 此功能有时受限。
.py / .scm 插件(最常见)通常是:
~/.config/GIMP/2.10/plug-ins/
如果没有,可新建 plug-ins 文件夹。
示例:
mkdir -p ~/.config/GIMP/2.10/plug-ins
cp my_plugin.py ~/.config/GIMP/2.10/plug-ins/
chmod +x ~/.config/GIMP/2.10/plug-ins/my_plugin.py
⚠️ 注意:
python3-gimp 或 GIMP 自带 Python检查是否支持:
gimp --version
which python3
cp my_script.scm ~/.config/GIMP/2.10/scripts/
重启 GIMP 即可在 Script-Fu 菜单看到。
G’MIC 是 GIMP 最强滤镜插件之一。
sudo apt install gmic gimp-gmic
安装后:
如果你是用以下方式安装的 GIMP:
snap install gimp
# 或
flatpak install gimp
插件路径不同,且权限受限:
~/snap/gimp/common/.config/GIMP/2.10/plug-ins/
~/.var/app/org.gimp.GIMP/config/GIMP/2.10/plug-ins/
✅ 插件不显示?
✅ Python 插件报错?
如果你有 具体插件名(比如 resynthesizer、gimp-texturize、bimp),我可以一步一步教你装。