Difference between revisions of "Flatpak"

From GnuCash
Jump to: navigation, search
(added translations of german installation instructions)
(corrections,…)
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.30 (''PSD2'' capapble of online banking via FinTS/HBCI protocol; date of this information: 2019-09-22).
+
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).
  
 
<SyntaxHighlight lang="sh">
 
<SyntaxHighlight lang="sh">
Line 29: Line 29:
 
# register repository:
 
# 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 gnucash https://code.gnucash.org/builds/flatpak/gnucash-nightlies.flatpakrepo
flatpak remote-ls gnucash  # show all packages
+
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:
 
# output should be:
 
# org.gnucash.GnuCash
 
# org.gnucash.GnuCash
sudo flatpak install gnucash org.gnucash.GnuCash//master-C3.7-201-g8342a6dfb-D3.7-15-gc52384e  # <-- change version here!
+
# 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
 
flatpak run org.gnucash.GnuCash  # start programme
 
</Syntaxhighlight>
 
</Syntaxhighlight>
Line 38: Line 41:
 
=Tips=
 
=Tips=
 
;To call <tt>aqbanking-cli</tt> and other command line tools: <Syntaxhighlight lang="sh>flatpak run --command=sh org.gnucash.GnuCash</Syntaxhighlight> opens a shell inside the sandbox of GnuCash.
 
;To call <tt>aqbanking-cli</tt> and other command line tools: <Syntaxhighlight lang="sh>flatpak run --command=sh org.gnucash.GnuCash</Syntaxhighlight> opens a shell inside the sandbox of GnuCash.
 
+
;[[De/Flatpak/Migrationsanleitung|Migration]] from normal package to ''flatpak'' (german)
 
[[Category:Flatpak|en]]
 
[[Category:Flatpak|en]]

Revision as of 05:10, 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 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)