Just got a new Debian 'Stretch' box, and as it's cleanly built I thought I'd feed back
the precise installation requirements that I actually encounterd.
i.e. the bare bones of what I /really/ needed to install to get DF working.
The DF Linux readme says
'In addition to the hardware requirements (which will be the same as the other
platforms) your system will need these libraries installed:
* GTK+ 2+
* SDL 1.2+
* SDL_image
And some kind of OpenGL implementation, so:
* libgl
* libglu'
So referring to
https://packages.debian.org/stretch/libs/ I tried to obtain
the most appropriate matches. These were as below, with installation
attempted in order listed:
(For real novices, the generic command syntax for all of these is
sudo apt-get install xxxx
and for xxx you put in the package name. The full list of installable
debian packages is at the link above, and it's immense.)
libsdl-gfx1.2-5
libsdl-image1.2 (not needed, newest version already present)
libgtk-3-0 (not needed, newest version already present)
libglu1-mesa (not needed, newest version already present)
But after putting them on I still got an error:
'./libs/Dwarf_Fortress: error while loading shared libraries:
libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory'
This was fixed by obtaining
libsdl-ttf2.0-0
as you might expect.
At which point the game worked, but without sound, and told me:
'Dynamically loading the OpenAL library failed, disabling sound.
Initialising OpenAL failed, no sound will be played'
And that was fixed by obtaining
libopenal1
As I actually have a log of all the stuff installed on this system so far I
thought I'd report what you really need to set up DF on a cleanly-built
machine. I hope this may be a useful sanity check for someone in future.
If there's things I ought to have done differently, please feel free to let
me know. I'm new to Debian.
Other stuff already present before I started on Dwarf Fortress - the
375.82 NVDIA drivers from the Debian non-free repository (/not/ the
even more current version 390.67 drivers from nvidia.co.uk, because
they don't play well with Steam.), and prior to that, I put
build-essential
on.
I believe none of the other installations I've done on the machine so
far should have had any bearing on getting Dwarf Fortress to work,
but I still have the list if needed.
HTH someone, someday. I find so many old sets of installation
instructions dated in years past. Let's have at least one list updated
to 2018. :-)