2000-08-07 13:30:25 -05:00
|
|
|
############################################################
|
2020-09-22 14:35:59 -05:00
|
|
|
GnuCash README file.
|
2006-07-10 18:43:00 -05:00
|
|
|
|
2023-04-16 01:46:43 -05:00
|
|
|
The current stable series is GnuCash 5.x.
|
2000-06-26 14:38:45 -05:00
|
|
|
------------------------------------------------------------
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
##################
|
2000-06-02 04:00:31 -05:00
|
|
|
Table of Contents:
|
2000-06-26 14:38:45 -05:00
|
|
|
------------------
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
- Overview
|
|
|
|
- Dependencies
|
|
|
|
- Invocation/running
|
|
|
|
- Internationalization
|
2000-08-07 13:30:25 -05:00
|
|
|
- Building & Installing
|
|
|
|
- Supported Platforms
|
2000-06-02 04:00:31 -05:00
|
|
|
- Additional Download Sites
|
2018-01-29 17:46:13 -06:00
|
|
|
- Getting the Source via Git
|
2000-06-02 04:00:31 -05:00
|
|
|
- Developing GnuCash
|
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
########
|
2000-06-02 04:00:31 -05:00
|
|
|
Overview
|
|
|
|
--------
|
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
GnuCash is a personal and small business double entry accounting application.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
Home Page:
|
2018-09-18 05:31:44 -05:00
|
|
|
https://www.gnucash.org/
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
Wiki:
|
|
|
|
https://wiki.gnucash.org/wiki/GnuCash
|
2000-06-13 03:07:15 -05:00
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
Precompiled binaries:
|
|
|
|
https://www.gnucash.org/download
|
2000-06-13 03:07:15 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
############
|
2000-06-02 04:00:31 -05:00
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
2020-09-22 14:35:59 -05:00
|
|
|
Please see README.dependencies for current build dependencies.
|
2001-03-02 04:32:06 -06:00
|
|
|
|
2018-04-06 17:46:29 -05:00
|
|
|
The optional online stock and currency price retrieval feature requires Perl.
|
|
|
|
This is generally already installed on Gnu/Linux and *BSD, and MacOS.
|
2000-07-19 23:24:02 -05:00
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
In addition, some perl modules need to be installed. You can run the
|
2018-04-06 17:46:29 -05:00
|
|
|
script 'gnc-fq-update' as root to obtain the latest versions of
|
|
|
|
required packages.
|
|
|
|
|
|
|
|
Microsoft Windows users can use the "Install Online Quotes" program in the
|
|
|
|
Start menu's Gnucash group; it will install perl and all of the required
|
|
|
|
modules more-or-less automatically. MacOS users will find "Update Finance Quote"
|
|
|
|
in the distribution disk image; it will automate running gnc-fq-update for you.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
#######
|
2000-06-02 04:00:31 -05:00
|
|
|
Running
|
|
|
|
-------
|
|
|
|
|
|
|
|
For GnuCash invocation details, see the manpage in doc/gnucash.1.
|
2001-06-01 03:48:39 -05:00
|
|
|
You can also run gnucash --help for the command line options.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
You can start GnuCash at the command-line, with "gnucash" or "gnucash
|
|
|
|
<filename>", where <filename> is a GnuCash account file. Sample
|
2010-06-30 15:42:02 -05:00
|
|
|
accounts can be found in the "doc/examples" subdirectory. *.gnucash
|
2014-01-08 15:46:40 -06:00
|
|
|
files are GnuCash accounts that can be opened with the "Open File" menu entry.
|
2010-06-30 15:42:02 -05:00
|
|
|
*.qif files are Quicken Import Format files that can be opened with the
|
|
|
|
"Import QIF" menu entry.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
GnuCash responds to the following environment variables:
|
|
|
|
|
|
|
|
GNC_BOOTSTRAP_SCM - the location of the initial bootstrapping scheme code.
|
|
|
|
|
2002-09-26 11:57:18 -05:00
|
|
|
GUILE_LOAD_PATH - an override for the GnuCash load path, used when
|
|
|
|
loading scheme files. It should be a string in the same form as the
|
|
|
|
PATH or LD_LIBRARY_PATH environment variable.
|
|
|
|
|
|
|
|
GNC_MODULE_PATH - an override for the GnuCash load path, used when
|
|
|
|
loading gnucash modules. It should be a string representing a
|
|
|
|
proper scheme list. It should be a string in the same form as the
|
|
|
|
PATH or LD_LIBRARY_PATH environment variable.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
GNC_DEBUG - enable debugging output. This allows you to turn on
|
|
|
|
debugging earlier in the startup process than you can with --debug.
|
|
|
|
|
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
####################
|
2000-06-02 04:00:31 -05:00
|
|
|
Internationalization
|
|
|
|
--------------------
|
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
Message catalogs exist for many different languages. In general
|
|
|
|
GnuCash will use the locale configured in the desktop environment if
|
|
|
|
we have a translation for it, but this may be overridden if one
|
|
|
|
likes. Instructions for overriding the locale settings may be found at
|
2018-09-18 05:31:44 -05:00
|
|
|
https://wiki.gnucash.org/wiki/Locale_Settings
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
#####################
|
2000-06-02 04:00:31 -05:00
|
|
|
Building & Installing
|
|
|
|
---------------------
|
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
GnuCash uses CMake to handle the build process. Details are available
|
2018-04-07 05:21:51 -05:00
|
|
|
in cmake/README_CMAKE.txt
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
Prior to building GnuCash, you will have to obtain and install the
|
|
|
|
following packages:
|
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
cmake: Available https://cmake.org.
|
2000-09-05 16:33:25 -05:00
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
ninja: Optional, available at https://ninja-build.org. CMake can
|
2017-12-02 19:50:14 -06:00
|
|
|
generated build rules for Ninja, and generally using Ninja results
|
|
|
|
in faster builds that Makefile based ones.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
gnome development system: headers, libraries, etc.
|
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
libxml2: available from ftp.gnome.org
|
2000-06-13 03:07:15 -05:00
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
SWIG: 2.0.10 or later is needed. See http://www.swig.org or
|
2018-09-18 05:31:44 -05:00
|
|
|
https://sourceforge.net/projects/swig/
|
2000-09-23 02:12:55 -05:00
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
Generally, up-to-date build instructions for various Linux
|
|
|
|
distributions can be found on the GnuCash wiki at
|
|
|
|
https://wiki.gnucash.org/wiki/Building
|
2000-08-07 13:30:25 -05:00
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
The options that the CMake build system understands are documented in
|
|
|
|
cmake/README_CMAKE.txt and in the Building wiki page mentioned above.
|
2000-08-07 13:30:25 -05:00
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
Note that while you need the Gnome libraries installed, you don't need
|
|
|
|
to have a Gnome desktop.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
Runtime and install destinations are separate. The CMake option
|
|
|
|
CMAKE_INSTALL_PREFIX determines where the resulting binary will look
|
2000-06-02 04:00:31 -05:00
|
|
|
for things at runtime. Normally this determines where a "make
|
2017-12-02 19:50:14 -06:00
|
|
|
install" will put all the files. However, cmake also supports the
|
|
|
|
DESTDIR variable. DESTDIR is used during the `make install' step to
|
|
|
|
relocate install objects into a staging area. Each object and path is
|
|
|
|
prefixed with the value of `DESTDIR' before being copied into the
|
|
|
|
install area. Here is an example of typical DESTDIR usage:
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
make DESTDIR=/tmp/staging install
|
|
|
|
|
2017-12-02 19:50:14 -06:00
|
|
|
This places install objects in a directory tree built under
|
2000-06-02 04:00:31 -05:00
|
|
|
`/tmp/staging'. If `/gnu/bin/foo' and `/gnu/share/aclocal/foo.m4' are
|
|
|
|
to be installed, the above command would install
|
2017-12-02 19:50:14 -06:00
|
|
|
`/tmp/staging/gnu/bin/foo' and
|
|
|
|
`/tmp/staging/gnu/share/aclocal/foo.m4'.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
DESTDIR can be helpful when trying to build install images and
|
|
|
|
packages.
|
|
|
|
|
2000-09-05 16:33:25 -05:00
|
|
|
NOTE: If you have installed different parts of Gnome in different
|
2011-03-30 02:13:54 -05:00
|
|
|
places (for instance, if you've installed webkit in /usr/local) you
|
2000-09-05 16:33:25 -05:00
|
|
|
will need to set the environment variables GNOME_PATH and
|
|
|
|
GNOME_LIBCONFIG_PATH. See the manpage for gnome-config for more
|
|
|
|
details.
|
|
|
|
|
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
###################
|
|
|
|
Supported Platforms
|
|
|
|
-------------------
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2023-04-16 02:30:37 -05:00
|
|
|
GnuCash 5.x is known to work with the following operating systems:
|
2000-06-13 03:07:15 -05:00
|
|
|
|
2003-07-09 15:29:54 -05:00
|
|
|
GNU/Linux -- x86, Sparc, PPC
|
2000-06-13 03:07:15 -05:00
|
|
|
FreeBSD -- x86
|
2000-06-26 14:38:45 -05:00
|
|
|
OpenBSD -- x86
|
2018-04-06 17:46:29 -05:00
|
|
|
MacOS -- Intel, Versions 10.9 and later
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
|
2018-04-06 17:46:29 -05:00
|
|
|
GnuCash can probably be made to work on any platform for which Gtk+ can
|
|
|
|
and for which there is a C++11 compiler available, given sufficient expertise
|
|
|
|
and effort. If you try and encounter difficulty, please subscribe to the
|
|
|
|
developer's mailing list, gnucash-devel@gnucash.org and we'll try to help you.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
#########################
|
2014-01-09 12:50:51 -06:00
|
|
|
Downloads
|
2000-06-02 04:00:31 -05:00
|
|
|
-------------------------
|
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
GnuCash sources and Mac and Windows binaries are hosted at
|
2018-04-06 17:46:29 -05:00
|
|
|
SourceForge and Github. Links for the current version are provided at
|
2018-09-18 05:31:44 -05:00
|
|
|
https://www.gnucash.org. We depend upon distribution packagers for
|
2014-01-09 12:50:51 -06:00
|
|
|
GNU/Linux and *BSD binaries, so if you want a more recent version than
|
|
|
|
your distribution provides you'll have to build from source.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2006-01-29 12:21:54 -06:00
|
|
|
##############################
|
2014-01-09 12:50:51 -06:00
|
|
|
Getting Source with Git
|
2006-01-29 12:21:54 -06:00
|
|
|
------------------------------
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
We maintain a mirror of our master repository on Github. You can
|
|
|
|
browse the code at https://github.com/Gnucash/gnucash. Clone URIs are
|
|
|
|
on that page, or if you have a Github account you can fork it
|
2016-05-31 06:09:44 -05:00
|
|
|
there.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-08-07 13:30:25 -05:00
|
|
|
##################
|
2000-06-02 04:00:31 -05:00
|
|
|
Developing GnuCash
|
|
|
|
------------------
|
|
|
|
Before you start developing GnuCash, you should do the following:
|
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
1. Read https://wiki.gnucash.org/wiki/Development
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2014-01-09 12:50:51 -06:00
|
|
|
2. Look over the doxygen-generated documentation at
|
2018-09-18 05:31:44 -05:00
|
|
|
https://code.gnucash.org/docs/MASTER/ or
|
|
|
|
https://code.gnucash.org/docs/MAINT/
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2001-06-01 03:48:39 -05:00
|
|
|
3. Go to the GnuCash website and skim the archives of the GnuCash
|
2000-06-02 04:00:31 -05:00
|
|
|
development mailing list.
|
|
|
|
|
2001-06-01 03:48:39 -05:00
|
|
|
4. Join the GnuCash development mailing list. See the GnuCash website
|
2000-06-02 04:00:31 -05:00
|
|
|
for details on how to do this.
|
|
|
|
|
2018-04-06 17:46:29 -05:00
|
|
|
5. Build the branch you want from a git clone of our repository and make
|
|
|
|
sure that your build passes all of the tests and runs correctly.
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
Submitting a Patch:
|
|
|
|
|
2018-09-18 05:31:44 -05:00
|
|
|
Please read https://wiki.gnucash.org/wiki/Development#Submitting_Patches.
|
2008-03-08 11:17:47 -06:00
|
|
|
|
|
|
|
Thank you.
|