1. Install curl build-essentials sudo apt install curl build-essentials

  2. Download latest ROFI release

  3. Follow build instructions https://github.com/davatorium/rofi/blob/next/INSTALL.md

  4. Check dependencies and configure build system:

meson setup build

6.Build Rofi:

ninja -C build

7.The actual install, execute as root (if needed)

ninja -C build install