Flatpak

From GnuCash
Revision as of 05:10, 24 September 2019 by CHF (talk | contribs) (corrections,…)
Jump to: navigation, search

Flatpaks are bundles which besides the program also contain all required libraries. If your Linux distribution is too old to offer all required libraries but has Flatpak support, you can install a recent version of GnuCash from a Flatpak repository.

Known Issues

  • No Finance::Quote,
  • no direct report printing (printing to file works) and
  • a potential bug that causes guile to attempt to recompile all scm sources. Workaround

Installation

Examples for Ubuntu or Debian (in Buster, Flatpak is already included, for Stretch and Jessie backports exist):

Stable version from flathub.org

See also: Flathub

This version contains Gnucash 3.7 along with Aqbanking 5.8.2 (not suitable for PSD2, no online banking with the FinTS/HBCI protocol; date of this information: 2019-09-22).

sudo apt-get install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak run org.gnucash.GnuCash

Test version from gnucash.org

Sometimes you can find test versions on the build-server.

The current version contains Aqbanking 5.99.33 (PSD2 capapble of online banking via FinTS/HBCI (german) protocol; date of this information: 2019-09-23).

sudo apt install flatpak  #install Flatpak
# register repository:
sudo flatpak remote-add --if-not-exists gnucash https://code.gnucash.org/builds/flatpak/gnucash-nightlies.flatpakrepo
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --arch=x86_64 remote-ls gnucash  # show all packages
# output should be:
# org.gnucash.GnuCash
# org.gnucash.GnuCash.Debug
# org.gnucash.GnuCash.Locale
sudo flatpak --arch=x86_64 install gnucash org.gnucash.GnuCash//master-C3.7-201-g8342a6dfb-D3.7-15-gc52384e  # <-- change version here!
flatpak run org.gnucash.GnuCash  # start programme

Tips

To call aqbanking-cli and other command line tools
flatpak run --command=sh org.gnucash.GnuCash
opens a shell inside the sandbox of GnuCash.
Migration from normal package to flatpak (german)