How To Install KMyMoney on Ubuntu 16.04 And Derivative Systems

To Install KMyMoney on Ubuntu 16.04

KMyMoney is an open source and easy-to-use personal finance manager which has support for different account types, categorization of expenses and incomes and reconciliation of bank accounts. Also, supports both importing and exporting QIF. With additional plugins, it also provides online banking for the OFX and HBCI protocols.

Installing KMyMoney

The latest KMyMoney builds are available via PPA, so use the following command to update the local repository index.

user1@linuxhelp1:~$ sudo add-apt-repository ppa:claydoh/kmymoney2-kde4

 Packages for the latest stable KMyMoney
 More info: https://launchpad.net/~claydoh/+archive/ubuntu/kmymoney2-kde4
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp3qjcmr56/secring.gpg'  created
gpg: keyring `/tmp/tmp3qjcmr56/pubring.gpg'  created
gpg: requesting key D09DE175 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp3qjcmr56/trustdb.gpg: trustdb created
gpg: key D09DE175: public key " Launchpad PPA for Clay Weber"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Next update the apt sources-list as follows.

user1@linuxhelp1:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial InRelease [17.5 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease                                         
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease       
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease    
Get:6 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main amd64 Packages [5,932 B]
Get:7 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main i386 Packages [5,932 B]
Get:8 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main Translation-en [2,712 B]
Fetched 32.1 kB in 1s (28.4 kB/s)         
Reading package lists... Done

Now is the time to install the package. Use the following command to install it.

user1@linuxhelp1:~$ sudo apt-get install kmymoney
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  breeze-icon-theme docbook-xml docbook-xsl fonts-dejavu fonts-dejavu-extra icoutils kactivities kate-data katepart
  kde-runtime kde-runtime-data kde-data-style-breeze kde-data-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins
  kdoctools kmymoney-common kpackagelauncherqml kpackagetool5 kwayland-data kwayland-integration libakonadi-kde4
  libakonadiprotocolinternals1 libalkimia5 libaqbanking-data libaqbanking35 libaqbanking35-plugins libaqebics0
  libaqhbci22 libaqofxconnect7 libattica0.4 libclass-singleton-perl libcommon-sense-perl libdatetime-locale-perl
  libdatetime-perl libdatetime-timezone-perl libdlrestrictions1 libfam0 libfinance-quote-perl libgif7 libgpgme++2v5
  libgwengui-cpp0 libgwengui-qt4-0 libgwenhywfar-data libgwenhywfar60 libhtml-tableextract-perl libjson-perl
  libjson-xs-perl libkabc4 libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5
  libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkf5activities5 libkf5archive5
  libkf5attica5 libkf5auth-data libkf5auth5 libkf5calendarevents5 libkf5codecs-data libkf5codecs5
  libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5
  libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5
.
.
Setting up ntrack-module-libnl-0 (016-1.3) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...

KMyMoney is now installed, go to your Ubuntu dash and type the package name to launch the application.

FAQ
Q
Is there any alternative available for this tool?
A
yeah , there is , somw are Money Manager Ex, You Need A Budget, Homebank, moneyGuru
Q
When I start KMyMoney I get a "Malformed URL" error. What's wrong?
A
Usually, the reason for this is that you didn't run 'make install' as root. This step actually copies all of the icons, and other files needed by KMyMoney to run properly. If you did run this, make sure you passed the correct prefix to 'configure' at the beginning of your compile.
Q
How can I use distcc to help speed up the compilation of KMyMoney, or other KDE (C++) applications?
A
After I first installed distcc, I couldn't get the distributed compiling to work. I stumbled upon this post in the Gentoo forums which told me how to get distcc to work with C++ applications. After I created the /usr/bin/dist++ shell script, (and performing an 'export CXX=dist++'), the next time I ran make on KMyMoney, it was being compiled on two machines.
Q
The Git version is broken! What do I do now?
A
Usually, the reason for this is that one of the developers made a change to the code that requires a clean reconfigure. Please run a 'git pull --rebase' to update your local repository.
Q
Will KMymoney work on my X/Ubuntu desktop?
A
It will work, but you will have to install the basic KDE libraries first, as Xubuntu comes with Gnome libraries by default. If you want to install from Git, you should install build-essential and kdelibs4-dev. The second one will install a ton of other KDE-related packages.