tar xzvf DF_Phoebus_34_11v00_Linux.tar.gz

tar xjvf df_34_11_linux.tar.bz2

sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install libsdl-ttf2.0-0:i386 ia32-libs-gtk libsdl-image1.2:i386 libopenal-dev:i386

./df

./libs/Dwarf_Fortress: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

sudo apt-get install mlocate

sudo updatedb

locate libGL.so.1

/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu

/etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1

/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2

/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1

/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2

/usr/lib/x86_64-linux-gnu/libGL.so.1

/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1

/usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1

/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1

nano run.sh

LD_LIBRARY_PATH=/usr/lib/mesa-diverted/i386-linux-gnu/ ./df

/usr/lib/mesa-diverted/i386-linux-gnu/

/usr/lib/mesa-diverted/i386-linux-gnu/ libGL.so.1

/usr/lib/mesa-diverted/i386-linux-gnu/

chmod +x run.sh

./run.sh

sudo apt-get install libsdl-ttf-gst libopenal-dev

./df

sudo apt-get install mercurial qtcreator build-essential

hg clone https://code.google.com/p/dwarftherapist/

cd dwarftherapist

qmake dwarftherapist.pro

make -j2

2

this will take a long time on slower machines

sudo make install

dwarftherapist

I use debian wheezy so this guide is mainly for that. However it will work on most debian based distros as well (ubuntu/mint/etc).It should also work on other distributions if you alter the install commands to that of your distro.This guide assumes you know what folders are and how to navigate them with cd.First download dwarf fortress from the website, or phoebus's version:For extracting the phoebus package:If you downloaded the original package from bay12:64Bit only instuctions:If you have 64 bit you need to do the following otherwise skip these:Now in df_linux folder can try to run it with:You might get this error message:first try running locate if you get an error message we need to install it:Now run this command:This should give you a bunch of lines of output, but there will be linescontaining x86_64 and lines containing i386. My output looked like this:From this we need a i386 (32bit) library file that matches the one in the error messageso for me it is:Now copy this line or write it down.In the df_linux folder type this in:This is a text editor here you type in the following:NOTE: You must replacewith the path you got above.ALSO!!!: YOU MUST REMOVE the file name from that path. Originally I hadbut removing the filename you getif you leave the filename in there it will not work.Now press ctrl + xpress yand hit enternow type this command:from now on the game will run by typingin the df_linux folder, or double clicking on it through some gui.32bit:(there is a bug that requires dev openal library for sound)from now the game should run within the df_linux folder ordouble clicking on the df file in that folderOPTIONAL Changes if you used phoebus file:you can edit df_linux/data/init/init.txtchange:[SOUND:NO]to[SOUND:YES]and[INTRO:NO]to[INTRO:YES]These are not necessary of course, but I like them, so its up to you.DWARF THERAPIST:same for 32 and 64bit systems:or change the numberto be the number of cores you have +1Now you can runon the command line fromany folder.