Building Chocolate Doom on Debian

From Chocolate Doom
Jump to: navigation, search
Chocolate Doom running under Ubuntu Linux, a distribution derived from Debian.

The following are instructions for building Chocolate Doom under Debian GNU/Linux; these instructions also apply to building under distributions derived from Debian, including Ubuntu.

[edit] Dependencies

The first step is to install the necessary dependencies for building Chocolate Doom. The easiest way to do this is to use the Debian package manager. Run this command as root:

apt-get install gcc make libsdl1.2-dev libsdl-net1.2-dev \
    libsdl-mixer1.2-dev python-imaging

Several packages will be installed.

[edit] Building

Download the source package from the link in the sidebar to the left. Extract the package: for example,

tar xzf chocolate-doom-2.0.0.tar.gz

Then build the package:

cd chocolate-doom-2.0.0
make install

The final "make install" command should be run as root.

[edit] Tracking Git

To keep up to date with the latest bleeding-edge version of Chocolate Doom, you can build the latest version from the Git repository.

To do this, you need to install some extra packages:

aptitude install automake autoconf libtool git

Check out the latest version from Subversion:

git clone

Then build the package:

cd chocolate-doom
make install

To keep up to date, periodically run these commands to update your checkout and rebuild:

git pull
make install
Personal tools

Chocolate Doom