Flatpak basic commands
Jan 8, 2021
Flatpak is a very useful tool to install application in a sandbox environment in which users can run application software in isolation from the rest of the system. Basic flatpak commands area s follow.
- Install flatpak
$sudo yum install flatpak
2. Add flathub repository
$sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Search for the app eg. dbeaver
$flatpak search dbeaversample output:
(flatpak search:27993): As-WARNING **: 17:25:16.179: org.freedesktop.LinuxAudio.BaseExtension was of type addon but had no extends(flatpak search:27993): As-WARNING **: 17:25:16.180: org.freedesktop.LinuxAudio.BaseExtension was of type addon but had no extends
Application ID Version Branch Remotes Description
io.dbeaver.DBeaverCommunity 7.3.2 stable flathub Universal Database Manager.
io.dbeaver.DBeaverCommunity.Client.pgsql stable flathub PostgreSQL client for DBeaver Community
io.dbeaver.DBeaverCommunity.Client.mariadb stable flathub MariaDB client for DBeaver Community
4. Install the app
syntax:
$flatpak install flathub <Application Id> Eg.
$flatpak install flathub io.dbeaver.DBeaverCommunity
5. Launch the application
$flatpak run io.dbeaver.DBeaverCommunity