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]

C&C Tiberian Sun

“This snap uses the base of TrackMania Nations Forever Wine snap with more handful of other functions added and removed also some more hacky dark magic in the snap.”

To install the test version, you need a terminal :

snap install cnctsun && snap connect cnctsun:process-control

[collapse]

Itch.io

You can download the last version of the app on the website.

If you want to make sure it will always be up to date without downloading it again from the website, you can use the repository.
Download the key :

wget -O - https://dl.itch.ovh/archive.key | sudo apt-key add -

then

# For Ubuntu 18.04
ITCHIO_DEB="deb https://dl.bintray.com/itchio/deb xenial main"
echo $ITCHIO_DEB | sudo tee /etc/apt/sources.list.d/itchio.list

# For Ubuntu 17.10
ITCHIO_DEB="deb https://dl.bintray.com/itchio/deb artful main"
echo $ITCHIO_DEB | sudo tee /etc/apt/sources.list.d/itchio.list

# For Ubuntu 16.04
ITCHIO_DEB="deb https://dl.bintray.com/itchio/deb xenial main"
echo $ITCHIO_DEB | sudo tee /etc/apt/sources.list.d/itchio.list

# For Debian 8.x
ITCHIO_DEB="deb https://dl.bintray.com/itchio/deb jessie main"
echo $ITCHIO_DEB | sudo tee /etc/apt/sources.list.d/itchio.list

# For Debian 7.x
ITCHIO_DEB="deb https://dl.bintray.com/itchio/deb wheezy main"
echo $ITCHIO_DEB | sudo tee /etc/apt/sources.list.d/itchio.list

Once this is done, you can install the app :

sudo apt update && sudo apt install -y itch

[collapse]

Steam

Since Ubuntu 18.04, you should use the installer from the official repository and not from steampowered.com.

sudo apt install -y steam-installer

If your steam app is broken after a system upgrade, you have to remove steam and install it again :

sudo apt purge steam* && sudo apt install -y steam-installer

You will have to log yourself in again and if you added some additional game folders, do it again in View → Settings→ Downloads → Steam Library Folder.

Don’t worry, you won’t lose your games 😉

[collapse]

Leave a Reply