How To Install xscavenger on Ubuntu 22.04
Introduction
In this tutorial we learn how to install xscavenger on Ubuntu 22.04.
What is xscavenger
xscavenger is:
XScavenger is a platform game for the X Window System. From the README:
Scavenger is like Lode Runner. You’ve got to run around gathering objects while avoiding enemies. You can dig down through some of the blocks to get at buried objects. After you’ve collected everything, ladders may appear. To finish the level you’ve got to exit through the top of the screen. If an enemy falls into a dug brick, he is stunned for a while. If the brick fills in with him in it, he is killed, and he will reappear at the top of the screen.
This version has a level editor for designing your own levels, and a graphics editor for drawing your own artwork.
There are three methods to install xscavenger on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install xscavenger Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install xscavenger using apt-get by running the following command:
sudo apt-get -y install xscavenger
Install xscavenger Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install xscavenger using apt by running the following command:
sudo apt -y install xscavenger
Install xscavenger 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install xscavenger using aptitude by running the following command:
sudo aptitude -y install xscavenger
How To Uninstall xscavenger on Ubuntu 22.04
To uninstall only the xscavenger package we can use the following command:
sudo apt-get remove xscavenger
Uninstall xscavenger And Its Dependencies
To uninstall xscavenger and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove xscavenger
Remove xscavenger Configurations and Data
To remove xscavenger configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge xscavenger
Remove xscavenger configuration, data, and all of its dependencies
We can use the following command to remove xscavenger configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xscavenger
References
Summary
In this tutorial we learn how to install xscavenger package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.