Difference between revisions of "Template:Install Flatpak sh"
From GnuCash
(split off: english text (looks ugly in the german page) & Template:Install_Flatpak_Unstable_sh) |
(→Template:Install_Flatpak.sh - Explain --user or --system and sudo use) |
||
Line 6: | Line 6: | ||
# Install GnuCash ... | # Install GnuCash ... | ||
## for all users: | ## 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 | ||
+ | sudo flatpak install --system flathub org.gnucash.GnuCash | ||
## or only you: | ## or only you: | ||
− | flatpak install flathub org.gnucash.GnuCash | + | flatpak install --user flathub org.gnucash.GnuCash |
# Run GnuCash: | # Run GnuCash: | ||
flatpak run org.gnucash.GnuCash | flatpak run org.gnucash.GnuCash | ||
</Syntaxhighlight> | </Syntaxhighlight> |
Revision as of 06:55, 3 May 2021
# 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 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