From bbh wiki
Jump to navigationJump to search


Based on: building on Ubuntu Feisty

Get Dependencies

sudo apt-get install build-essential checkinstall guile-1.6-dev guile-1.6-slib libgoffice-0-dev libgtkhtml3.14-dev texinfo

Get GnuCash 2.2 Source

Go to or


Unpack the sources into a new directory

tar -xzvf gnucash-2.2.1.tar.gz


bunzip2 gnucash-2.2.1.tar.bz2
tar -xvf gnucash-2.2.1.tar

Work in the newly created directory

cd gnucash-2.2.1

Create make files (? I didn't find an script)




If this command complains about not finding libraries (it shouldn't), then you can probably find them in Synaptic.

Build .deb for GnuCash 2.2

checkinstall --default --install=no

This will take maybe 10 minutes, and it will build an installer file called "gnucash_2.2.1-1_i386.deb". (If it's got a different name, substitute that into the next step.)

Install the .deb that you built

sudo dpkg -i gnucash_2.2.1-1_i386.deb

If you get errors about dpkg not being able to overwrite files (I did), you can override them with this version:

sudo dpkg -i --force-overwrite gnucash_2.2.1-1_i386.deb

Run GnuCash


The first time, gnucash complains about not finding default values; I go through the steps of letting it set the defaults, which changes a path value.

Build and install Documentation

tar zxvf gnucash-docs-2.2.0.tar.gz
cd gnucash-docs-2.2.0
sudo make install