Compiling GTKWave 4

GTKWave 4 is the development version with a lots of improvements and changes. Please refer to the changelog for all notable changes.

Installing dependencies

Debian, Ubuntu:

sudo apt install build-essential meson gperf libbz2-dev
sudo apt install flex desktop-file-utils libgtk-3-dev git
sudo apt install libgirepository1.0-dev
sudo apt install libjudy-dev # optional

Fedora:

sudo dnf install meson gperf flex glib2-devel gcc gcc-c++ gtk3-devel \
            gobject-introspection-devel desktop-file-utils tcl

Compiling and Installing

Clone the sources from the git repository:

git clone https://github.com/gtkwave/gtkwave/ gtkwave
cd gtkwave

After doing this, you must decide how you’re going to install GTKWave onto your system. By default, the software is installed in /usr/local/. If you wish to install into a specific prefix, use the double dash –prefix option to point to the absolute pathname.

For example, to install in /opt

meson setup build --prefix=/opt

Or, to install GTKWave globally

meson setup build

After that

meson compile -C build

Then wait for the compile to finish. This will take some amount of time.

To install GTKWave, run

sudo meson install -C build

GTKWave is now installed on your Unix or Linux system. You can find it in your Application launcher.