Table of Contents
• Building CodeLite - Linux
On this page (hide)
This page gives links to the available binary packages for CodeLite 9.1 and its RAD plugin wxCrafter.
Note that the CodeLite packages now incorporate wx3.1 libraries, so there is no need to install wxWidgets too. Of course you can if you wish, and you'll need to do so to build apps against wxWidgets.
If you have an older version of CodeLite installed from Ubuntu or Debian repositories, uninstall it first:
To download CodeLite for Debian based systems (Debian / Mint / Ubuntu etc):
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
For example, if you use Ubuntu wily (15.10), either open
from Table 1, or else use
sudo apt-add-repository 'deb http://repos.codelite.org/ubuntu/ wily universe'
Table 1: CodeLite repositories
sudo apt-get update
sudo apt-get install codelite wxcrafter
The ubuntu packages should also work on other *buntus, and on derivatives e.g. Mint.
There are rpms available for fedora 23 and 24, and openSUSE 13.2 and 42.1 (leap):
First tell rpm about the CodeLite public key. As superuser do:
rpm --import http://repos.codelite.org/CodeLite.asc
Then either download the required rpm and install it as usual, or download and install in one step; e.g.
rpm -Uvh http://repos.codelite.org/rpms-9.1/fedora/codelite-9.1-1.fc24.x86_64.rpm
There are also source rpms for fedora and openSUSE. Note that these do not contain wxCrafter. To build binary rpms containing wxCrafter, you'll need to download the appropriate wxCrafter.so, plus the file wxgui.zip that contains its bitmaps, and put both in the rpmbuild/SOURCES dir before you build.
CodeLite is available on ArchLinux via their AUR repository
To install codelite:
yaourt -S codelite
See this page for links to packages from previous CodeLite and wxCrafter releases.
The above packages supply the CodeLite IDE. Also available is wxCrafter, its gui-designer plugin. There are seven types of 32 and 64 bit packages here: for debian jessie; for ubuntu 14.04 (trusty); for ubuntu wily; for ubuntu xenial; for fedora 23; and for openSUSE 13.2 and 42.1. They will not work on earlier distro versions as they are built against wxWidgets-3.1 (though they might work if you build your own CodeLite against wx3.1...). Instead you can find older CodeLite/wxCrafter packages via the previous-releases pages.
In the following table I've provided direct links to the debian/ubuntu packages, but these are more easily installed from the CodeLite repos in the usual way.
Download and install them with alongside CodeLite (it will do no harm to install wxCrafter without CodeLite, but it won't run!).
What if you don't want to use a package, or there isn't one that your distro supports? If you want to build your own CodeLite (using wxWidgets 3.1, except for xenial which uses wx3.0.2), here are the wxCrafter libs that the packages contain.
You will also need the file wxgui.zip that contains some of wxCrafter's bitmaps. This needs to end up inside the CodeLite 'share' installation (e.g. in /usr/share/codelite/). The wxCrafter.so itself needs to go in CodeLite's 'plugins' dir, which by default is probably /usr/lib/codelite/.