How To Install python3-utidylib on Kali Linux
Introduction
In this tutorial we learn how to install python3-utidylib
on Kali Linux.
What is python3-utidylib
python3-utidylib is:
Corrects markup in a way compliant with the latest standards, and optimal for the popular browsers. It has a comprehensive knowledge of the attributes defined in the HTML 4.0 recommendation from W3C, and understands the US ASCII, ISO Latin-1, UTF-8 and the ISO 2022 family of 7-bit encodings. In the output:
- HTML entity names for characters are used when appropriate.
- Missing attribute quotes are added, and mismatched quotes found.
- Tags lacking a terminating ‘>’ are spotted.
- Proprietary elements are recognized and reported as such.
- The page is reformatted, from a choice of indentation styles.
This package contains uTidylib, a Python 3 wrapper for TidyLib.
There are three methods to install python3-utidylib
on Kali Linux. 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-utidylib 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-utidylib
using apt-get
by running the following command:
sudo apt-get -y install python3-utidylib
Install python3-utidylib Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-utidylib
using apt
by running the following command:
sudo apt -y install python3-utidylib
Install python3-utidylib Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python3-utidylib
using aptitude
by running the following command:
sudo aptitude -y install python3-utidylib
How To Uninstall python3-utidylib on Kali Linux
To uninstall only the python3-utidylib
package we can use the following command:
sudo apt-get remove python3-utidylib
Uninstall python3-utidylib And Its Dependencies
To uninstall python3-utidylib
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-utidylib
Remove python3-utidylib Configurations and Data
To remove python3-utidylib
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-utidylib
Remove python3-utidylib configuration, data, and all of its dependencies
We can use the following command to remove python3-utidylib
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-utidylib
Dependencies
python3-utidylib have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-utidylib
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.