-
Notifications
You must be signed in to change notification settings - Fork 467
WxWidgets31Binaries
This page is for the latest development release, wx3.1.1. For the previous development release, wx3.1.0 see WxWidgets310Binaries. For the latest stable release, wx3.0.4 see WxWidgets30Binaries. The CodeLite packages for Linux now use wxWidgets 3.1. As wx3.1 is a development branch, few distros will supply it. I've therefore built 3.1.1 packages for the commonest ones.
Starting with wx3.1.1 I've built debs against GTK+3 in addition to GTK+2. You should be able to install either or both sorts without conflict. If you install both sets you should be able to choose between them using update-alternatives:
update-alternatives --config wx-config
Also starting with wx3.1.1, there are openSUSE rpms built against GTK+3 in addition to GTK+2. The fedora ones remain GTK+3, as they were in wx3.1.0.
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
If you use a debian-based distro there are the following wxWidgets repositories available:
Repository | Available Versions | Component | |
---|---|---|---|
debian | http://repos.codelite.org/wx3.1.1/debian/ | stretch | libs |
ubuntu | http://repos.codelite.org/wx3.1.1/ubuntu/ | xenial artful bionic cosmic | universe |
The repositories also contain wx3.1.0 builds for debian stretch, and ubuntu trusty wily yakkety and zesty. These are also available via WxWidgets310Binaries. 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. 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.1.1/debian/ stretch libs
or, in a terminal, do something like:
sudo apt-add-repository 'deb http://repos.codelite.org/wx3.1.1/ubuntu/ cosmic 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.1.1/debian/ stretch libs |
ubuntu xenial | deb http://repos.codelite.org/wx3.1.1/ubuntu/ xenial universe |
ubuntu artful | deb http://repos.codelite.org/wx3.1.1/ubuntu/ artful universe |
ubuntu bionic | deb http://repos.codelite.org/wx3.1.1/ubuntu/ bionic universe |
ubuntu cosmic | deb http://repos.codelite.org/wx3.1.1/ubuntu/ cosmic universe |
apt-get update
Synaptic users can then select and install as usual. By hand you can do, for GTK+2 debs:
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-0-unofficial-dbg \
libwxgtk3.1-0-unofficial-dbg \
libwxgtk-webview3.1-0-unofficial-dbg \
libwxgtk-media3.1-0-unofficial-dbg \
wx3.1-i18n \
wx3.1-examples
apt-get install libwxbase3.1-0-unofficial3 \
libwxbase3.1unofficial3-dev \
libwxgtk3.1-0-unofficial3 \
libwxgtk3.1unofficial3-dev \
wx3.1-headers \
wx-common \
libwxgtk-media3.1-0-unofficial3 \
libwxgtk-media3.1unofficial3-dev \
libwxgtk-webview3.1-0-unofficial3 \
libwxgtk-webview3.1unofficial3-dev \
libwxbase3.1-0-unofficial3-dbg \
libwxgtk3.1-0-unofficial3-dbg \
libwxgtk-webview3.1-0-unofficial3-dbg \
libwxgtk-media3.1-0-unofficial3-dbg \
wx3.1-i18n \
wx3.1-examples
The first 6 of the debs 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 27, 28 and 29, and openSUSE 42.3 (leap); openSUSE 15 provides its own wxWidgets 3.1.1. For previous versions of these distros see WxWidgets310Binaries.
Fedora, and openSUSE GTK+2 and openSUSE GTK+3. 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.1.1/wx3.1-packages/suse/42.3/libwx_baseu-suse42.3-3.1.1-0.x86_64.rpm
Note that some of these rpms conflict with the wx2.8 devel ones.