How to Install Latest Battle for Wesnoth 1.16.x via PPA in Ubuntu 22.04 | 20.04

Last updated: March 20, 2023 — Leave a comment

This simple tutorial is going to show beginners how to install the latest stable Battle for Wesnoth (so far 1.16.8) via PPA in Ubuntu 22.04, Ubuntu 20.04, Linux Mint 20/21.

The Battle for Wesnoth is an open source, turn-based strategy game features both single player and online multiplayer combat.

Ubuntu includes the game package in its system repository but always old. User can choose to install the official Flatpak package, by running 2 commands one by one in a terminal window.

sudo apt install flatpak
flatpak install https://dl.flathub.org/repo/appstream/org.wesnoth.Wesnoth.flatpakref

Though, it’s universal Linux package format that runs in sandbox.

For users who prefer the classic .deb package format, The Debian/Ubuntu Games Team maintains an Ubuntu PPA with the latest stable/devel release (1.16.x stable at the moment) of the game packages. Which, so far supports Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, and their derivatives.

1. First, either search for and open a terminal from start menu or press Ctrl+Alt+T on keyboard to open terminal.

2. When terminal opens, paste the command below and hit Enter to add the PPA repository.

sudo add-apt-repository ppa:pkg-games/wesnoth-devel

Type user password (no asterisk feedback) when it asks for sudo authentication, and hit Enter to continue.

3. If a previous 1.16.x version of the game package was installed on your system, launch “Software Updater” (or Update Manager) to upgrade the game:

Or, run command in terminal to install/upgrade the game package:

sudo apt instatll wesnoth-1.16

NOTE: Linux Mint user may first run sudo apt update to refresh package index.

Once installed, search for and launch the game either from start menu or ‘Activities’ overview depends on your DE and enjoy!

Uninstall:

To download the game to the stock version available in system repository, open terminal (Ctrl+Alt+T) and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:pkg-games/wesnoth-devel

This command will install ppa-purge tool and purge the PPA, which also downgrade installed packages.

To simply uninstall the game package, use command:

sudo apt remove --autoremove wesnoth-1.16

Also remove the PPA, either via “Software & Updates” under Other Software tab in Ubuntu, or use “Software Sources” tool in Linux Mint, or run command:

sudo add-apt-repository --remove ppa:pkg-games/wesnoth-devel

That’s all. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*