How to install * on Ubuntu and derivatives

This is a list of software installation sources and how to install them in the best conditions possible.

Many softwares are now available as snaps, flatpak or deb depots but some trouble can happen.

  • Sometimes, you want to install this software you love but the functionality you need was implemented in 1.x and the only one version available in official depots is 1.0.
  • Sometimes the Snap need a command to be installed | have the rights to access USB keys or a mounted NTFS file system.
  • Sometimes, the software is only available as an AppImage

Command line are “Plug-and-Play”. Just open the Terminal application and right-click → copy the command, right-click → paste it in the terminal. Press enter and type your password if the system asks. It’s invisible so don’t be surprised if you don’t see what you’re typing 😉

Non-free Video Codecs and Fonts

Reminder : these packages can be illegal in some countries (not france, Québec (Canada), Switzerland, Belgium,…) where software patents are valid. If you are in such a sh*** country, You have to pay for licences like this cra* https://fluendo.com/en/products/multimedia/oneplay-codec-pack/

If you want to use some non-free audio/video formats or the window’s fonts, just type :

sudo install -y ubuntu-restricted-extras

You will have to accept the fonts licence. Move with arrow keys or TAB and press enter to press the “button”.

[collapse]
Troubleshooting

“This PPA version is a disaster !” If anything happends with a PPA, don’t worry just install (if you don’t already have it) :

sudo apt install -y ppa-purge

Now you can use it to remove any ppa with it’s content and replace anything that was changed with official versions !
Example :

sudo ppa-purge ppa:graphics-drivers/ppa

[collapse]
Add flatpak to Ubuntu

To add flatpak support to Ubuntu and it’s “Ubuntu Software”  :

sudo apt install -y flatpak gnome-software-plugin-flatpak && flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak update

With this, you have Flatpak integration and the main apps repository. Of course, there can be some private ones, but most of them are available here.

[collapse]

Blender

If you want an up to date version you can download the last one on blender.org, uncompress the archive and use it this way.

If you need Nvidia support or just always want it up to date without downloading again and again… you can use the PPA : sudo add-apt-repository -y ppa:thomas-schiex/blender && sudo apt install -y blender

You can replace  blender with blender-edge for the very last version (in current stable branch anyway)

[collapse]

Darktable

You can install the snap “Darktable” from Ubuntu Software or use the deb PPA. Both work.

Snap in command line : snap install darktable

‼ If you want it to be able to access USB drives or other file-systems (second storage disk ?) : In Ubuntu Software, Click Authorisations then check it and close
or in command-line : snap connect darktable:removable-media

Last stable version PPA : sudo add-apt-repository -y ppa:pmjdebruijn/darktable-release && sudo apt install -y darktable

Last Unstable PPA : sudo add-apt-repository -y ppa:pmjdebruijn/darktable-unstable && sudo apt install -y darktable

[collapse]

Gimp + add-ons

If you want Gimp with the most usefull plugins, just use the PPA with this command. You will have Gimp, the plugins and G’MIC (GREYC’s Magic for Image Computing). Perfect for very “pro” jobs.

sudo add-apt-repository -r ppa:otto-kesselgulasch/gimp && sudo apt install -y gimp-data-extras gimp-plugin-registry gmic

[collapse]

Leave a Reply