CodeLite, an open source, cross platform C/C++ IDE | LiteEditor / WxWidgets30Binaries
: 2
This page is for the latest stable release, wx3.0.4. For the wx3.1 development branch see WxWidgets31Binaries. For wx3.0.3 see WxWidgets303Binaries.
CodeLite requires wxWidgets >=3.0.2. While wx3.0.2 is now available from current distro releases, this is unlikely to be updated to wx3.0.4. I've therefore built packages for the commonest distros.
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
or
rpm --import http://repos.codelite.org/CodeLite.asc
Ubuntu and debian
If you use a debian-based distro there are the following wxWidgets repositories available:
Repository | Available Versions | Component | |
---|---|---|---|
debian | http://repos.codelite.org/wx3.0.4/debian/ |
stretch | libs |
ubuntu | http://repos.codelite.org/wx3.0.4/ubuntu/ |
xenial artful | universe |
The ubuntu ones should also work on other *buntus, 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.
Become superuser and either use a text editor to edit /etc/apt/sources.list, adding a line similar to:
deb http://repos.codelite.org/wx3.0.4/debian/ stretch libs
or, in a terminal, do something like:
sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0.4/ubuntu/ artful universe'
The line to add is different for different distros/versions; choose the appropriate one:
Distro/release | Line to append |
---|---|
debian stretch | deb http://repos.codelite.org/wx3.0.4/debian/ stretch libs |
ubuntu xenial | deb http://repos.codelite.org/wx3.0.4/ubuntu/ xenial universe |
ubuntu artful | deb http://repos.codelite.org/wx3.0.4/ubuntu/ artful universe |
You then need update the repositories. In synaptic, click the Reload button. If you're doing things by hand, do:
apt-get update
Synaptic users can then select and install as usual. By hand you can do:
apt-get install libwxbase3.0-0-unofficial \ libwxbase3.0-dev \ libwxgtk3.0-0-unofficial \ libwxgtk3.0-dev \ wx3.0-headers \ wx-common \ libwxbase3.0-dbg \ libwxgtk3.0-dbg \ wx3.0-i18n \ wx3.0-examples \ wx3.0-doc
The first 6 of those are required; the others optional (and of decreasing importance).
wx-common and wx3.0-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.
Fedora and openSUSE
There are currently rpms available for fedora 27 and openSUSE 42.3. For wx3.0.3 rpms see WxWidgets303Binaries. For older releases and wx versions see OlderWxWidgetsBinaries.
There are also source rpms for Fedora and openSUSE.
Either download the required rpms and install them as usual, or download and install in one step; e.g.
rpm -Uvh http://repos.codelite.org/wx3.0.4/wx3.0-packages/fedora/3.0.4/27/wx-base-unicode-devel-3.0.4-1.i686.rpm
These rpms contain both shared and static builds. Note that they conflict with the wx2.8 devel ones.
