How To Install python3-opensnitch-ui on Debian 12
Introduction
In this tutorial we learn how to install python3-opensnitch-ui
on Debian 12.
What is python3-opensnitch-ui
python3-opensnitch-ui is:
opensnitch-ui is a GUI for opensnitch written in Python. It allows the user to view live outgoing connections, as well as search for details of the intercepted connections.
The user can decide if block outgoing connections based on properties of the connection: by port, by uid, by dst ip, by program or a combination of them.
These rules can last forever, until restart the daemon or just one time.
OpenSnitch can also work as a system-wide domains blocker, by using lists of domains, list of IPs or list of regular expressions.
There are three methods to install python3-opensnitch-ui
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 python3-opensnitch-ui Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-opensnitch-ui
using apt-get
by running the following command:
sudo apt-get -y install python3-opensnitch-ui
Install python3-opensnitch-ui Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-opensnitch-ui
using apt
by running the following command:
sudo apt -y install python3-opensnitch-ui
Install python3-opensnitch-ui 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 python3-opensnitch-ui
using aptitude
by running the following command:
sudo aptitude -y install python3-opensnitch-ui
How To Uninstall python3-opensnitch-ui on Debian 12
To uninstall only the python3-opensnitch-ui
package we can use the following command:
sudo apt-get remove python3-opensnitch-ui
Uninstall python3-opensnitch-ui And Its Dependencies
To uninstall python3-opensnitch-ui
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove python3-opensnitch-ui
Remove python3-opensnitch-ui Configurations and Data
To remove python3-opensnitch-ui
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge python3-opensnitch-ui
Remove python3-opensnitch-ui configuration, data, and all of its dependencies
We can use the following command to remove python3-opensnitch-ui
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-opensnitch-ui
Dependencies
python3-opensnitch-ui have the following dependencies:
- libqt5sql5-sqlite
- python3-grpcio
- python3-notify2
- python3-pyinotify
- python3-pyqt5
- python3-pyqt5.qtsql
- python3-setuptools
- python3-six
- python3-slugify
- python3
References
Summary
In this tutorial we learn how to install python3-opensnitch-ui
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.