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

WxWidgets31Binaries

wxWidgets 3.1 Packages and Repositories


This page is for the latest development release, wx3.1.5. For the previous development release, wx3.1.4, see WxWidgets314Binaries. For the latest stable release, wx3.0.5, 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.5 packages for the commonest ones.

Since wx3.1.1 I had built both against GTK+2 and GTK+3. As GTK+3 build have become more reliable, and in view of multiple issues getting the two build-types to co-exist, for wx3.1.5 I've created only GTK+3 packages. That itself risked causing problems, especially for debian-based distros. I have therefore made them 'conflict' with wx3.1.4 GTK+3 builds, and they also should replace wx3.1.4 GTK+2 ones.

Also starting with wx3.1.5, the openSUSE rpms are built only against GTK+3. The fedora ones remain GTK+3, as they have been since 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 https://repos.codelite.org/CodeLite.asc

or


 rpm --import https://repos.codelite.org/CodeLite.asc

Ubuntu and debian

If you use a debian-based distro there are the following wxWidgets repositories available:

 RepositoryAvailable VersionsComponent
debianhttps://repos.codelite.org/wx3.1.5/debian/buster testing(bullseye)libs
ubuntuhttps://repos.codelite.org/wx3.1.5/ubuntu/focal groovyuniverse

The 'groovy' packages also install and work in ubuntu 21.04 (hirsute).
The repositories also contain wx3.1.0 to wx3.1.4 builds (including some i386 ones) for debian stretch, and ubuntu trusty, wily to eoan. These are also available via WxWidgets314Binaries and earlier.

The ubuntu ones should also work on other *buntus of the same version, and on derivatives e.g. Mint.

For Mint 20 the ubuntu focal dev packages don't work. That is because Mint puts its grep and egrep in /bin/ instead of /usr/bin/. As a result the wx-config script doesn't work properly. See this wxForum thread for possible workarounds.

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 https://repos.codelite.org/wx3.1.5/debian/ buster libs

or, in a terminal, do something like:


sudo apt-add-repository 'deb https://repos.codelite.org/wx3.1.5/ubuntu/ groovy universe'

The line to add is different for different distros/versions; choose the appropriate one:

Distro/releaseLine to append
debian busterdeb https://repos.codelite.org/wx3.1.5/debian/ buster libs
debian testing (bullseye)deb https://repos.codelite.org/wx3.1.5/debian/ bullseye libs
ubuntu focaldeb https://repos.codelite.org/wx3.1.5/ubuntu/ focal universe
ubuntu groovy and hirsutedeb https://repos.codelite.org/wx3.1.5/ubuntu/ groovy 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.1-0-unofficial \
                 libwxbase3.1unofficial-dev \
                 libwxgtk3.1-0-unofficial \
                 libwxgtk3.1unofficial-dev \
                 wx3.1-headers \
                 wx-common \
                 libwxgtk-media3.1-0-unofficial \
                 libwxgtk-media3.1unofficial-dev \
                 libwxgtk-webview3.1-0-unofficial \ 
                 libwxgtk-webview3.1unofficial-dev \ 
                 libwxgtk-webview3.1-0-unofficial-dbg \ 
                 libwxbase3.1-0-unofficial-dbg \
                 libwxgtk3.1-0-unofficial-dbg \
                 libwxgtk-media3.1-0-unofficial-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.

Building some of the samples provided by the wx3.1-examples package may fail because of failure to detect GTK+. If so, try this compilation line:
LDFLAGS=$(pkg-config --libs gtk+-3.0) CXXFLAGS=$(pkg-config --cflags gtk+-3.0) make -j$(nproc)

Fedora and openSUSE

There are currently rpms available for fedora 33 and 34. Fedora 35 supplies official wx3.1.5 rpms (but our fedora 33 unofficial ones do also work). openSUSE 15 provides its own wxWidgets 3.1.1 but is unlikely to update that to 3.1.5 so I've provided these too. For previous versions of these distros (including i386 ones) see WxWidgets314Binaries.

DistroReleasex86_64
fedora33 & 34wx-base-unicode wxGTK31 wxGTK31-devel wxGTK31-gl wxGTK31-media wxGTK31-debuginfo
openSUSE15.2libwx_baseu_net libwx_baseu libwx_baseu_xml libwx_gtk3u_adv libwx_gtk3u_aui libwx_gtk3u_core libwx_gtk3u_gl libwx_gtk3u_html libwx_gtk3u_media libwx_gtk3u_propgrid libwx_gtk3u_qa libwx_gtk3u_ribbon libwx_gtk3u_richtext libwx_gtk3u_stc libwx_gtk3u_webview libwx_gtk2u_xrc wxWidgets-3_1-devel wxWidgets-3_1-plugin-sound_sdlu
openSUSE15.3libwx_baseu_net libwx_baseu libwx_baseu_xml libwx_gtk3u_adv libwx_gtk3u_aui libwx_gtk3u_core libwx_gtk3u_gl libwx_gtk3u_html libwx_gtk3u_media libwx_gtk3u_propgrid libwx_gtk3u_qa libwx_gtk3u_ribbon libwx_gtk3u_richtext libwx_gtk3u_stc libwx_gtk3u_webview libwx_gtk2u_xrc wxWidgets-3_1-devel wxWidgets-3_1-plugin-sound_sdlu

There are also source rpms for Fedora and openSUSE. The fedora srpm should also build on CentOS 8.

Either download the required rpms and install them as usual, or download and install in one step; e.g.


rpm -Uvh https://repos.codelite.org/wx3.1.5/wx3.1-packages/suse/wxWidgets-3_1-3.1.5-1.src.rpm

Note that some of these rpms may conflict with the wx2.8 devel ones.

Edit - History - Print - Recent Changes - Search
Page last modified on November 02, 2021, at 07:21 PM