Difference between revisions of "GnuCash Sources"

From GnuCash
Jump to: navigation, search
(Expand the download instructions (for tarballs at this stage))
 
m (Stable Releases: Fix appearance of external links; use template for latest released version)
Line 2: Line 2:
 
===Stable Releases===
 
===Stable Releases===
 
Stable releases of the GnuCash source code are available for download from:
 
Stable releases of the GnuCash source code are available for download from:
* [https://www.gnucash.org/index.phtml | Gnucash Website] Linux source link;
+
* [https://www.gnucash.org/index.phtml Gnucash Website] Linux source link;
* [https://www.gnucash.org/download.phtml | Gnucash website Download] page, bzip2 compressed tarball link;
+
* [https://www.gnucash.org/download.phtml Gnucash website Download] page, bzip2 compressed tarball link;
* [https://sourceforge.net/projects/gnucash/?source=directory | SourceForge GnuCash] page.
+
* [https://sourceforge.net/projects/gnucash/?source=directory SourceForge GnuCash] page.
These links all point to the SourceForge Download page and will download a zipped (compressed) tarball containing the sources for gnucash with a name of the form ''gnucash-<major>.<minor>-<???>.tar.<bz2> '', e.g. ''gnucash-3.1-1.tar.bz2''. Some earlier stable releases are also available from this page by expanding the See All Activity link and selecting the desired version from the drop down list.
+
These links all point to the SourceForge Download page and will download a zipped (compressed) tarball containing the sources for gnucash with a name of the form ''gnucash-<major>.<minor>-<packing>.tar.<bz2> '', e.g. ''gnucash-{{Version}}-1.tar.bz2''. Some earlier stable releases are also available from this page by expanding the See All Activity link and selecting the desired version from the drop down list.
  
 
You should save this file to a suitable location, e.g. Downloads directory in your home directory (/home/<user>/Downloads where <user> is your username.
 
You should save this file to a suitable location, e.g. Downloads directory in your home directory (/home/<user>/Downloads where <user> is your username.
  
 
You should then extract the source code from the zipped archive to a suitable directory under your home directory where you will build gnucash, e.g. something like /home/<user>/Applications.
 
You should then extract the source code from the zipped archive to a suitable directory under your home directory where you will build gnucash, e.g. something like /home/<user>/Applications.
 +
 
===Using a shell: ===
 
===Using a shell: ===
 
<SyntaxHighlight lang="sh">cd /home/<user>/Downloads</SyntaxHighlight>
 
<SyntaxHighlight lang="sh">cd /home/<user>/Downloads</SyntaxHighlight>

Revision as of 03:08, 15 June 2018

GnuCash Sources

Stable Releases

Stable releases of the GnuCash source code are available for download from:

These links all point to the SourceForge Download page and will download a zipped (compressed) tarball containing the sources for gnucash with a name of the form gnucash-<major>.<minor>-<packing>.tar.<bz2> , e.g. gnucash-5.10-1.tar.bz2. Some earlier stable releases are also available from this page by expanding the See All Activity link and selecting the desired version from the drop down list.

You should save this file to a suitable location, e.g. Downloads directory in your home directory (/home/<user>/Downloads where <user> is your username.

You should then extract the source code from the zipped archive to a suitable directory under your home directory where you will build gnucash, e.g. something like /home/<user>/Applications.

Using a shell:

cd /home/<user>/Downloads
tar -xjvf gnucash-3.1-1.tar.bz2 -C /home/<user>/Applications

For the very latest source code, get the sources with Git or

use the latest release source file of type gnucash-<version>.tar.gz from Sourceforge.
Do not attempt to use tarballs from GitHub.

Examine the Dependencies wiki page and the README.dependencies file for the list of build dependencies for your distribution, the README.git file for notes on compiling gnucash, and the HACKING file for notes on hacking the code

Download tarball

  1. Select the link bzip compressed tarball for GnuCash 3.x stable release on the page | Gnucash Download
  2. or Select either the maint branch or master branch as required then click the Download button and select Download ZIP to download the tarball.
  3. Save to a suitable directory within your home directory (e.g. /home/<user>/Downloads).
  4. Extract the gnucash-3.<x> directory to a suitable directory under your home directory (e.g. either Downloads as above or something like /home/<user>/Applications (create if required)).
  5. Substitute appropriate minor release number for <x> from {0,1,2..} where it appears in the commands below.

Using git

In a shell enter

git clone -b maint https://github.com/Gnucash/gnucash.git
  1. The to level directory downloaded by git will be named "gnucash" not "gnucash-3.<x>".
  2. Either rename it or subsitute "gnucash" where "gnucash-3.<x>" occurs in the following commands.