Basic Compilers

  1. In order to be able to compile programs, some extra packages are necessary. These can be installed all at once, as follows:

  2. Install the build-essential package (see Chapter 2, Adding, Removing and Updating Applications).

Java (1.5)


The following instructions are only for i386 and amd64 computers. For PowerPC machines, please look at the Ubuntu Wiki.

  1. To install the Java Runtime Environment (to run java programs), install the sun-java5-jre package from the Multiverse repository (see the section called “Extra Repositories”).

  2. To install the Java Development Kit (to compile java programs), install the sun-java5-jdk package from the Multiverse repository (see the section called “Extra Repositories”).

  3. To choose which java installation you want to use, run:

    sudo update-alternatives --config java

    and pick the option which you prefer.

Development Tools

A list of handy open source development tools for use on Ubuntu such as Integrated Development Environments (IDEs) and powerful editors.

  • Anjuta is an Integrated Development Environment (IDE) for C and C++.

  • Bazaar-NG is a decentralised version control system used for Ubuntu development.

  • Bluefish is a powerful editor for experienced web designers and programmers.

  • Eclipse is an IDE for Java and other programming languages. It forms the basis for closed-source programs such as JBuilder.

  • Eric is a fully featured Python and Ruby IDE.

  • Glade is a User Interface designer for building GNOME applications.

  • IDLE is the Python IDE built with the Tkinter GUI toolkit.

  • KDevelop is a IDE for KDE which supports many programming languages.

  • MonoDevelop is an IDE for writing mono/.net applications in C# and other languages.

  • NetBeans is a Java IDE that features support for CVS and a form builder.

Programming Documentation

Some useful documentation for programming with Ubuntu.

Dive Into Python

Dive Into Python is a book on learning how to program in the preferred Ubuntu language, Python. Aimed at programmers with some previous experience, it comes installed with every Ubuntu installation.

You can read Dive Into Python here.

PyGTK Tutorial

PyGTK Tutorial is a tutorial on developing with the graphical toolkit often used for developing Ubuntu applications. It assumes that you have knowledge of Python but not necessarily GTK.

  1. Install the python-gtk2-tutorial package (see Chapter 2, Adding, Removing and Updating Applications).


    You will need to use Synaptic Package Manager to install this package

  2. To access the documentation, visit python-gtk-tutorial.

Other Documentation

Devhelp is an application to read and search all of the documentation that you install.

  1. Install the devhelp package (see Chapter 2, Adding, Removing and Updating Applications).

  2. Choose: Applications->Programming->Devhelp