How Do You Install wxWidgets on Linux?

Problem scenario
You want to install wxWidgets on Linux. What should you do?

Run the following:

sudo zypper -n install bzip2 gcc-c++
sudo yum -y install bzip2
sudo apt -y install bzip2

cd /tmp/
curl -Ls$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

Leave a comment

Your email address will not be published. Required fields are marked *