How To Install python-oslo.policy-doc on Ubuntu 20.04

In this tutorial we learn how to install python-oslo.policy-doc on Ubuntu 20.04. python-oslo.policy-doc is RBAC policy enforcement library for OpenStack - doc RBAC policy enforcement library for OpenStack - doc

Introduction

In this tutorial we learn how to install python-oslo.policy-doc on Ubuntu 20.04.

What is python-oslo.policy-doc

python-oslo.policy-doc is:

Oslo.policy provides a Role Based Access Control policy enforcement library for OpenStack.

This package contains the documentation.

Package: python-oslo.policy-doc Architecture: all Version: 3.1.0-0ubuntu1 Priority: optional Section: doc Source: python-oslo.policy Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2626 Depends: libjs-sphinxdoc (>= 1.0) Filename: pool/main/p/python-oslo.policy/python-oslo.policy-doc_3.1.0-0ubuntu1_all.deb Size: 925612 MD5sum: de3e369b9304f82abfefe529b906f9a2 SHA1: f80d549a3d22d41ca92090d38a758dc02e98ea8e SHA256: 92f553d4e1d39315aa90a38423766b59bc9335accba7cf12dc7ae0a87458cf38 Homepage: https://github.com/openstack/oslo.policy Description-en: RBAC policy enforcement library for OpenStack - doc Oslo.policy provides a Role Based Access Control policy enforcement library for OpenStack.

This package contains the documentation.

There are three methods to install python-oslo.policy-doc 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 python-oslo.policy-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install python-oslo.policy-doc using apt-get by running the following command:

sudo apt-get -y install python-oslo.policy-doc

Install python-oslo.policy-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-oslo.policy-doc using apt by running the following command:

sudo apt -y install python-oslo.policy-doc

Install python-oslo.policy-doc 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 python-oslo.policy-doc using aptitude by running the following command:

sudo aptitude -y install python-oslo.policy-doc

How To Uninstall python-oslo.policy-doc on Ubuntu 20.04

To uninstall only the python-oslo.policy-doc package we can use the following command:

sudo apt-get remove python-oslo.policy-doc

Uninstall python-oslo.policy-doc And Its Dependencies

To uninstall python-oslo.policy-doc and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python-oslo.policy-doc

Remove python-oslo.policy-doc Configurations and Data

To remove python-oslo.policy-doc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python-oslo.policy-doc

Remove python-oslo.policy-doc configuration, data, and all of its dependencies

We can use the following command to remove python-oslo.policy-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-oslo.policy-doc

References

Summary

In this tutorial we learn how to install python-oslo.policy-doc package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.