How To Install colossal-cave-adventure on Ubuntu 18.04

In this tutorial we learn how to install colossal-cave-adventure on Ubuntu 18.04. colossal-cave-adventure is Colossal Cave Adventure game

Introduction

In this tutorial we learn how to install colossal-cave-adventure on Ubuntu 18.04.

What is colossal-cave-adventure

colossal-cave-adventure is:

Explore Colossal Cave, where others have found fortunes in treasure and gold, though it is rumored that some who enter are never seen again.

Colossal Cave Adventure (originally named “ADVENT” or “Adventure”) is the seminal text adventure game, written by Will Crowther and Don Woods.

This is a re-implementation of the “350-point” version, using the same game content from the PDP-10 source code of the late 1970s.

It uses the original text exactly, and emits responses slow enough to read as the contemporary terminal interfaces did.

There are three methods to install colossal-cave-adventure on Ubuntu 18.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 colossal-cave-adventure Using apt-get

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

sudo apt-get update

After updating apt database, We can install colossal-cave-adventure using apt-get by running the following command:

sudo apt-get -y install colossal-cave-adventure

Install colossal-cave-adventure Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install colossal-cave-adventure using apt by running the following command:

sudo apt -y install colossal-cave-adventure

Install colossal-cave-adventure 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 colossal-cave-adventure using aptitude by running the following command:

sudo aptitude -y install colossal-cave-adventure

How To Uninstall colossal-cave-adventure on Ubuntu 18.04

To uninstall only the colossal-cave-adventure package we can use the following command:

sudo apt-get remove colossal-cave-adventure

Uninstall colossal-cave-adventure And Its Dependencies

To uninstall colossal-cave-adventure and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove colossal-cave-adventure

Remove colossal-cave-adventure Configurations and Data

To remove colossal-cave-adventure configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge colossal-cave-adventure

Remove colossal-cave-adventure configuration, data, and all of its dependencies

We can use the following command to remove colossal-cave-adventure configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge colossal-cave-adventure

References

Summary

In this tutorial we learn how to install colossal-cave-adventure package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.