How to Install or Uninstall morris on Ubuntu 22.04

Updated: August 22, 2022

Morris is an implementation of the board game “Nine Men’s Morris”. Sometimes simply called Mills, Morris, Merrills, or Mühle in German. This implementation supports not only the standard game, but also several rule-variants and different boards. The game supports a strong computer player which learns from past games played. In this tutorial, I will show you ways to install morris Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install morris on Ubuntu 22.04

Install morris Ubuntu 22.04

morris is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install morris using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to install morris on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install morris Ubuntu by executing this command in the terminal.

sudo apt -y install morris

Install morris using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing aptitude, you can now install morris, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install morris Ubuntu by executing this command in the terminal.

sudo aptitude install morris

Uninstall morris on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a morris.

If you installed morris using APT or Aptitude, you could uninstall morris on Ubuntu by following this step:

sudo apt remove --auto-remove morris

You can also execute this command if you want to uninstall morris and remove its data and dependencies:

sudo apt autoremove --purge morris

Conclusion

In this tutorial, I showed you ways to install morris on Ubuntu 22.04 and some ways to uninstall morris too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.