Installation (Unix)

From DEW

Jump to: navigation, search

This article contains installation instructions for Unix / Linux.

Contents

Snowberry

Requirements

Python and wxPython are required for running Snowberry.

Snowberry from the SVN repository

Installing the latest version of Snowberry from the SVN repository:

svn co https://svn.sourceforge.net/svnroot/deng/trunk/snowberry snowberry

Now open the snowberry.py script and in the first line put in "#!" followed by the location of python (e.g., on Ubuntu):

#!/usr/bin/python 

Now make the script an executable.

Configuration

You are free to install the Doomsday Engine and Snowberry where you like, but Snowberry's configuration files need to be modified so that Snowberry knows where the doomsday binary is located. The .conf file with the binary's location can be placed in any of Snowberry's conf folders. For example, you could create the following mydoomsday.conf and put it in your personal Snowberry home folder: ~/.snowberry/conf/mydoomsday.conf:

configure doomsday (
  binary: /usr/local/bin/doomsday
  base: /usr/local/share/deng
)

Compiling Doomsday

cd <path/to/deng/source/directory> mkdir temp cd temp cmake ../ make sudo make install

Pre-built Debian / Ubuntu packages

You can add one of the following APT repositories to your configuration:

deb http://debian.keesmeijs.nl/ etch-kees main
deb-src http://debian.keesmeijs.nl/ etch-kees main
deb http://debian.keesmeijs.nl/ lenny-kees main
deb-src http://debian.keesmeijs.nl/ lenny-kees main
deb http://debian.keesmeijs.nl/ jaunty-kees main
deb-src http://debian.keesmeijs.nl/ jaunty-kees main
deb http://debian.keesmeijs.nl/ karmic-kees main
deb-src http://debian.keesmeijs.nl/ karmic-kees main

The APT repositories are signed, so please install the keyring first:

$ sudo apt-get install kees-archive-keyring

Now you can install (or upgrade) Doomsday Engine:

$ sudo apt-get install deng

Snowberry

Unfortunately, Snowberry is not included yet in the pre-built packages.

Mandrake

Note: This information may be out of date.

There are binary packages for Mandrakelinux 10.0, thanks to Marco Meijer of Mandrakeclub.nl:

Version 1.8.6-2:

Older versions:

Slackware

Makefile must be edited to include libZ.

SUSE

For SuSE 9.3, you need to install the following packages in YaST:

  • gcc
  • automake
  • autoconf
  • libtool
  • make
  • ncurses
  • ncurses-devel
  • xorg-x11-Mesa
  • xorg-x11-Mesa-devel
  • SDL
  • SDL-devel
  • SDL_mixer
  • SDL_net
  • libvorbis
  • libvorbis-devel
  • libpng
  • libpng-devel

...and if your sound card supports 3D audio, you can also install:

  • openal

Then build as described in the file Build/COMPILING.

FreeBSD

deng has been already committed to repository and now resides in official port tree. You can access port at CVS via the following link: [1]

FreeBSD users should go to http://www.freebsd.org/, where you will find whatever you want: deng sources, port itself and precompiled package.