Difference between revisions of "Template:Install Flatpak sh"
From GnuCash
(on debian based ...) |
(Add unstable release instructions.) |
||
Line 1: | Line 1: | ||
+ | '''For Stable Releases:'''' | ||
<SyntaxHighlight lang="sh"> | <SyntaxHighlight lang="sh"> | ||
# Install FlatPak (on debian based distributions, others have to replace 'apt-get install'): | # Install FlatPak (on debian based distributions, others have to replace 'apt-get install'): | ||
Line 12: | Line 13: | ||
flatpak run org.gnucash.GnuCash | flatpak run org.gnucash.GnuCash | ||
</Syntaxhighlight> | </Syntaxhighlight> | ||
+ | '''For Unstable (i.e., beta) Releases:''' | ||
+ | # 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> |
Revision as of 20:17, 27 April 2020
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:
- 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>