Ways to Install or Uninstall minetest Ubuntu 22.04

Updated: August 22, 2022

Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an “infinite” map generator. In this tutorial, I will show you how to install minetest on Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install minetest on Ubuntu 22.04

Install minetest Ubuntu 22.04

minetest is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install minetest using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install minetest on your Ubuntu.

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. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. You can now install minetest Ubuntu by executing this command in the terminal.

sudo apt -y install minetest

Install minetest using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After that, you can now install minetest by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install minetest Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install minetest

Install minetest using Snap

Snap is a software package and deployment system that delivers software to users as self-contained packages. Therefore, Snap enables you to install minetest snap easily. Simply copying and pasting this command into the terminal to run it.

sudo snap install minetest

Uninstall minetest on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed minetest using APT or Aptitude, you could uninstall minetest on Ubuntu by executing this command

sudo apt remove --auto-remove minetest

If you want to uninstall minetest and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge minetest

If you used Snap to install minetest, proceed as follows:

sudo snap remove minetest

Ending

In this tutorial, I showed you ways to install minetest on Ubuntu 22.04 and some ways to uninstall minetest too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.