在 Ubuntu 上更新 GIMP 通常有以下几种方式,按推荐程度从高到低说明:
如果你是用 Ubuntu 官方源安装的 GIMP:
sudo apt update
sudo apt upgrade
如果只想更新 GIMP:
sudo apt install --only-upgrade gimp
查看当前版本:
gimp --version
很多 Ubuntu 自带的是 Snap 版 GIMP:
sudo snap refresh gimp
查看版本:
snap info gimp
flatpak update org.gimp.GIMP
Ubuntu 官方源里的 GIMP 版本通常较旧,如果你想用较新的 GIMP:
sudo add-apt-repository ppa:ubuntuhandbook1/gimp
sudo apt update
sudo apt upgrade
⚠️ 注意:PPA 不是官方源,适合有一定经验的用户。
sudo apt remove gimp
sudo apt autoremove
sudo apt install gimp
which gimp
snap list | grep gimp
flatpak list | grep gimp
如果你愿意,可以告诉我:
我可以给你更精确的命令。