This page gives links to the available binary packages for CodeLite 12.0 and its RAD plugin wxCrafter.
Note that the CodeLite packages now incorporate the required wxWidgets libraries (mostly wx3.1.1), 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. CodeLite doesn't (yet) require wx3.1 though, and you can still build your own against wx3.0.x if you prefer.
CodeLite apt repositories
Ubuntu 16.04 (xenial) and later have official CodeLite packages. Therefore, to avoid a name-clash, their CodeLite 12.0 packages have 'unofficial' appended to the name. See below for more details. Ubuntu artful, bionic and cosmic, and debian stretch, have official 10.0 packages. I don't know when/if they will upgrade to 12.0, so meanwhile we provide unofficial 12.0 ones. Ubuntu 19.04 (disco) has 12.0 packages so there is no need for an unofficial one. There are wxCrafter 2.9 packages for the corresponding unofficial CodeLite 12.0 ones and for the official disco CodeLite 12.0. wxCrafter 2.7 packages are available for the artful, zesty and stretch official 10.0 ones (the artful ones should work for bionic and cosmic too). Again, see below for important details.
To download CodeLite for Debian based systems (Debian / Mint / Ubuntu etc):
- Add the CodeLite public key to avoid warnings or worse from apt/aptitude
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
- Now let apt know that the repositories exist:
- If you use an apt front-end e.g. synaptic, tell it to Add a repository, using as data the appropriate entry from Table 1 below
- If you do things by hand, add the appropriate URLs from Table 1 to
/etc/apt/sources.list(you need to become superuser) :
For example, if you use Ubuntu cosmic (18.10), either open
/etc/apt/sources.list in an editor (as superuser) and append the proper line
from Table 1, or else use
apt-add-repository in a terminal:
sudo apt-add-repository 'deb https://repos.codelite.org/ubuntu-12.0/ cosmic universe'
Table 1: CodeLite repositories:
|Distro/release||Lines to append|
You then need to update your repositories. In synaptic, click the
Reload button. If you're doing things by hand, do:
sudo apt update
- You should now be able to install CodeLite in the normal way through synaptic, or by doing:
sudo apt install codelite wxcrafter
The Ubuntu packages should also work on other *buntus, and on derivatives e.g. Mint.
You can see which versions are available by doing:
apt-cache madison codelite
Then you can select which version to install. For example, to prefer the official 9.1 package, use the line:
sudo apt-get install codelite=9.1*
You can see which versions are available in the 'Versions' tab of Properties. Then use Package > Force Version followed by Apply. You may wish also to use Package > Lock Version.
Official versus unofficial CodeLite packages
For a long time the official debian and ubuntu repositories supplied only the ancient CodeLite 6.1. However since ubuntu 16.04 (xenial) it has been updated to CodeLite 9.1 or later, and debian stretch has 10.0. This is very welcome, but creates a name-clash with any packages we supply. Therefore, starting with CodeLite 9.2, our debian packages have 'unofficial' added to the version e.g. codelite_12.0-1unofficial.cosmic_amd64.deb. This allows you to select which to install using apt (or aptitude or synaptic).
There are rpms available for fedora 27, 28, 29 and 30, and openSUSE Leap 42.3 and 15:
|openSUSE||(No 32-bit build)||
First tell rpm about the CodeLite public key. As superuser do:
rpm --import https://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 https://repos.codelite.org/rpms-12.0/fedora/codelite-12.0-1.fc28.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
wxCrafter binary packages
The above packages supply the CodeLite IDE. Also available is wxCrafter, its gui-designer plugin. There are wxCrafter packages, labelled 2.9, here for disco and for the unofficial CodeLite packages.
There are 32 and 64 bit packages here for: debian stretch; ubuntu xenial, artful, bionic and (64 bit only) cosmic and disco ; for fedora 27, 28 and 29; and for openSUSE 42.3. Apart from artful/bionic/cosmic/disco, they are built against wxWidgets-3.1; so these unofficial ones will not work on earlier distro versions (though they might work if you build your own CodeLite against wx3.1...). Another complication: openSUSE Leap 15 has now been released. It has its own official wx3.1.1 packages, one of which (wxWidgets-3_2-devel) I have used to build both CodeLite and wxCrafter. Therefore, if you build your own CodeLite against a different wxWidgets version, this wxCrafter rpm will be very unlikely to work with it; however perhaps the 42.3 one will.
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.
|debian stretch unofficial||wxcrafter.deb||wxcrafter.deb|
|ubuntu 16.04 (xenial) unofficial||wxcrafter.deb||wxcrafter.deb|
|ubuntu 17.10 (artful) unofficial||wxcrafter.deb||wxcrafter.deb|
|ubuntu 18.04 (bionic) unofficial||wxcrafter.deb||wxcrafter.deb|
|ubuntu 18.10 (cosmic) unofficial||(No 32-bit build)||wxcrafter.deb|
|ubuntu 19.04 (disco)||(No 32-bit build)||wxcrafter.deb|
|fedora 27 28 29||wxcrafter.rpm||wxcrafter.rpm|
|openSUSE 42.3||(No 32-bit build)||wxcrafter.rpm|
|openSUSE 15||(No 32-bit build)||wxcrafter.rpm|
Download and install them with alongside CodeLite (it will do no harm to install wxCrafter without CodeLite, but it won't run!). Some of the debs are also available from the CodeLite repo (see above); the setup and public key are the same, but the packages are called 'wxcrafter'.
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), or are using the official xenial ones (which use wx3.0.2), here are the wxCrafter libs that the packages contain. Choose the nearest match, but there's no guarantee they will work on distant versions or different distros.
|ubuntu xenial unofficial||wxCrafter.so||wxCrafter.so|
|ubuntu disco||(No 32-bit build)||wxCrafter.so|
|fedora 27 28 29||wxCrafter.so||wxCrafter.so|
|openSUSE 42.3||(No 32-bit build)||wxCrafter.so|
|openSUSE 15||(No 32-bit build)||wxCrafter.so|
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/. How to do this? Well, you could just add them by hand as superuser. However there are other alternatives:
- If you are building from a tarball, 'configure' and 'make' as usual. Then before 'make install' add wxCrafter.so to Runtime/plugins/; it'll then be installed with the other plugin libs. There is no similar solution for wxgui.zip at present, but this might be fixed sometime...
- If you are building a CodeLite .deb package using the debian/rules from the repo, just add both wxCrafter.so and wxgui.zip to the same dir as the source tarball. 'rules' knows to look for them there.
- If you are using the fedora or openSUSE spec files to build an rpm, just add both wxCrafter.so and wxgui.zip to rpmbuild/SOURCES/. You can copy the .spec hack if you create a .spec for other distros.