Fedora / Debian / Ubuntu

note

Tested on a pristine amd64, armhf:

  • Debian 12
  • Fedora 41
  • Ubuntu
    • 20.04
    • 22.04
    • 24.04

System dependencies

tip

Refer to the Custom dependencies page if you encounter any issues with the system repository versions or if you want to build a specific library from source!

Debian / Ubuntu

sudo apt install git autoconf automake build-essential libtool\
                 libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev

Fedora

sudo dnf install git autoconf automake libtool make\
                 boost-devel openssl-devel libdb-cxx-devel miniupnpc-devel

Build steps

  1. Build twister-core
    • sudo useradd -m twister - create new user with home directory (set password with sudo passwd twister)
    • su twister - login and navigate (with cd) into the home dir /home/twister to continue
    • git clone https://github.com/twisterarmy/twister-core.git
    • cd twister-core
    • ./autotool.sh
    • ./configure
      • ARM only: ./configure --with-boost-libdir=/usr/lib/arm-linux-gnueabihf --disable-sse2
    • make
  2. Setup twister-html (web UI)
    • mkdir ~/.twister
    • echo -e "rpcuser=user\nrpcpassword=pwd\nrpcallowip=127.0.0.1" > ~/.twister/twister.conf
    • chmod 600 ~/.twister/twister.conf
    • git clone https://github.com/twisterarmy/twister-html.git ~/.twister/html
  3. Launch twister

Upgrade from repository

Steps to upgrade your existing twister-core and twister-html from the repository sources:

  1. stop running twisterd process to continue (if active, run pgrep twisterd to find)
    • sudo systemctl stop twister-service-name - if you're using systemd service
  2. cd twister-core - navigate twister-core sources directory (which contains old twisterd binary)
  3. git pull - grab latest updates
  4. make - build new version
  5. cd ~/.twister/html - navigate twister-html installation directory
  6. git pull - grab latest twister-html changes
  7. start twister-core process
    • sudo systemctl start twister-service-name - if you're using systemd service
Generated at: 2025.04