Building Chocolate Doom on Linux (generic)
From Chocolate Doom
These are generic build instructions for building Chocolate Doom on Linux.
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:
- gcc, the GNU C Compiler
- 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
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