Recent Changes - Search:

Home Page


Main

Downloads
Windows
macOS
Linux (via apt / rpm )
Linux wxWidgets
Release Notes

Wiki
Documentation
FAQ

Build CodeLite
Linux
Windows
macOS

Devs
Debug CodeLite Linux
Building Clang
Build wxWidgets (MSW)
Coding Guidelines
Create a Plugin

Repositories92

This page gives links to the available binary packages for CodeLite 9.2 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. CodeLite doesn't (yet) require wx3.1 though, and you can still build your own against wx3.0.2 if you prefer.

CodeLite apt repositories


Note: Debian testing (stretch) and ubuntu 16.04 (xenial) and 16.10 (yakkety) have official CodeLite packages, currently version 9.1 or 9.2. Therefore, to avoid a name-clash, the CodeLite 9.2 packages have 'unoffical' appended to the name. See below for more details. wxCrafter 2.6 packages are available both for unofficial CodeLite 9.2 and official CodeLite 9.1 and 2; 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 from apt/aptitude

sudo apt-key adv --fetch-keys https://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 xenial (16.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/ xenial universe'

Table 1: CodeLite repositories

Distro/release Lines to append
debian jessie deb https://repos.codelite.org/debian/ jessie contrib
ubuntu xenial deb https://repos.codelite.org/ubuntu/ xenial universe
ubuntu yakkety deb https://repos.codelite.org/ubuntu/ yakkety 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), this has been updated to CodeLite 9.1 or 9.2, as has debian testing (stretch). 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_9.2-1unofficial.xenial_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 24, and openSUSE 42.1 (leap):

CodeLite rpms
Distroi386x86_64
fedora2424
openSUSE(No 32-bit build)42.1

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-9.2/fedora/codelite-9.2-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.

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 six types of 32 and 64 bit packages here: for debian jessie; ubuntu xenial and yakkety (for CodeLite 9.2unofficial); for the official xenial CodeLite, currently 9.1; for the official yakkety CodeLite, currently 9.2; for fedora 24; and for openSUSE 42.1. The unofficial ones 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.

If you are using ubuntu xenial or yakkety, be careful to select the wxCrafter package that matches your CodeLite choice; official or unofficial. With the wrong combination wxCrafter will not load. Note also that the official wxCrafter debs are not in the repo, and nor is one for yakkety; use the direct links below.

In the following table I've provided direct links to the debian/ubuntu packages but (except for the official ones) these are more easily installed from the CodeLite repos in the usual way.

wxCrafter packages
Distroi386x86_64
debian jessiewxcrafter.debwxcrafter.deb
ubuntu 16.04 (xenial) and 16.10 (yakkety) unofficialwxcrafter.debwxcrafter.deb
ubuntu 16.04 (xenial) officialwxcrafter.debwxcrafter.deb
ubuntu 16.10 (yakkety) officialwxcrafter.debwxcrafter.deb
fedora 24wxcrafter.rpmwxcrafter.rpm
openSUSE 42.1(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!). Most 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 jessiewxCrafter.sowxCrafter.so
ubuntu xenial unofficialwxCrafter.sowxCrafter.so
ubuntu xenial officialwxCrafter.sowxCrafter.so
ubuntu yakkety officialwxCrafter.sowxCrafter.so
fedora 24wxCrafter.sowxCrafter.so
openSUSE 42.1(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 January 03, 2017, at 04:02 PM