[GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Stephen M. Butler kg7je at arrl.net
Sun May 19 12:58:38 EDT 2019


On 5/18/19 5:43 AM, Nathan T Alexander wrote:
> Hi Colin
>
> I upgraded my operating system to a newer  version of ubuntu. Now I'm on DISTRIB_CODENAME=bionic
> DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
>
>
> Tried following the build instructions and got different errors. Couldn't find any help on building.
>
> Searched through gnucash wiki and found https://wiki.gnucash.org/wiki/Debian. Tried to follow the instrucions here but the links to getdeb are all dead. 
>
> I still need to install a recent version of gnucash on ubuntu 18.04 lts please help
>
Do you want to download a .deb file for 3.4 or 3.5 and install that?  Or
do you want to compile locally on your machine?

Download:

Download the three files for 3.4 from here: 
https://drive.google.com/open?id=1fV_fURy6c77e7gf6S41lTacM7dFyy7VD

Or, Download the three files for 3.5 from here:
https://drive.google.com/open?id=11gjnSIw9E8B8kOJ01DHQuEA83xidbw8E

Those were built on Ubuntu 18.04 for the Trusty distro.  However, they
both worked on my 18.04 Ubuntu laptop.

I suspect that if you already have 3.3 installed, you could get away
with isolating the three files into a folder (perhaps they are the only
'*gnucash*.deb' files in Downloads:

cd to-that-folder

sudo apt install ./*gnucash*.deb


Build own:

I have not built from the tarball.  I'm using a git clone so my mileage
will be different. I would recommend setting up a git clone so you can
always pull the latest set of patches.  Also, you can "checkout" earlier
versions and compile them locally if you have an itch that needs
scratched with one of those.

On my box, under $HOME, I build a directory called "Projects" (I have
way to many projects in there).  Within Projects, I created GnuCash.  At
that point:

cd ~/Projects/GnuCash

git clone https://github.com/Gnucash/gnucash.git

# The above will create a folder "gnucash" within "GnuCash".  Then build a separate build area within GnuCash:

makedir GnCBuild

cd gnucash
git checkout 3.5
cd ../GnCBuild
cmake --yourflags ../gnucash
make
sudo make install

# Note that GnCBuild and gnucash are both sub-folders inside GnuCash folder.

-- 
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8




More information about the gnucash-user mailing list