Template:Install Flatpak sh

From GnuCash
Revision as of 20:19, 27 April 2020 by Jralls (talk | contribs) (Fix typo, add comments)
Jump to: navigation, search

For Stable Releases:'

# Install FlatPak (on debian based distributions, others have to replace 'apt-get install'):
sudo apt-get install flatpak
# Register FlatHub repository:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install GnuCash ...
## for all users:
sudo flatpak install flathub org.gnucash.GnuCash
## or only you:
flatpak install flathub org.gnucash.GnuCash
# Run GnuCash:
flatpak run org.gnucash.GnuCash

For Unstable (i.e., beta) Releases:

  1. Do the process for stable releases, but register, install, and run as follows. You can have both the regular and beta branches installed at the same time.
# Register:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/beta-repo/flathub-beta.flatpakrepo
# Install
flatpak install --user flathub-beta org.gnucash.GnuCash
# Run
flatpak run --branch=beta org.gnucash.GnuCash