How To Install moria on Debian 12
Introduction
In this tutorial we learn how to install moria on Debian 12.
What is moria
moria is:
A single player roguelike game with a regenerating dungeon, moria is the predecessor of angband with a full-screen, text-based, turn-based interface. It features scrolling maps, and an infinite (constantly regenerated) dungeon.
Moria’s dungeons are populated by monsters, some of which are inspired by J.R.R. Tolkien’s books. The goal of the game is to find and kill the Balrog, whereupon the player is crowned King. Your player can be created from a combination of 8 races (human, half-elf, elf, halfling, gnome, dwarf, half-orc, half-troll) and 6 classes (warrior, mage, priest, rogue, ranger, paladin), and is measured by 6 attributes (strength, dexterity, intelligence, wisdom, constitution, and charisma).
Despite the package name, this is actually Umoria (Unix moria).
There are three methods to install moria on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install moria Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install moria using apt-get by running the following command:
sudo apt-get -y install moria
Install moria Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install moria using apt by running the following command:
sudo apt -y install moria
Install moria 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install moria using aptitude by running the following command:
sudo aptitude -y install moria
How To Uninstall moria on Debian 12
To uninstall only the moria package we can use the following command:
sudo apt-get remove moria
Uninstall moria And Its Dependencies
To uninstall moria and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove moria
Remove moria Configurations and Data
To remove moria configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge moria
Remove moria configuration, data, and all of its dependencies
We can use the following command to remove moria configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge moria
Dependencies
moria have the following dependencies:
References
Summary
In this tutorial we learn how to install moria package on Debian 12 using different package management tools: apt, apt-get and aptitude.