Skip to content

Instantly share code, notes, and snippets.

@jnwarp
Last active April 29, 2020 14:00
Show Gist options
  • Save jnwarp/0fde9c73639b7a62d284a028383d5d10 to your computer and use it in GitHub Desktop.
Save jnwarp/0fde9c73639b7a62d284a028383d5d10 to your computer and use it in GitHub Desktop.
Dwarf Fortress on Digital Ocean (Ubuntu 18.04)

How to install Dwarf Fortress on Ubuntu 18.04

  1. Download the binary from bay12games

  2. Extract the files

tar xfs df*.tar.bz2
  1. Install the needed libraries
sudo apt install -y libsdl1.2debian xvfb libgtk2.0-0 libsdl-image1.2 libglu1-mesa libsdl-ttf2.0-0
  1. Set dwarf fortress to text mode by editing df_linux/bin/init/init.txt
[SOUND:NO]
[PRINT_MODE:TEXT]
  1. Start fake X session and run dwarf fortress
Xvfb :1 -screen 0 1024x768x16 &
export DISPLAY=:1
./df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment