How To Install nala on Debian 12
Introduction
In this tutorial we learn how to install nala on Debian 12.
What is nala
nala is:
Nala is a frontend for the APT package manager. It has a lot of the same functionality, but formats the output to be more human readable. Also implements a history function to see past transactions and undo/redo them. Much like Fedora’s dnf history.
There are three methods to install nala on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install nala Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install nala using apt-get by running the following command:
sudo apt-get -y install nala
Install nala Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install nala using apt by running the following command:
sudo apt -y install nala
Install nala 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 nala using aptitude by running the following command:
sudo aptitude -y install nala
How To Uninstall nala on Debian 12
To uninstall only the nala package we can use the following command:
sudo apt-get remove nala
Uninstall nala And Its Dependencies
To uninstall nala and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove nala
Remove nala Configurations and Data
To remove nala configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge nala
Remove nala configuration, data, and all of its dependencies
We can use the following command to remove nala configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge nala
Dependencies
nala have the following dependencies:
- python3-anyio
- python3-httpx
- python3-pexpect
- python3-rich
- python3-tomli
- python3-typer
- python3-typing-extensions
- python3
References
Summary
In this tutorial we learn how to install nala package on Debian 12 using different package management tools: apt, apt-get and aptitude.