Difference between revisions of "Template:Install Flatpak sh"
From GnuCash
(Add unstable release instructions.) |
(→Template:Install_Flatpak.sh - remote-add can be either system or user) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
<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'): | ||
sudo apt-get install flatpak | sudo apt-get install flatpak | ||
− | # Register FlatHub repository: | + | |
+ | # Register FlatHub repository for a system app (available to all users): | ||
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | ||
+ | # or only you: | ||
+ | flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | ||
+ | |||
# Install GnuCash ... | # Install GnuCash ... | ||
− | + | # for all users: | |
− | sudo flatpak install flathub org.gnucash.GnuCash | + | # sudo is only needed for a --system install, if the user is not in the 'sudo' group |
− | + | # --system is the default if --user is not specified | |
− | flatpak install flathub org.gnucash.GnuCash | + | sudo flatpak install --system flathub org.gnucash.GnuCash |
+ | # or only you: | ||
+ | flatpak install --user flathub org.gnucash.GnuCash | ||
+ | |||
# Run GnuCash: | # Run GnuCash: | ||
flatpak run org.gnucash.GnuCash | flatpak run org.gnucash.GnuCash | ||
</Syntaxhighlight> | </Syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:18, 1 December 2021
# Install FlatPak (on debian based distributions, others have to replace 'apt-get install'):
sudo apt-get install flatpak
# Register FlatHub repository for a system app (available to all users):
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# or only you:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install GnuCash ...
# for all users:
# sudo is only needed for a --system install, if the user is not in the 'sudo' group
# --system is the default if --user is not specified
sudo flatpak install --system flathub org.gnucash.GnuCash
# or only you:
flatpak install --user flathub org.gnucash.GnuCash
# Run GnuCash:
flatpak run org.gnucash.GnuCash