-
Download the binary from bay12games
-
Extract the files
tar xfs df*.tar.bz2
- Install the needed libraries
sudo apt install -y libsdl1.2debian xvfb libgtk2.0-0 libsdl-image1.2 libglu1-mesa libsdl-ttf2.0-0
- Set dwarf fortress to text mode by editing
df_linux/bin/init/init.txt
[SOUND:NO]
[PRINT_MODE:TEXT]
- Start fake X session and run dwarf fortress
Xvfb :1 -screen 0 1024x768x16 &
export DISPLAY=:1
./df