Saturday, 4 January 2014

Gambas 3 For Ubuntu 12.04 LTS

A friend switched to Linux from Windows XP and went with Ubuntu 12.04 because of the long-term support. So I have been asked a fair few questions over the past few days. Then a question came which I answered a little too hasty - the question was "So where would I find something like Visual Basic 6?" My initial response was "Install Gambas. Slightly different but you'll get the hang of it I'm sure."

They seemed happy enough. Then last night I was working on something and realized they had most likely installed Gambas from the Ubuntu repository. This in itself is not a bad thing but the Ubuntu repository is installing Gambas 2.23.1 which was released back in May 2011 whereas the Gambas PPA is using 3.5.1 which was released in November 2013.

I'm not sure why the official Ubuntu repository is using the older version but I have been using the same PPA for almost 2 years now and have never had any problems in Ubuntu 12.04 with versions 3.0.0 to 3.5.1.

I explained to my friend my error, and also explained I'm not sure why it is that way, and suggested they upgrade Gambas via the PPA.

Open a terminal (Ctrl+Alt+T or find it in Dash)

Type the following command:

sudo add-apt-repository ppa:nemh/gambas3

Which will add the Gambas PPA. It will ask for the root password, and then it will get the PPA details and ask if you sure you want to install it.

After the PPA is added it is necessary to update the repository package information. Typing the following command:

sudo apt-get update

Once that bit is completed it is just a case of the final command:

sudo apt-get install gambas3

And when it has finished downloading and installing you are done. Then Gambas can be found in Dash.

This post is mainly a reminder for myself so I don't make the same mistake again. If it helps anyone else that is even better. I have no idea why the official repository is using 2.23.1 but for me, and a few others I asked, 3.5.1 runs just fine in Ubuntu 12.04 LTS.


Ubuntu LTS
Gambas PPA on Launchpad

Oh and if anyone knows why Ubuntu is at 2.23.1 I'd like to know. I did a quick search on the net but found nothing definitive for a reason.

No comments:

Post a Comment

Thank you for your comment. Please note that all comments are not moderated and as such are not the responsibility of this blog; or its author.