tce-load -wi bash compiletc ncursesw-dev libconfuse-dev libnl-dev autoconf automake libconfuse https://github.com/tgraf/bmon/archive/refs/tags/v4.0.tar.gz [Make sure the Cflags line in /usr/local/lib/pkgconfig/libconfuse.pc looks like this: Cflags: -I${includedir}/confuse] cd bmon-4.0 ./autogen.sh CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --with-ncursesw sed -i 's/-g -O2//' Makefile make sudo make DESTDIR=/tmp/destbmon install