Template:Install Flatpak sh

From GnuCash
Revision as of 20:17, 27 April 2020 by Jralls (talk | contribs) (Add unstable release instructions.)
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.

<SyntaxkHighlight lang="sh"> sudo flatpak remote-add --if-not-exists flathub https://flathub.org/beta-repo/flathub-beta.flatpakrepo flatpak install --user flathub-beta org.gnucash.GnuCash flatpak run --branch=beta org.gnucash.GnuCash </SyntaxHighlight>