Difference between revisions of "Ubuntu"

From GnuCash
Jump to: navigation, search
(Standard Ubuntu Releases of GnuCash: added link for upcoming Raring release)
(Ubuntu 20.04 ("Focal Fossa"): fixed typo)
 
(70 intermediate revisions by 8 users not shown)
Line 1: Line 1:
* [http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=gnucash packages.ubuntu.com search for gnucash]
+
[[category:Linux]] [[category:Installation]] [[category:Distribution]] [[category:Building]]
* [http://bugs.launchpad.net/distros/ubuntu/+source/gnucash/+bugs ubuntu gnucash bugs in launchpad]
+
{| class="wikitable" style="margin: auto;"
* [http://www.ubuntu.com/getubuntu/upgrading Details on how to upgrade Ubuntu]
+
! scope="row"|Languages
* Ubuntu releases twice a year, with version numbers indicating the year and month of release (y.mm). Each release also has a nickname. (The first release came out in October 2004; Ubuntu 4.10 was also known as "Warty Warthog.")  
+
| [[He/{{PAGENAME:אובונטו}}|עִברִית]]
* Ubuntu has regular releases every six months. All releases receive security updates for 18 months, but some releases are designated "LTS" for Long Term Support. LTS releases are officially supported (and backported to) for 3 years on the desktop, and 5 years for servers.
+
|}
 +
* Ubuntu is a [[Debian]] based Linux distribution and '''releases''' twice a year, with version numbers indicating the year and month of release <tt>yy.mm</tt>. Each release also has a ''nickname''. (The first release came out in October 2004; Ubuntu 4.10 was also known as "Warty Warthog.")  
 +
* All of Ubuntu's six-month releases receive '''security updates''' for 18 months. In addition, some releases are designated "LTS" for '''Long Term Support'''. LTS releases are officially supported with security updates (and backported to) for 3 years on the desktop, and 5 years for servers.
 +
* At present, GnuCash is NOT in Ubuntu's "Main" repositories, so updates must work their way through the Debian update process. Because of this situation, Ubuntu repositories usually contain a version of GnuCash that is a release or two behind the latest stable version.
  
== Build GnuCash Yourself ==
+
Handy Links:
 +
* Wikipedia has a [{{URL:wp}}List_of_Ubuntu_releases#Table_of_versions handy chart showing which Ubuntu versions are still supported].
 +
* [https://tracker.debian.org/pkg/gnucash Debian Tracker for GnuCash package] (The GnuCash package gets copied from Debian testing before each Ubuntu release.)
 +
* [https://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=gnucash packages.ubuntu.com Ubuntu GnuCash package list]
 +
* [https://bugs.launchpad.net/distros/ubuntu/+source/gnucash/+bugs Ubuntu gnucash bugs in launchpad]
 +
* [https://tutorials.ubuntu.com/tutorial/tutorial-upgrading-ubuntu-desktop#0 Tutorial showing how to upgrade Ubuntu]
  
It requires very little technical skill to build GnuCash from source in Ubuntu. See [[Building]] for details. (Important: for production purposes be sure to compile the latest STABLE release.)
 
  
== GetDeb ==
+
== GnuCash package ==
 +
Ubuntu has GnuCash available as a ready-to-install package. Just choose "gnucash" as a package to be installed.
  
The version of GnuCash in the official Ubuntu repositories tends to be outdated. The latest stable version is usually available at GetDeb http://GetDeb.net/ which is an unofficial archive of Ubuntu-compatible packages.  
+
== More recent packages ==
 +
The version of GnuCash and some of its dependencies in the official Ubuntu repositories tends to be outdated.  
  
Follow the instructions at GetDeb for activating the GetDeb repository on your machine. http://www.getdeb.net/updates#how_to_install
+
=== AqBanking @ ppa ===
 +
You can get more recent versions of AqBanking via [https://launchpad.net/~micha/+archive/libaqbanking aqbanking-backports-ppa].
  
If you want to avoid updating any other applications, turn off the GetDeb repository after installing GnuCash, OR you can download just the GetDeb packages for GnuCash. If you just download the GetDeb GnuCash packages, be sure to download all three GnuCash packages to your machine so the dependencies can be met.
+
=== GnuCash @ Debian Archive ===
 +
GnuCash (for Debian based distributions) can be downloaded from the Debian Archive which is primarily an archive for old distributions of Debian but also contains recent versions of GnuCash.
  
If you are having trouble reaching GetDeb, see these suggestions of mirror sites: http://www.ubuntugeek.com/getdeb-mirror-site.html
+
See http://ftp.us.debian.org/debian/README.html.
  
== Standard Ubuntu Releases of GnuCash ==
+
As at 5th Jul 2018, the Debian Archive includes
 +
* GnuCash 2.6.15: should work in Ubuntu 16.04 and 16.10
 +
* GnuCash 3.0-1:  should work in Ubuntu 18.04 (not tested)
 +
* GnuCash 3.2-1:  unknown Ubuntu compatibility<br />
  
If you not using any of the above sources, when you install GnuCash, the version you get will be the version archived for your release of Ubuntu. GnuCash is not officially maintained for Ubuntu, so it is the latest Debian version available when the Ubuntu release was "frozen" (as listed below). Depending on your version of Ubuntu, you may additionally have to manually activate the "Universe" repository (using the Software Sources application) before GnuCash is visible.
+
To install:
 +
# Uninstall and purge any previous version of GnuCash: [https://wiki.gnucash.org/wiki/index.php?title=Ubuntu&oldid=15299#Purging_the_distribution_package_and_installing_the_GetDeb_package archived version]
 +
# Download from http://ftp.us.debian.org/debian/pool/main/g/gnucash/ (say by clicking on the required files in FireFox):
 +
## gnucash_2.6.15-1_amd64.deb  (another file may be needed if not using 64 bit Ubuntu on intel/amd)
 +
## gnucash-common_2.6.15-1_all.deb
 +
#:Firefox will download to ~/Downloads
 +
# In a terminal <syntaxhighlight lang="sh">
 +
cd ~/Downloads
 +
sudo dpkg -i gnucash_2.6.15-1_amd64.deb gnucash-common_2.6.15-1_all.deb
 +
</syntaxhighlight>
 +
#: There will be complaints about some missing dependencies: libaqbanking35 etc.
 +
# Open Ubuntu Software Centre from the Dash.
 +
#: It will say there is a problem and offer to repair it. Accept the offer.
 +
#: After 30 seconds or so, all the dependencies should have been installed.
  
If you are using an older (such as one of the LTS versions) of Ubuntu, you may want an updated version of GnuCash from an official repository. As newer versions of GnuCash become "back-ported" to your release, you can activate the Backports repository to install the latest back-ported upgrade. (If fidelity to the rest of the supported release is important to you, also be sure to "pin" your Backports repository to a lower priority than the other repositories using an /etc/apt/preferences file, and install only the upgraded packages you use.) For more backport details see https://help.ubuntu.com/community/UbuntuBackports
+
=== GnuCash @ GetDeb ===
 +
You may see references to "GetDeb," which once held a wide range of unofficial backported versions of popular applications. The site was maintained by a small group of private volunteers and their donors. Sometime before 2018 the site became stale and ultimately disappeared. In 2019 someone bought the domain and may be using it as a news site.
  
Because back-ported releases come from Debian packages, even back-ported versions are usually at least a bit outdated, too. :-( If you want the latest, your best bet is to either build it yourself or use the GetDeb repository.
+
== Standard Ubuntu Releases of GnuCash ==
  
=== Ubuntu 13.04 ("Raring Ringtail") ===
+
If you not using any other software sources, when you install GnuCash, the version you get will be the version archived for your release of Ubuntu. GnuCash is not officially maintained for Ubuntu, so it is the latest Debian version available when the Ubuntu release was "frozen" (as listed below). Depending on your version of Ubuntu, you may additionally have to manually activate the "Universe" repository (using the Software Sources application) before GnuCash is visible.
  
GnuCash 2.4.11 is included in Ubuntu 13.04, to be released April 2013
+
If you are using an older (such as one of the LTS versions) of Ubuntu, you may want an updated version of GnuCash from an official repository. As newer versions of GnuCash become "back-ported" to your release, you can activate the Backports repository to install the latest back-ported upgrade. (If fidelity to the rest of the supported release is important to you, also be sure to "pin" your Backports repository to a lower priority than the other repositories using an /etc/apt/preferences file, and install only the upgraded packages you use.) For more backport details see https://help.ubuntu.com/community/UbuntuBackports
http://packages.ubuntu.com/raring/gnucash
 
  
=== Ubuntu 12.10 ("Quantal Quetzal") ===
+
Because back-ported releases come from Debian packages, even back-ported versions are usually at least a bit outdated, too. :-( If you want the latest, your best bet is to build it yourself. (Note that the Debian maintainer has requested assistance and many users depend upon his work. If you have experience with Ubuntu or Debian, please consider helping package GnuCash.)
  
Guncash 2.4.11 is included in Ubuntu 12.10, released October 2012.
 
http://packages.ubuntu.com/quantal/gnucash
 
  
=== Ubuntu 12.04 LTS ("Precise Pangolin") ===
+
=== Ubuntu 22.04 ("Jammy Jellyfish" ===
  
GnuCash 2.4.10 is included in Ubuntu 12.04 LTS, released April 2012. http://packages.ubuntu.com/precise/gnucash
+
GnuCash 4.8 is included in Ubuntu 22.04, released April 2022
 +
https://packages.ubuntu.com/jammy/gnucash
  
=== Ubuntu 11.10 ("Oneiric Ocelot") ===
+
=== Ubuntu 20.04 ("Focal Fossa") ===
  
GnuCash 2.4.7 is included in Ubuntu 11.14, released October 2011. http://packages.ubuntu.com/oneiric/gnucash
+
GnuCash 3.8b is included in Ubuntu 20.04, released April 2020
 +
https://packages.ubuntu.com/focal/gnome/gnucash
  
=== Ubuntu 11.04 ("Natty Narwhal") ===
+
=== Ubuntu 18.04 ("Bionic Beaver") ===
  
GnuCash 2.4.2 is included in Ubuntu 11.04, released April 2011. http://packages.ubuntu.com/natty/gnucash
+
GnuCash 2.6.19 is included in Ubuntu 18.04, released April 2018
 +
https://packages.ubuntu.com/bionic/gnome/gnucash
  
=== Ubuntu 10.10 ("Maverick Meerkat") ===
+
=== Ubuntu 16.04 LTS ("Xenial Xerus") ===
  
GnuCash 2.2.9 is included in Ubuntu 10.10, released October 10th 2010. http://packages.ubuntu.com/maverick/gnucash
+
GnuCash 2.6.12 is included in Ubuntu 16.04, released April 2016.
 +
https://packages.ubuntu.com/xenial/gnome/gnucash
  
=== Ubuntu 10.04 LTS ("Lucid Lynx") ===
+
== Adding Shortcuts to the Launcher ==
  
GnuCash 2.2.9 is included in Ubuntu 10.04, released April 29th 2010. http://packages.ubuntu.com/lucid/gnucash
+
To create shortcuts for KDE or Standard GNOME, see [[Desktop Shortcuts]].
  
=== Ubuntu 9.10 ("Karmic Koala") ===
+
From Ubuntu 11.10 to Ubuntu 16.04, default Ubuntu installations included Unity, and its Launcher, which contained a set of icons for commonly-used applications. If you regularly open more than one set of GnuCash books you can add a useful right-click menu to the GnuCash icon in the Unity Launcher to open each of your sets of books independently. (Using this method you can have multiple sets of GnuCash books open simultaneously, which you cannot do using the menu within GnuCash.) See [[Unity Shortcuts]] for details.
  
GnuCash 2.2.9 is included in Ubuntu 9.10, released October 29th 2009.
+
== Build GnuCash Yourself ==
 
 
=== Ubuntu 9.04 ("Jaunty Jackalope") ===
 
 
 
GnuCash 2.2.6 is included in Ubuntu 9.04, released April 23 2009.
 
 
 
=== Ubuntu 8.10 ("Intrepid Ibex") ===
 
 
 
GnuCash 2.2.6 is included in Ubuntu 8.10, released October 27 2008.
 
 
 
=== Ubuntu 8.04 LTS ("Hardy Heron") ===
 
 
 
GnuCash 2.2.4 is included in Ubuntu 8.04, released April 24 2008. (Ubuntu 8.04 "Hardy Heron" is an "LTS" or "Long Term Support" release to replace Ubuntu 6.06 "Dapper.") Source building and back-porting procedures should be similar to previous Ubuntu releases.
 
 
 
As always, activate the Universe repository in your Software Sources to make GnuCash available.
 
 
 
=== Ubuntu 7.10 ("Gutsy Gibbon") ===
 
 
 
GnuCash 2.2.1 is included in Gutsy. Some minimal notes on building GnuCash appear in [[BuildGutsy]]. See the [[Debian]] page for more details.
 
 
 
=== Ubuntu 7.04 ("Feisty Fawn") ===
 
 
 
GnuCash 2.0.5 is included in Feisty, and 2.2.1 is available in the Feisty Backports repository.  To enable online banking HBCI, the build instructions for Debian and Ubuntu are the same.  See the [[Debian]] page for the instructions.
 
 
 
To build GnuCash 2.2 on Feisty, see [[Building#Feisty]].
 
 
 
=== Ubuntu 6.10 ("Edgy Eft")  ===
 
 
 
GnuCash 2.0.1 is included in Edgy. To enable online banking HBCI, the build instructions for Debian and Ubuntu are the same.  See the [[Debian]] page for the instructions.
 
  
=== Ubuntu 6.06 ("Dapper Drake") ===
+
There are a number of reasons you may wish to build GnuCash from source including:
 +
* releases available with some distributions can be out of date;
 +
* you may require access to newer features and recent bugfixes;
 +
* you may wish to work on bugfixes or new features for the Gnucash code.
  
Binaries installing to /usr:
+
Building GnuCash from the sources does not require high level technical skills.
* 2.0.0 package: http://ubuntuforums.org/showthread.php?p=1242104#post1242104
 
* Docs 1.9.0 package: http://ubuntuforums.org/showpost.php?p=1247051&postcount=102
 
  
Binaries installing to /usr/local:
+
'''Important''': If you are building GnuCash for production purposes compile only from the latest '''STABLE''' release.  
* 1.9.8 package: http://ubuntuforums.org/showpost.php?p=1156619&postcount=58
+
(The development code may have unknown errors and bugs introduced during development.)
* Docs 1.9.0 package: http://ubuntuforums.org/showpost.php?p=1157798&postcount=62
 
  
[[BreezyBadgerInstallation]] instructions should basically work (perhaps with minor adjustments).
+
See [[Building#Gnucash]] for detailed instructions.

Latest revision as of 18:30, 31 August 2022

Languages עִברִית
  • Ubuntu is a Debian based Linux distribution and releases twice a year, with version numbers indicating the year and month of release yy.mm. Each release also has a nickname. (The first release came out in October 2004; Ubuntu 4.10 was also known as "Warty Warthog.")
  • All of Ubuntu's six-month releases receive security updates for 18 months. In addition, some releases are designated "LTS" for Long Term Support. LTS releases are officially supported with security updates (and backported to) for 3 years on the desktop, and 5 years for servers.
  • At present, GnuCash is NOT in Ubuntu's "Main" repositories, so updates must work their way through the Debian update process. Because of this situation, Ubuntu repositories usually contain a version of GnuCash that is a release or two behind the latest stable version.

Handy Links:


GnuCash package

Ubuntu has GnuCash available as a ready-to-install package. Just choose "gnucash" as a package to be installed.

More recent packages

The version of GnuCash and some of its dependencies in the official Ubuntu repositories tends to be outdated.

AqBanking @ ppa

You can get more recent versions of AqBanking via aqbanking-backports-ppa.

GnuCash @ Debian Archive

GnuCash (for Debian based distributions) can be downloaded from the Debian Archive which is primarily an archive for old distributions of Debian but also contains recent versions of GnuCash.

See http://ftp.us.debian.org/debian/README.html.

As at 5th Jul 2018, the Debian Archive includes

  • GnuCash 2.6.15: should work in Ubuntu 16.04 and 16.10
  • GnuCash 3.0-1: should work in Ubuntu 18.04 (not tested)
  • GnuCash 3.2-1: unknown Ubuntu compatibility

To install:

  1. Uninstall and purge any previous version of GnuCash: archived version
  2. Download from http://ftp.us.debian.org/debian/pool/main/g/gnucash/ (say by clicking on the required files in FireFox):
    1. gnucash_2.6.15-1_amd64.deb (another file may be needed if not using 64 bit Ubuntu on intel/amd)
    2. gnucash-common_2.6.15-1_all.deb
    Firefox will download to ~/Downloads
  3. In a terminal
    cd ~/Downloads
    sudo dpkg -i gnucash_2.6.15-1_amd64.deb gnucash-common_2.6.15-1_all.deb
    
    There will be complaints about some missing dependencies: libaqbanking35 etc.
  4. Open Ubuntu Software Centre from the Dash.
    It will say there is a problem and offer to repair it. Accept the offer.
    After 30 seconds or so, all the dependencies should have been installed.

GnuCash @ GetDeb

You may see references to "GetDeb," which once held a wide range of unofficial backported versions of popular applications. The site was maintained by a small group of private volunteers and their donors. Sometime before 2018 the site became stale and ultimately disappeared. In 2019 someone bought the domain and may be using it as a news site.

Standard Ubuntu Releases of GnuCash

If you not using any other software sources, when you install GnuCash, the version you get will be the version archived for your release of Ubuntu. GnuCash is not officially maintained for Ubuntu, so it is the latest Debian version available when the Ubuntu release was "frozen" (as listed below). Depending on your version of Ubuntu, you may additionally have to manually activate the "Universe" repository (using the Software Sources application) before GnuCash is visible.

If you are using an older (such as one of the LTS versions) of Ubuntu, you may want an updated version of GnuCash from an official repository. As newer versions of GnuCash become "back-ported" to your release, you can activate the Backports repository to install the latest back-ported upgrade. (If fidelity to the rest of the supported release is important to you, also be sure to "pin" your Backports repository to a lower priority than the other repositories using an /etc/apt/preferences file, and install only the upgraded packages you use.) For more backport details see https://help.ubuntu.com/community/UbuntuBackports

Because back-ported releases come from Debian packages, even back-ported versions are usually at least a bit outdated, too. :-( If you want the latest, your best bet is to build it yourself. (Note that the Debian maintainer has requested assistance and many users depend upon his work. If you have experience with Ubuntu or Debian, please consider helping package GnuCash.)


Ubuntu 22.04 ("Jammy Jellyfish"

GnuCash 4.8 is included in Ubuntu 22.04, released April 2022 https://packages.ubuntu.com/jammy/gnucash

Ubuntu 20.04 ("Focal Fossa")

GnuCash 3.8b is included in Ubuntu 20.04, released April 2020 https://packages.ubuntu.com/focal/gnome/gnucash

Ubuntu 18.04 ("Bionic Beaver")

GnuCash 2.6.19 is included in Ubuntu 18.04, released April 2018 https://packages.ubuntu.com/bionic/gnome/gnucash

Ubuntu 16.04 LTS ("Xenial Xerus")

GnuCash 2.6.12 is included in Ubuntu 16.04, released April 2016. https://packages.ubuntu.com/xenial/gnome/gnucash

Adding Shortcuts to the Launcher

To create shortcuts for KDE or Standard GNOME, see Desktop Shortcuts.

From Ubuntu 11.10 to Ubuntu 16.04, default Ubuntu installations included Unity, and its Launcher, which contained a set of icons for commonly-used applications. If you regularly open more than one set of GnuCash books you can add a useful right-click menu to the GnuCash icon in the Unity Launcher to open each of your sets of books independently. (Using this method you can have multiple sets of GnuCash books open simultaneously, which you cannot do using the menu within GnuCash.) See Unity Shortcuts for details.

Build GnuCash Yourself

There are a number of reasons you may wish to build GnuCash from source including:

  • releases available with some distributions can be out of date;
  • you may require access to newer features and recent bugfixes;
  • you may wish to work on bugfixes or new features for the Gnucash code.

Building GnuCash from the sources does not require high level technical skills.

Important: If you are building GnuCash for production purposes compile only from the latest STABLE release. (The development code may have unknown errors and bugs introduced during development.)

See Building#Gnucash for detailed instructions.