Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dwarf Fortress Linux (Ubuntu 15.04) installation instructions. (Nice graphics but no other crap!)
# Install a bunch of dependencies (Might not be everything, sorry!)
sudo apt-get install libsdl1.2debian:i386 libsdl-image1.2:i386\
libsdl-ttf2.0-0:i386 libglu1-mesa:i386 libgtk2.0-0:i386\
libopenal1:i386 libjpeg62:i386 git tar unzip bzip2
# Fetch Dwarf fortress itself (See )
mkdir dwarf-fortress && cd dwarf-fortress
tar xvjf df_42_06_linux.tar.bz2
# Install Phoebus graphics pack (See )
git clone
yes | cp -R Phoebus/data df_linux/
yes | cp -R Phoebus/raw/ df_linux/
# Fetch DFHack (See )
tar xvjf dfhack-0.42.06-alpha2-Linux-gcc-4.8.1.tar.bz2 -C df_linux/
# Fetch "Text will be text" (See )
unzip -jod df_linux/hack/plugins/ 0.42.06-alpha2/*
# Enable "Text will be text"
sed -i s/PRINT_MODE\:2D/PRINT_MODE\:TWBT/ df_linux/data/init/init.txt
# Enable sound
sed -i s/SOUND\:NO/SOUND\:YES/ df_linux/data/init/init.txt
# Disable FPS counter
sed -i s/FPS\:YES/FPS\:N0/ df_linux/data/init/init.txt
# Optionally delete some of the left over files
rm -rf Phoebus
rm *.{zip,bz2}
# Optionally create a nice launcher icon
wget -O icon.jpg
sed -i 's|CURRENT_PATH|'$PWD'|' dwarf-fortress.desktop
chmod a+x dwarf-fortress.desktop
# Finally we're ready to play! Either click the icon or you can launch manually:
[Desktop Entry]
Exec=/usr/bin/gnome-terminal -x CURRENT_PATH/df_linux/dfhack
Name=Dwarf Fortress
Comment=Launch the Dwarf Fortress computer game

This comment has been minimized.

Copy link
Owner Author

@kzar kzar commented Feb 23, 2016


  • I installed DFHack as it enables the "Text will be text" plugin, which improves the graphics. I installed the Phoebus graphics pack for the same reason. Everything else, like launchers and utilities I have chosen to ignore! (I just wanted to give the game a try!)
  • At the time of writing only an alpha version of DFHack supported the latest version of Dwarf Fortress. Using an alpha version of DFHack might cause problems, I advise you to check the linked sites to pick the best versions of Dwarf Fortress, DFHack and "Text will be text".
  • You might want to check out the "Lazy newb pack" for Linux. I couldn't make it work, the repository was a mess and old versions of things were included that didn't work on my system at all. But perhaps it has improved since then?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment