Problem scenario
You want to install wxWidgets on Linux. What should you do?
Solution
Run the following:
sudo zypper -n install bzip2 gcc-c++
sudo yum -y install bzip2
sudo apt -y install bzip2
widgetversion=3.0.4
cd /tmp/
curl -Ls https://github.com/wxWidgets/wxWidgets/releases/download/v$widgetversion/wxWidgets-$widgetversion.tar.bz2 > /tmp/wxWidgets-$widgetversion.tar.bz2
cp /tmp/wxWidgets-$widgetversion.tar.bz2 /bin/
cd /bin/
bzip2 -d wxWidgets-$widgetversion.tar.bz2
tar -xf wxWidgets-$widgetversion.tar
cd wxWidgets-$widgetversion