Skip to content

Installing build dependencies

McArcady edited this page Jun 27, 2020 · 12 revisions

Dependencies

Before using lnp-forge, first follow the main wiki installation page (http://dwarffortresswiki.org/index.php/DF2014:Installation#Linux) to make sure that the game itself will run on your system.
To download, build and run the complete LazyNewbPack, an extra set of tools and dependencies is required:
run one of the following commands:

Ubuntu/Debian

$ sudo apt-get install libxml-libxml-perl libxml-xslt-perl libxml-filter-xslt-perl mercurial help2man git openjdk-8-jre python3-tk libncurses5-dev zlib1g-dev lib32z1-dev mesa-common-dev gcc-multilib g++-multilib cmake dos2unix tcl autoconf gperf bison flex gawk libtool libsdl-dev libsdl-image1.2 libsdl-ttf2.0-0 texinfo ninja-build qt5-qmake qttools5-dev-tools qt5-default libqt5svg5-dev qt5-image-formats-plugins qtbase5-dev qtdeclarative5-dev

Fedora/SuSE/CentOS/RedHat

$ sudo dnf install perl perl-XML-LibXML perl-XML-LibXSLT mercurial help2man git java-1.8.0-openjdk python3-tkinter ninja-build ncurses-devel zlib-devel mesa-libGL-devel gcc-c++ qt5-qttools cmake dos2unix texinfo

Arch

$ sudo pacman -Syu base-devel cmake dos2unix git help2man jdk8-openjdk lib32-zlib libxml libxslt mercurial mesa ninja perl perl-xml-libxml perl-xml-libxslt python qt5-base qt5-tools sdl_image sdl_ttf tcl tk

Note: After installing dependencies, be sure to set your default JDK to Java 8 before you run .configure!
$ sudo archlinux-java set java-8-openjdk

Slackware (partial list of slackbuilds)

perl perl-xml-libxml perl-xml-libxslt mercurial help2man git python ncurses zlib mesa gcc-g++ qt5 cmake

Gentoo

TBC

Clone this wiki locally