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


Note:
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 and bionic, 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.
There are wxCrafter 2.9 packages for the corresponding unofficial CodeLite 12.0 ones. wxCrafter 2.7 packages are available for the artful, zesty and stretch official 10.0 ones (the artful ones should work for bionic 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 by adding the proper line from Table 1:
    • If you use an apt front-end e.g. synaptic, tell it to Add a repository, using as data the appropriate entry from the 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 bionic (18.04), 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/ bionic universe'

Table 1: CodeLite repositories

Distro/release Lines to append
debian stretch deb https://repos.codelite.org/debian/ stretch devel
ubuntu xenial deb https://repos.codelite.org/ubuntu/ xenial universe
ubuntu artful deb https://repos.codelite.org/ubuntu/ artful universe
ubuntu bionic deb https://repos.codelite.org/ubuntu/ bionic universe
  • You then need update your repositories. In synaptic, click the Reload button. If you're doing things by hand, do:

 sudo apt-get update

  • You should now be able to install CodeLite in the normal way through synaptic, or by doing:

 sudo apt-get install codelite wxcrafter

The ubuntu packages should also work on other *buntus, and on derivatives e.g. Mint.

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_10.0-1unofficial.bionic_amd64.deb. This allows you to select which to install using apt (or aptitude or synaptic).

Apt

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*

Synaptic

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.

CodeLite RPMs


There are rpms available for fedora 27 and 28, and openSUSE Leap 42.3 and 15:

CodeLite rpms
Distroi386x86_64
fedora2727
fedora2828
openSUSE(No 32-bit build)42.3 15

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.

ArchLinux


CodeLite is available on ArchLinux via their AUR repository

To install codelite:


yaourt -S codelite

Previous CodeLite releases


See this page for links to packages from previous CodeLite and wxCrafter releases.

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 the unofficial CodeLite packages. However there are few changes from 2.7, so I have not built for the official CodeLite 10 packages. Instead you should continue to use the wxCrafter 2.7 ones.

There are 32 and 64 bit packages here for: debian stretch; ubuntu xenial, artful and bionic; for fedora 27 and 28; and for openSUSE 42.3. Apart from artful/bionic, 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...). Instead you can find older CodeLite/wxCrafter packages via the previous-releases pages.
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.

Note that the official wxCrafter debs are not in the repo; use the direct links below.

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.

wxCrafter packages
Distroi386x86_64
debian stretch unofficialwxcrafter.debwxcrafter.deb
ubuntu 16.04 (xenial) unofficialwxcrafter.debwxcrafter.deb
ubuntu 17.10 (artful) unofficialwxcrafter.debwxcrafter.deb
ubuntu 18.04 (bionic) unofficialwxcrafter.debwxcrafter.deb
fedora 27 and 28wxcrafter.rpmwxcrafter.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'.

wxCrafter libs


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.

wxCrafter libs
Distroi386x86_64
debian stretchwxCrafter.sowxCrafter.so
ubuntu xenial unofficialwxCrafter.sowxCrafter.so
fedora 27 28wxCrafter.sowxCrafter.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.
Edit - History - Print - Recent Changes - Search
Page last modified on May 26, 2018, at 01:29 PM