Difference between revisions of "Flatpak"

From GnuCash
Jump to: navigation, search
(corrections,…)
(Test version from gnucash.org: Note on arch)
Line 23: Line 23:
 
Sometimes you can find test versions on the [https://code.gnucash.org/builds/flatpak/ build-server].
 
Sometimes you can find test versions on the [https://code.gnucash.org/builds/flatpak/ build-server].
  
The current version contains Aqbanking 5.99.33 (''PSD2'' capapble of online banking via ''[[:Category:De/FinTS|FinTS]]''/''[[De/HBCI|HBCI (german)]]'' protocol; date of this information: 2019-09-23).
+
The current version contains Aqbanking 5.99.33 ('''''PSD2'' capable''' of online banking via ''[[:Category:De/FinTS|FinTS]]''/''[[De/HBCI|HBCI (german)]]'' protocol; date of this information: 2019-09-23).
  
 
<SyntaxHighlight lang="sh">
 
<SyntaxHighlight lang="sh">
Line 38: Line 38:
 
flatpak run org.gnucash.GnuCash  # start programme
 
flatpak run org.gnucash.GnuCash  # start programme
 
</Syntaxhighlight>
 
</Syntaxhighlight>
 +
;Note: <tt>flatpak --arch=x86_64</tt> is only required, if you have a 64-bit processor with a 32-bit OS.
  
 
=Tips=
 
=Tips=

Revision as of 09:37, 24 September 2019

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 capable 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
Note
flatpak --arch=x86_64 is only required, if you have a 64-bit processor with a 32-bit OS.

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)