Building On Linux
Contents
Building GnuCash on Linux from the Source Code
This page and the linked pages contains generic instructions for building on many Linux distributions. Some Linux distributions may vary in specific details like:
- the package manager they use to install software from the distribution repositories;
- the names of libraries and header files for compiling libraries in their repositories;
- locations in which libraries and programs are commonly installed.
Where information on these differences is known it will be listed in distribution specific sections for some common distributions in use in the GnuCash community. This information can be used to translate these instructions to those specific distributions. In most cases translation generally involves substituting a package managers name for "apt" which is used in the following and the names of the library files in the repositories of the distributions. The distribution specific sections will contain some information on how you might determine library names on that distribution. The instructions in the following are usually directly applicable directly to Debian/Ubuntu distributions and direct derivatives (although not necessarily all of them). Where such information is not available here, you may need to consult the distribution documentation for the required information. Please feel free to add distribution specific information relevant to these instructions for distribuitions that are not currently listed.
Setting up to Build GNuCash on Linux
To build GnuCash on a Linux system you will first have to have completed the following steps:
- Installing the Build Tools;
- Getting the GnuCash sources;
- Installing Google Test;
- Installing Dependencies.
Configuring your Build
Building the GnuCash Program
Installing the Built Program
Running GnuCash
Uninstalling GnuCash
Distribution Specific Issues
===Linux Mint 19/Ubuntu18.04 On Linux Mint 19/Ubuntu 18.04 Google Test can be installed from the Software Manager