Difference between revisions of "Template:Install Flatpak sh"

From GnuCash
Jump to: navigation, search
m (Fix typo, add comments)
(split off: english text (looks ugly in the german page) & Template:Install_Flatpak_Unstable_sh)
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 13: Line 12:
 
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.
 
<SyntaxHighlight lang="sh">
 
# 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
 
</SyntaxHighlight>
 

Revision as of 13:27, 18 May 2020

# 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