Building PTerm

RHEL / Rocky Linux

Make sure that the following software repositories are enabled:

Install Prerequisites

sudo dnf install SDL2
sudo dnf install SDL2-devel
sudo dnf install libsndfile
sudo dnf install libsndfile-devel

Download wxWidgets 3.3.0 distribution and build

./configure --with-sdl --with-zlib --disable-shared
make
sudo make install
sudo ldconfig


$ mkdir buildgtk
$ cd buildgtk
$ ../configure --with-gtk
$ make
$ sudo make install
$ sudo ldconfig