Difference between revisions of "Flatpak"

From GnuCash
Jump to: navigation, search
(Installation: Hint: For other distributions)
(Known Issues: smart cards)
Line 2: Line 2:
  
 
=Known Issues=
 
=Known Issues=
* No Finance::Quote,  
+
* To use '''smart cards''', at least [https://www.fosslinux.com/13357/new-flatpak-1-3-2-uses-custom-fuse-filesystem-installation-technique.htm Flatpak 1.3.2] needs to be installed on your system. Complain against your distribution if they do not offer it.
* no direct report printing (printing to file works) and  
+
* 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. [https://github.com/flathub/org.gnucash.GnuCash/issues/24#issuecomment-523048429 Workaround]
 
* a potential bug that causes guile to attempt to recompile all scm sources. [https://github.com/flathub/org.gnucash.GnuCash/issues/24#issuecomment-523048429 Workaround]
  

Revision as of 20:12, 7 October 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

  • To use smart cards, at least Flatpak 1.3.2 needs to be installed on your system. Complain against your distribution if they do not offer it.
  • 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):

Hint
For other distributions replace apt* <command> by your preferred commandline software managment tool and its command, i.e.
zypper install flatpak
for many rpm based distributions.

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)