sudo apt get gimp code example
Example 1: ubuntu install gimp
#ubuntu 20.04 upwards
sudo apt update
sudo apt install gimp
Example 2: ubuntu installing gimp
sudo apt-get autoremove gimp gimp-plugin-registry
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp