Building Chocolate Doom on Linux (generic)

From Chocolate Doom
Jump to: navigation, search

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

Setting up a build environment[edit]

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.

Building Chocolate Doom[edit]

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

wget -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