Table of Contents
• Building CodeLite - Linux
This page is for the latest development release, wx3.1.0. For the latest stable release, wx3.0.2 see WxWidgets30Binaries.
The CodeLite packages for Linux now use wxWidgets 3.1.0. As wx3.1 is a development branch, few distros will supply it. I've therefore built 3.1.0 packages for the commonest ones.
They include one fix that missed the wx3.1.0 cut: cee3188 which fixes a wxComboCtrl assertion
The packages are signed with the CodeLite public key so, if you haven't done so before, you should tell apt or rpm about this by doing as superuser (su or sudo depending on your distro):
apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
rpm --import http://repos.codelite.org/CodeLite.asc
If you use a debian-based distro there are the following wxWidgets repositories available:
The ubuntu ones should also work on other *buntus of the same version, and on derivatives e.g. Mint.
Now let apt know that the repository exits. If you use an apt front-end e.g. synaptic, tell it to Add a repository, using as data the appropriate entry in the table above.
If you do things by hand, add the appropriate url to /etc/apt/sources.list.
deb http://repos.codelite.org/wx3.1.0/debian/ jessie libs
or, in a terminal, do something like:
sudo apt-add-repository 'deb http://repos.codelite.org/wx3.1.0/ubuntu/ xenial universe'
The line to add is different for different distros/versions; choose the appropriate one:
You then need update the repositories. In synaptic, click the Reload button. If you're doing things by hand, do:
Synaptic users can then select and install as usual. By hand you can do:
apt-get install libwxbase3.1-0-unofficial \ libwxbase3.1-dev \ libwxgtk3.1-0-unofficial \ libwxgtk3.1-dev \ wx3.1-headers \ wx-common \ libwxgtk-webview3.1-0-unofficial \ libwxgtk-webview3.1-dev \ libwxgtk-media3.1-0-unofficial \ libwxgtk-media3.1-dev \ libwxbase3.1-dbg \ libwxgtk3.1-dbg \ libwxgtk-webview3.1-0-unofficial-dbg \ libwxgtk-media3.1-0-unofficial-dbg \ wx3.1-i18n \ wx3.1-examples \ wx3.1-doc
The first 6 of those are required; the others optional (and of decreasing importance).
wx-common and wx3.1-i18n will conflict with the distro's wx2.8 equivalents. That is unlikely to matter too much; but wx-common contains wxrc so, if you use this, be aware that there may be differences after upgrading.
There are currently rpms available for fedora 23, 24 and 25, and openSUSE 13.2 and 42.1 (leap)
rpm -Uvh http://repos.codelite.org/wx3.1.0/wx3.1.0-packages/suse/42.1/libwx_baseu-suse42.1-3.1.0-0.x86_64.rpm
Note that some of these rpms conflict with the wx2.8 devel ones.