How To Install sgml-data on Ubuntu 20.04
Introduction
In this tutorial we learn how to install sgml-data
on Ubuntu 20.04.
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. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install sgml-data
on Ubuntu 20.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install sgml-data
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.