Archives For flatpak

This quick tutorial shows you how to install the latest GNU Octave in Ubuntu 18.04 (or Ubuntu 16.04), while the Ubuntu repositories only provide an old version.

Since there’s no stable PPA contains the latest Octave packages, Flatpak package is the easiest way to get the numerical computation software running on Ubuntu.

Similar to Snap, Flatpak is an universal Linux package format that runs in sandbox.

1. First open terminal (Ctrl+Alt+T) and make sure Flatpak support is enabled by running command:

sudo apt-get install flatpak

Ubuntu 16.04 needs to add the Flatpak PPA first to install Flatpak framework.

2. Then add the Flathub repository, the best place to get Flatpak apps:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally install GNU Octave 4.4 from the Flathub repository:

flatpak install flathub org.octave.Octave

It will take a few minutes downloading the flatpak package as well as dependency platform if you’re first time installing it.

Like normal applications, you can launch Octave from Gnome app launcher:

The flatpak co-exists with traditional Octave package. You can alternatively run it in command line:

flatpak run org.octave.Octave

Uninstall

You can remove the Octave flatpak package by running command:

flatpak uninstall org.octave.Octave

And remove flatpak support if you want:

sudo apt-get remove flatpak

MusicBrainz Picard is an open-source cross-platform music tagger written in Python. While Ubuntu repositories provide an old version of the software, here’s how to install the latest release (Picard 1.4.2 so far) in Ubuntu 16.04, and higher.

MusicBrainz Picard has an official Ubuntu PPA repository, however, it’s not been updated for more than a year. It now publishes the official Linux binaries only through Flathub repository.

1. Install Flatpak (Ubuntu 16.04 only).

While Ubuntu 16.04 does not ship Flatpak in the default repositories, open terminal via Ctrl+Alt+T and run commands to install it from the PPA.

  1. Add the flatpak PPA via command (type your password when prompts and hit enter):
    sudo add-apt-repository ppa:alexlarsson/flatpak

  2. Then install flatpak via commands:
    sudo apt-get update
    
    sudo apt-get install flatpak

2. Add the Flathub repository via command:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally grab and install the music tagger via command:

flatpak install flathub org.musicbrainz.Picard

Log out and back in after installation and then launch it from Unity Dash, Gnome launcher and enjoy!

Uninstall:

To uninstall the music tagger, run command:

flatpak uninstall --app org.musicbrainz.Picard

And remove the repository:

flatpak remote-delete flathub