How To Install python-tofu on Debian 9
Introduction
In this tutorial we learn how to install python-tofu
on Debian 9.
What is python-tofu
python-tofu is:
Tofu is designed for games where players play one or several characters accross several levels. This includes jump’n run games, RPG or RTS, but not Tetris-like games or board game (chess, go,…).
It currently support client-server and single player mode; peer-to-peer mode may be added later.
There are three methods to install python-tofu
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python-tofu Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-tofu
using apt-get
by running the following command:
sudo apt-get -y install python-tofu
Install python-tofu Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-tofu
using apt
by running the following command:
sudo apt -y install python-tofu
Install python-tofu 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-tofu
using aptitude
by running the following command:
sudo aptitude -y install python-tofu
How To Uninstall python-tofu on Debian 9
To uninstall only the python-tofu
package we can use the following command:
sudo apt-get remove python-tofu
Uninstall python-tofu And Its Dependencies
To uninstall python-tofu
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-tofu
Remove python-tofu Configurations and Data
To remove python-tofu
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-tofu
Remove python-tofu configuration, data, and all of its dependencies
We can use the following command to remove python-tofu
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-tofu
Dependencies
python-tofu have the following dependencies:
References
Summary
In this tutorial we learn how to install python-tofu
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.