How To Install chocolate-doom on Ubuntu 22.04

In this tutorial we learn how to install chocolate-doom on Ubuntu 22.04. chocolate-doom is Doom engines closely-compatible with Vanilla Doom

Introduction

In this tutorial we learn how to install chocolate-doom on Ubuntu 22.04.

What is chocolate-doom

chocolate-doom is:

Chocolate Doom aims to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers. Unlike most modern Doom engines, Chocolate Doom is not derived from the Boom source port and does not inherit its features (or bugs).

This package contains:

  • Chocolate Doom, a port of Id Software’s “Doom” (1993)
  • Chocolate Heretic, a port of Raven Software’s “Heretic” (1994)
  • Chocolate Hexen, a port of Raven Software’s “Hexen” (1995)
  • Chocolate Strife, a recreation of Rogue Entertainment’s “Strife” (1996)

These games are designed to behave as similar to the original DOS version as is possible.

Chocolate Doom supports all flavors of Doom, including The Ultimate Doom, Doom 2 and Final Doom as well as Chex(R) Quest, HacX, Freedoom: Phase 1 and Phase 2 and FreeDM.

All Chocolate game engines require game data to play. For Chocolate Doom, free game data is available in the freedoom package. Commercial game data for all four engines can be packaged using “game-data-packager”.

There are three methods to install chocolate-doom on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install chocolate-doom Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install chocolate-doom using apt-get by running the following command:

sudo apt-get -y install chocolate-doom

Install chocolate-doom Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install chocolate-doom using apt by running the following command:

sudo apt -y install chocolate-doom

Install chocolate-doom Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install chocolate-doom using aptitude by running the following command:

sudo aptitude -y install chocolate-doom

How To Uninstall chocolate-doom on Ubuntu 22.04

To uninstall only the chocolate-doom package we can use the following command:

sudo apt-get remove chocolate-doom

Uninstall chocolate-doom And Its Dependencies

To uninstall chocolate-doom and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove chocolate-doom

Remove chocolate-doom Configurations and Data

To remove chocolate-doom configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge chocolate-doom

Remove chocolate-doom configuration, data, and all of its dependencies

We can use the following command to remove chocolate-doom configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge chocolate-doom

References

Summary

In this tutorial we learn how to install chocolate-doom package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.