Building Chocolate Doom on Linux (generic)

From Chocolate Doom wiki
Jump to: navigation, search

These are generic build instructions for building Chocolate Doom on Linux.

[edit] Setting up a build environment

Before Chocolate Doom can be built, a working build environment needs to be set up. The following packages need to be installed:

  1. gcc, the GNU C Compiler
  2. wget
  3. Development libraries for the X Window system - may be called 'libx11-dev', 'x-devel' or similar.

The way to install these differs according to your distribution. On many systems these are standard components that are installed by default when you install the system. If not, you should install them using the package system for your distribution.

[edit] Building Chocolate Doom

From this point, there is a simple script that will build Chocolate Doom and its' dependencies automatically. Simply type:

wget http://www.chocolate-doom.org/build-chocolate-doom -O - | sh

Chocolate Doom will be built in your home directory in ~/chocolate-doom. Copy a Doom IWAD file here (doom.wad, doom1.wad, doom2.wad, tnt.wad or plutonia.wad), then type:

cd ~/chocolate-doom
./chocolate-doom
Personal tools
Namespaces

Variants
Actions
Chocolate Doom
Wiki
Tools