Money Manager EX is a nice tool to keep track of personal finances and expenses. And while installers exist for windows, in Linux one has to compile the software alone. This has proven to be somewhat more difficult than expected, but with the right dependencies and following the guide it is possible.
Compile from git repository and install
Following the Ubuntu guide from Github one needs to do,- Install dependencies
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git build-essential automake libwxbase3.0-dev libwxgtk3.0-dev libwxgtk-webview3.0-dev python-dev build-essential cmake git libgtk-3-dev libwebkitgtk-dev libwxgtk3.0-dev libwxgtk-webview3.0-dev libwxsqlite3-3.0-dev(In the github documentation the latter libwsqlite3-3.0-dev is not mentioned, however it is necessary for compiling. Without this I was getting errors while compiling) - Clone the git repository
git clone --recursive https://github.com/moneymanagerex/moneymanagerex
(I found that the --recursive parameter is important, otherwise I got some files missing in the end) - For the release (no debugging build) configure and compile as
cd moneymanagerex/build
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=Release ../../
make package - After this you can install it with
sudo make install
- and finally run from the terminal window with
mmex
MMEX running under Ubuntu 16 |
Note: For make you can pass the argument "-j x" where x is the number of threads to use.
Creating a desktop launcher
Create a file called Mmex.desktop (yes, .desktop) on your desktop.nano ~/Desktop/Mmex.desktopPaste the following into the file
#!/usr/bin/env xdg-openMake the file executable with
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=mmex
Name=Mmex
Comment=Money Manager
Icon=/usr/local/share/icons/hicolor/scalable/apps/mmex.svg
chmod +x ~/Desktop/Mmex.desktopYou should be left with the following, a nice desktop launcher.
Mmex desktop launcher and the location of the Icon |
Exec - command that gets executed
Name - The visible name of the file (hence you don't see the .desktop extension)
Comment - Additional comment if you like
Icon - path to the icon to display, otherwise blank launcher image
No comments:
Post a Comment