Difference between revisions of "Template:Install Flatpak sh"

From GnuCash
Jump to: navigation, search
(Add unstable release instructions.)
m (Fix typo, add comments)
Line 15: Line 15:
 
'''For Unstable (i.e., beta) Releases:'''
 
'''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.
 
# 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">
+
<SyntaxHighlight lang="sh">
 +
# Register:
 
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/beta-repo/flathub-beta.flatpakrepo
 
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
 
flatpak install --user flathub-beta org.gnucash.GnuCash
 +
# Run
 
flatpak run --branch=beta org.gnucash.GnuCash
 
flatpak run --branch=beta org.gnucash.GnuCash
 
</SyntaxHighlight>
 
</SyntaxHighlight>

Revision as of 20:19, 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:

  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