Difference between revisions of "Template:Install Flatpak sh"

From GnuCash
Jump to: navigation, search
(Template:Install_Flatpak.sh - Explain --user or --system and sudo use)
(Template:Install_Flatpak.sh - Fix typo)
Line 6: Line 6:
 
# Install GnuCash ...
 
# Install GnuCash ...
 
## for all users:
 
## for all users:
##  sudo is only needed for a --system install, if the user is not in the ''sudo'' group
+
##  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
 
##  --system is the default if --user is not specified
 
sudo flatpak install --system flathub org.gnucash.GnuCash
 
sudo flatpak install --system flathub org.gnucash.GnuCash

Revision as of 06:59, 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