How to Uninstall or Install wesnoth on Ubuntu 22.04

Updated: August 26, 2022

This metapackage pulls in the complete set of the latest stable version, most helpful if you always want to have all the official campaigns installed. If you only want to play over the network with other players or want to play only a few campaigns you just need to install the wesnoth-core package and the wanted campaign packages. In this tutorial, I will show you ways to install wesnoth Ubuntu 22.04.

Prerequisites

  • Operating system: wesnoth needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install wesnoth on Ubuntu 22.04

Install wesnoth Ubuntu 22.04

wesnoth 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 that you think is easy and you can follow.

Install wesnoth using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get wesnoth 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. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install wesnoth Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get -y install wesnoth

Install wesnoth using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt install aptitude

After installing, you can now install wesnoth by following these steps:

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

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. You can now install wesnoth Ubuntu by executing this command in the terminal.

sudo aptitude -y install wesnoth

Uninstall wesnoth 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 wesnoth.

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

sudo apt remove --auto-remove wesnoth

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

sudo apt autoremove --purge wesnoth

Summary

In this guide, I showed you ways to install wesnoth on Ubuntu 22.04 and some ways to uninstall wesnoth too. Please contact me if you require any assistance. I’d be delighted to respond.