First I must thank the Maitreya developers for coming up with such a wonderful Vedic Astrology software that works on Linux. I am not aware of any other vedic astrology software that works on Linux.
Next I have to say that the install instructions on the site (and in the tarball) are not written with a newbie in mind and I had to struggle a bit before I could get it to work. The compiling of source code is really similar for I guess all source codes in general on linux and in particular in Ubuntu / Kubuntu but thing is when you are new to the platform and probably have almost all required software in repositories you rarely come across a situation where you need to compile from a source code to install your favourite software. Anyway so without wasting time in chit-chat, below is the step by step installation of Maitreya 6 on Ubuntu / Kubuntu:
1. Download Maitreya 6 tarball. 2. Prepare the system for installing 3. Install wxWidgets 2.8 Dependencies 4. Configure and Build 5. Install 6. Create a desktop icon
Download Maitreya 6 tarball - From your browser goto http://maitreya.svn.sourceforge.net/viewvc/maitreya/ and click on the link "Download GNU tarball". This will download the maitreya.tar.gz file on your system.
Prepare the system for installing - I used the instructions from ubuntu help documentation that can be found here. However, I have documented the step that I used in sequence to achieve the objective.
sudo chown yourusername /usr/local/src
sudo chmod u+rwx /usr/local/src
Now the system is prepared for installing.
Install wxWidgets 2.8 Dependencies - As mentioned on Maitreya site, the software depends on wxWidgets 2.8 and corresponding packages must be installed. On the site itself is given the code that needs to copied onto the terminal to achieve this.
sudo apt-get install libwxbase2.8-0 libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx2.8-i18n
Over to next step.
Configure and Build - There are few things that should be done before we start to configure the downloaded source code.
The content downloaded may change in future but at the time of writing this article it has two folders maitreya5 and maitreya6. All next steps will assume that folders name maitreya6 is present in your download but if not you will just have to replace with whatever folder is inside the extracted maitreya folder.
sh ./confgure. This is what worked from me though everywhere instructions were to just use without sh.
Over to next step.
Install - Again there were options around using sudo make install but the ubuntu help I have referred to (link above), suggested that checkinstall is better and it also creates a .deb file and I like the idea so that next time if I have to reinstall I don't need to do all this circus so I used the following and would recommend the same.
The software should now be installed and you can test it by clicking the file named Maitreya6 at Location - /usr/local/src/maitreya/maitreya6/trunk/src/gui. However if you want to access it easily from desktop there is just one more step.
Create a desktop icon - To create a desktop icon goto the folder /usr/local/src/maitreya/maitreya6/trunk and copy the file maitreya6.desktop and paste in on desktop.
This is it you have now installed the Maitreya software !!!