Debian

From DoomWiki.org

Revision as of 03:49, 16 April 2019 by Jdowland (talk | contribs) (Utilities: revamp. delete "available from" column and remove disappeared packages (dosemu,yadex). add wadc,zdbsp,eureka,dosbox. add wikilink coumn)


The Debian project is responsible for the Debian GNU/Linux operating system. This page summarises the integration of Doom into the Debian system.

Virtual packages

The two major components needed to play Doom are a Doom engine and an IWAD. This dependency is expressed in the Debian package system using the doom-engine and doom-wad virtual packages. Virtual packages are names which can be "provided" by real packages.

This flexible approach allows for different combinations of engine and IWAD, whilst preventing an engine without a IWAD from being installed.

doom-engine

Provided by:

doom-wad

Provided by:

Categorisation

Doom is a game, and according to the Filesystem Hierarchy Standard, the binaries belong in /usr/games and the manual pages in section 6. The same applies for doom utilities.

Doom engines and tools should provide a debian menu and file themselves in the Games section. Prboom suggests "Games/Arcade".

Alternatives system

The Debian alternatives system (also adopted by Red Hat) allows multiple packages to provide the same files and for the system administrator to choose which package provides the files at a given time.

The doom IWADs are registered with the alternatives system. The canonical locations are:

  • /usr/share/games/doom/doom1.wad
  • /usr/share/games/doom/doom.wad
  • /usr/share/games/doom/udoom.wad
  • /usr/share/games/doom/doom2.wad
  • /usr/share/games/doom/doom2f.wad
  • /usr/share/games/doom/tnt.wad
  • /usr/share/games/doom/plutonia.wad

Tools (and engines) which require an IWAD should check for the existence of these files.

Id Software IWAD files carry an alternatives priority of 25; the freedoom alternatives use 50. Therefore, the Id IWADs will override the freedoom ones if both are present (unless the system administrator intervenes).

Utilities

tool package available from
glBSP glbsp 2007-01-28
Deutex deutex 2005-08-16
game-data-packager game-data-packager 2005-10-03
ZDBSP zdbsp 2019-01-07
WadC wadc 2016-10-10
DOSBox dosbox 2003-03-31
Eureka eureka 2013-09-01

Repositories

Most packages are available from the main Debian repositories3 unless otherwise noted.

Notes

1. ^  Not in the official archive - binary package available from [1]
2. ^  These packages can be generated using the game-data-packager tool.
3. ^  see http://www.debian.org/distrib/ftplist for the list of Debian mirrors.

External links