How To Install debiandoc-sgml-doc-pt-br on Ubuntu 18.04

In this tutorial we learn how to install debiandoc-sgml-doc-pt-br on Ubuntu 18.04. debiandoc-sgml-doc-pt-br is Documentation for DebianDoc-SGML in Brazilian Portuguese

Introduction

In this tutorial we learn how to install debiandoc-sgml-doc-pt-br on Ubuntu 18.04.

What is debiandoc-sgml-doc-pt-br

debiandoc-sgml-doc-pt-br is:

This package contains the documentation for DebianDoc-SGML translated in Brazilian Portuguese in HTML and plain ASCII format.

There are three methods to install debiandoc-sgml-doc-pt-br on Ubuntu 18.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 debiandoc-sgml-doc-pt-br Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install debiandoc-sgml-doc-pt-br using apt-get by running the following command:

sudo apt-get -y install debiandoc-sgml-doc-pt-br

Install debiandoc-sgml-doc-pt-br Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install debiandoc-sgml-doc-pt-br using apt by running the following command:

sudo apt -y install debiandoc-sgml-doc-pt-br

Install debiandoc-sgml-doc-pt-br 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 debiandoc-sgml-doc-pt-br using aptitude by running the following command:

sudo aptitude -y install debiandoc-sgml-doc-pt-br

How To Uninstall debiandoc-sgml-doc-pt-br on Ubuntu 18.04

To uninstall only the debiandoc-sgml-doc-pt-br package we can use the following command:

sudo apt-get remove debiandoc-sgml-doc-pt-br

Uninstall debiandoc-sgml-doc-pt-br And Its Dependencies

To uninstall debiandoc-sgml-doc-pt-br and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove debiandoc-sgml-doc-pt-br

Remove debiandoc-sgml-doc-pt-br Configurations and Data

To remove debiandoc-sgml-doc-pt-br configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge debiandoc-sgml-doc-pt-br

Remove debiandoc-sgml-doc-pt-br configuration, data, and all of its dependencies

We can use the following command to remove debiandoc-sgml-doc-pt-br configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge debiandoc-sgml-doc-pt-br

References

Summary

In this tutorial we learn how to install debiandoc-sgml-doc-pt-br package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.