How To Install gnome-doc-utils on Ubuntu 18.04

In this tutorial we learn how to install gnome-doc-utils on Ubuntu 18.04. gnome-doc-utils is collection of documentation utilities for the GNOME project

Introduction

In this tutorial we learn how to install gnome-doc-utils on Ubuntu 18.04.

What is gnome-doc-utils

gnome-doc-utils is:

gnome-doc-utils is a collection of documentation utilities for the GNOME project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp.

There are three methods to install gnome-doc-utils 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 gnome-doc-utils Using apt-get

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

sudo apt-get update

After updating apt database, We can install gnome-doc-utils using apt-get by running the following command:

sudo apt-get -y install gnome-doc-utils

Install gnome-doc-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-doc-utils using apt by running the following command:

sudo apt -y install gnome-doc-utils

Install gnome-doc-utils 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 gnome-doc-utils using aptitude by running the following command:

sudo aptitude -y install gnome-doc-utils

How To Uninstall gnome-doc-utils on Ubuntu 18.04

To uninstall only the gnome-doc-utils package we can use the following command:

sudo apt-get remove gnome-doc-utils

Uninstall gnome-doc-utils And Its Dependencies

To uninstall gnome-doc-utils and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gnome-doc-utils

Remove gnome-doc-utils Configurations and Data

To remove gnome-doc-utils configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gnome-doc-utils

Remove gnome-doc-utils configuration, data, and all of its dependencies

We can use the following command to remove gnome-doc-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-doc-utils

References

Summary

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