Search This Blog

Monday, November 26, 2018

Installing Desktop Applications with Flatpak

Flatpak is the new standard for desktop software packages. 

Flatpak offers newer versions of products, and software that is not available from Fedora, such as Slack.

    Flatpak is installed by default on Fedora Workstation. To get started, all you need to do is enable Flathub, which is the best way to get Flatpak apps. Just download and install the Flathub repository file.
    Now all you have to do is install some apps!
The desktp Software utility will now show flatpak packages as well as RPMs.

A small number of proprietary software products are currently provided as RPM packages, such as Google Chrome and the nVidia graphics drivers. To enable access to these, open the Software utility, choose Software Repositories and click the Installbutton for Third Party Repositories.

Now you can install any Flatpak app found on Flathub. For example, to install Spotify, the command would be:
sudo flatpak install flathub com.spotify.Client

To uninstall a Flatpak from the command line, you would go back to the terminal and issue the command:
sudo flatpak uninstall NAME
where NAME is the name of the app to remove. For example: 
sudo flatpak uninstall com.spotify.Client
To update our Flatpak apps, first list all of your installed Flatpak apps by issuing the command:
flatpak list
Now that we have our list of apps (Figure 1), we can update with the command sudo flatpak update NAME (where NAME is the name of our app to update).