GCC/GDB/GNU make/Qt (Ubuntu/Kubuntu Linux)

Installing GCC, GNU make, GDB

The packages you would need are gcc, cpp, g++, libc6-dev, libx11-dev, make and gdb.

apt-get install gcc cpp g++ libc6-dev libx11-dev make gdb

Installing Qt binaries

Make sure you are using the universe components.

The packages you definitely need are: libqt4-core, libqt4-gui, libqt4-dev, libqt4-debug, libqt4-debug-dev.

sudo apt-get install libqt4-core libqt4-gui libqt4-dev libqt4-debug libqt4-debug-dev

If you plan to use Qt Designer, then install also qt4-designer. If you need Qt Assistant and Qt Linguist, install qt4-dev-tools. For HTML documentation install qt4-doc, although you might prefer to use Qt Assistant instead.

sudo apt-get install qt4-designer qt4-dev-tools qt4-doc

Installing Qt from source

You can download the source package for Linux from http://www.trolltech.com/developer/downloads/qt/x11.

You need to extract the package, configure it, build it and finally set the environment variables, so that you will be able to build Calitko and other Qt applications. The following steps should be familiar to you if you have ever installed anything from source under Linux:

$ tar –xzf qt-x11-opensource-src-4.1.4.tar.gz
$ cd qt-x11-opensource-src-4.1.4
$ ./configure
$ make
$ sudo make install

Lastly, you would like to add the path to your Qt binaries to the environment variable PATH. A bash example:

PATH=/usr/local/Trolltech/Qt-4.1.4/bin:$PATH
export PATH