As of 2014-06-24, this repository is unmaintained. No further updates will be added. See this post for more information.
You are free to fork this under the terms of the GPLv3 or study the code to build your own under another license.
df-lnp-installer is a shell script that installs the Dwarf Fortress Lazy Newb Pack. It downloads and builds a DF installation from available source code and binaries.
The df-lnp-installer script will automatically check your system for the required libraries.
The Debian (and possibly Ubuntu) command to install these dependencies is:
sudo apt-get install default-jre libsdl1.2debian:i386 libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libglu1-mesa:i386 libgtk2.0-0:i386 libopenal1:i386 libjpeg62:i386 git mercurial libqt4-dev qt4-qmake wget coreutils tar unzip unrar make g++ gcc patch xterm sed python bzip2
The Fedora command to install these dependencies is:
sudo yum install java-1.7.0-openjdk gcc gcc-c++ automake libgcc.i686 git cmake glibc-devel.i686 zlib-devel.i686 perl-XML-LibXSLT perl-XML-LibXML mercurial qt.i686 libgcc.i686 qt-devel SDL.i686 SDL_image.i686 SDL_ttf.i686 gtk2.i686 mesa-libGLU.i686 openal-soft.i686 libsndfile.i686 xterm unrar unzip python
Usage: df-lnp-installer.sh [OPTIONS]
Options:
--override-user-agent # Download files as Mozilla user agent, not Wget user agent. Useful if you get 403 errors.
--skip-download # Install using the existing contents of the ./downloads folder.
--skip-deps # Install without checking for dependencies.
--skip-sha # Install without checking file checksums.
--upgrade, -u # Upgrade an existing DF installation.
--version, -v # Print the df-lnp-installer version.
--help, --usage # Print this message.
git clone https://github.com/andrewd18/df-lnp-installer.git
./df-lnp-installer.sh
and follow the prompts.git pull
./df-lnp-installer.sh --upgrade
. When asked, enter the directory you already installed DF into.See the WIKI.