
Introduction
In this tutorial we learn how to install sgml-data on Kali Linux.
What is sgml-data
sgml-data is:
This package contains basic XML and SGML data shared and used by
multiple packages. The package provides the technical format
(Document Type Definition, or DTD) of all major versions of HTML. It
also includes standard character entity definitions which describe
spacial characters or international characters, as well as other
standard miscellany used by other SGML and XML packages.
This package implements the Debian XML and SGML standards for entity
placement and registration. This benefits the user by making the
included materials instantly available to people writing, editing or
building documentation without any further effort.
There are three methods to install sgml-data 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 sgml-data Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install sgml-data using apt-get by running the following command:
sudo apt-get -y install sgml-data
Install sgml-data Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install sgml-data using apt by running the following command:
sudo apt -y install sgml-data
Install sgml-data 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 sgml-data using aptitude by running the following command:
sudo aptitude -y install sgml-data
How To Uninstall sgml-data on Kali Linux
To uninstall only the sgml-data package we can use the following command:
sudo apt-get remove sgml-data
Uninstall sgml-data And Its Dependencies
To uninstall sgml-data and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sgml-data
Remove sgml-data Configurations and Data
To remove sgml-data configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sgml-data
Remove sgml-data configuration, data, and all of its dependencies
We can use the following command to remove sgml-data configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sgml-data
Dependencies
sgml-data have the following dependencies:
References
Summary
In this tutorial we learn how to install sgml-data package on Kali Linux using different package management tools: apt, apt-get and aptitude.
