How To Install openstack-doc-tools-common on Ubuntu 18.04

In this tutorial we learn how to install openstack-doc-tools-common on Ubuntu 18.04. openstack-doc-tools-common is tools used by the OpenStack Documentation project - common files

Introduction

In this tutorial we learn how to install openstack-doc-tools-common on Ubuntu 18.04.

What is openstack-doc-tools-common

openstack-doc-tools-common is:

This package contains a set of tools used to build the OpenStack documentation (install-guide, etc.) in multiple formats: html, pdf, etc. The input format is a set of XML documents.

This package contains common files for both the Python 2.7 and 3.x packages.

There are three methods to install openstack-doc-tools-common 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 openstack-doc-tools-common Using apt-get

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

sudo apt-get update

After updating apt database, We can install openstack-doc-tools-common using apt-get by running the following command:

sudo apt-get -y install openstack-doc-tools-common

Install openstack-doc-tools-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openstack-doc-tools-common using apt by running the following command:

sudo apt -y install openstack-doc-tools-common

Install openstack-doc-tools-common 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 openstack-doc-tools-common using aptitude by running the following command:

sudo aptitude -y install openstack-doc-tools-common

How To Uninstall openstack-doc-tools-common on Ubuntu 18.04

To uninstall only the openstack-doc-tools-common package we can use the following command:

sudo apt-get remove openstack-doc-tools-common

Uninstall openstack-doc-tools-common And Its Dependencies

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

sudo apt-get -y autoremove openstack-doc-tools-common

Remove openstack-doc-tools-common Configurations and Data

To remove openstack-doc-tools-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge openstack-doc-tools-common

Remove openstack-doc-tools-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openstack-doc-tools-common

References

Summary

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