Open main menu

Chocolate Doom β

Building Chocolate Doom on Fedora

chocpkg is the official way of building Chocolate Doom on all platforms from v3 onwards. The following are instructions for building Chocolate Doom under Fedora the "Fedora" way; they may also work on distributions derived from or related to Fedora, but this has not been tested.


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

dnf install SDL2-devel SDL2_mixer-devel SDL2_net-devel gcc make python-imaging

Several packages will be installed.


  For a good introductory guide to the Doom source code, check out the Doom Game Engine Black Book!

Download the source package from the Downloads page. Extract the package: for example,

tar xzf chocolate-doom-3.0.0.tar.gz

Then build the package:

cd chocolate-doom-3.0.0
make install

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