How To Install gnucash on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gnucash on Ubuntu 20.04.
What is gnucash
gnucash is:
Gnucash provides accounting functions suitable for use by small businesses and individuals. It can track finances in multiple accounts, keeping running and reconciled balances. There is support for customer, vendor and employee processing. It has an X based graphical user interface, double entry, a hierarchy of accounts, expense accounts (categories), and can import Quicken QIF files and OFX files.
Package: gnucash Architecture: amd64 Version: 1:3.8b-1build4 Built-Using: googletest (= 1.10.0-2) Priority: extra Section: universe/gnome Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Dmitry Smirnov [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 23209 Depends: gnucash-common (= 1:3.8b-1build4), guile-2.2-libs, libaqbanking44 (>= 5.99.43), libboost-date-time1.71.0, libboost-filesystem1.71.0, libboost-locale1.71.0, libboost-regex1.71.0-icu66, libc6 (>= 2.27), libcairo2 (>= 1.2.4), libdbi1 (>= 0.9.0), libgcc-s1 (>= 3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.45.3), libgtk-3-0 (>= 3.21.5), libgwengui-gtk3-0 (>= 4.99.24), libgwenhywfar79 (>= 4.99.10beta), libicu66 (>= 66.1~rc-1~), libofx7 (>= 0.9.14), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpython3.8 (>= 3.8.2), libsecret-1-0 (>= 0.7), libstdc++6 (>= 9), libwebkit2gtk-4.0-37 (>= 2.15.1), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4), perl:any, guile-2.2 | guile-2.0, libfinance-quote-perl, libwww-perl, libhtml-tree-perl, libhtml-tableextract-perl, libcrypt-ssleay-perl, libdate-manip-perl Recommends: gnucash-docs, python3-gnucash, yelp Suggests: libdbd-mysql, libdbd-pgsql, libdbd-sqlite3 Breaks: gnucash-common (« 1:2.4.8-1~) Replaces: gnucash-common (« 1:2.4.8-1~) Filename: pool/universe/g/gnucash/gnucash_3.8b-1build4_amd64.deb Size: 3562984 MD5sum: 1f07c2d7c149ae0f0f8fdffdb9317980 SHA1: fc057d4005870165582d685542ae5d216f9e3445 SHA256: 6b95c101086c6940830e0d0f6e230d4ecbfe61279ea8aeebc29f9cb1b3616ced Homepage: http://www.gnucash.org/ Description-en: personal and small-business financial-accounting software Gnucash provides accounting functions suitable for use by small businesses and individuals. It can track finances in multiple accounts, keeping running and reconciled balances. There is support for customer, vendor and employee processing. It has an X based graphical user interface, double entry, a hierarchy of accounts, expense accounts (categories), and can import Quicken QIF files and OFX files.
There are three methods to install gnucash on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install gnucash Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install gnucash using apt-get by running the following command:
sudo apt-get -y install gnucash
Install gnucash Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gnucash using apt by running the following command:
sudo apt -y install gnucash
Install gnucash Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install gnucash using aptitude by running the following command:
sudo aptitude -y install gnucash
How To Uninstall gnucash on Ubuntu 20.04
To uninstall only the gnucash package we can use the following command:
sudo apt-get remove gnucash
Uninstall gnucash And Its Dependencies
To uninstall gnucash and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gnucash
Remove gnucash Configurations and Data
To remove gnucash configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gnucash
Remove gnucash configuration, data, and all of its dependencies
We can use the following command to remove gnucash configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gnucash
References
Summary
In this tutorial we learn how to install gnucash package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.