How To Install python3-manila on Ubuntu 20.04

In this tutorial we learn how to install python3-manila on Ubuntu 20.04. python3-manila is OpenStack shared file system as a service - Python 3 libs OpenStack shared file system as a service - Python 3 libs

Introduction

In this tutorial we learn how to install python3-manila on Ubuntu 20.04.

What is python3-manila

python3-manila is:

Manila is an OpenStack project to provide Shared Filesystems as a service. It provides coordinated access to shared or distributed file systems. While the primary consumption of file shares would be across OpenStack Compute instances, the service is also intended to be accessible as an independent capability in line with the modular design established by other OpenStack services. Manila is extensible for multiple backends (to support vendor or file system specific nuances / capabilities) and accommodates any of a variety of shared or distributed file system types.

This package contains the Python 3 library for Manila.

Package: python3-manila Architecture: all Version: 1:10.0.0~b3~git2020041013.ea90fd17-0ubuntu1 Priority: optional Section: universe/python Source: manila Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Chuck Short [email protected], Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 10955 Depends: alembic (>= 0.8.10), e2fsprogs, python3-alembic (>= 0.8.10), python3-babel (>= 2.3.4), python3-cinderclient (>= 1:3.3.0), python3-eventlet (>= 0.18.2), python3-greenlet (>= 0.4.10), python3-keystoneauth1 (>= 3.4.0), python3-keystonemiddleware (>= 4.17.0), python3-lxml (>= 3.4.1), python3-netaddr (>= 0.7.18), python3-neutronclient (>= 1:6.7.0), python3-novaclient (>= 2:9.1.0), python3-openstackclient, python3-oslo.concurrency (>= 3.26.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.19.2), python3-oslo.db (>= 4.27.0), python3-oslo.i18n (>= 3.15.3), python3-oslo.log (>= 3.36.0), python3-oslo.messaging (>= 5.29.0), python3-oslo.middleware (>= 3.31.0), python3-oslo.policy (>= 1.30.0), python3-oslo.reports (>= 1.18.0), python3-oslo.rootwrap (>= 5.8.0), python3-oslo.serialization (>= 2.18.0), python3-oslo.service (>= 1.24.0), python3-oslo.upgradecheck (>= 0.1.0), python3-oslo.utils (>= 3.33.0), python3-paramiko (>= 2.0.0), python3-paste (>= 2.0.2), python3-pastedeploy (>= 1.5.0), python3-pbr (>= 2.0.0), python3-psycopg2 (>= 2.6.2), python3-pymysql, python3-pyparsing (>= 2.1.0), python3-requests (>= 2.14.2), python3-retrying (>= 1.2.3), python3-routes (>= 2.3.1), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.0.10), python3-stevedore (>= 1:1.20.0), python3-tooz (>= 1.58.0), python3-webob (>= 1:1.7.1), python3:any Filename: pool/universe/m/manila/python3-manila_10.0.0~b3~git2020041013.ea90fd17-0ubuntu1_all.deb Size: 1067520 MD5sum: b813f2838125184c13db898107a82370 SHA1: 4c574ec7d88587dd6ba8af1bda37f7f68225ab4a SHA256: 10a38182b39eac38355b33e67f26e839c5cbc4873cb7bf81808b6e4b2cb79860 Homepage: https://github.com/openstack/manila Description-en: OpenStack shared file system as a service - Python 3 libs Manila is an OpenStack project to provide Shared Filesystems as a service. It provides coordinated access to shared or distributed file systems. While the primary consumption of file shares would be across OpenStack Compute instances, the service is also intended to be accessible as an independent capability in line with the modular design established by other OpenStack services. Manila is extensible for multiple backends (to support vendor or file system specific nuances / capabilities) and accommodates any of a variety of shared or distributed file system types.

This package contains the Python 3 library for Manila.

There are three methods to install python3-manila 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 python3-manila Using apt-get

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

sudo apt-get update

After updating apt database, We can install python3-manila using apt-get by running the following command:

sudo apt-get -y install python3-manila

Install python3-manila Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-manila using apt by running the following command:

sudo apt -y install python3-manila

Install python3-manila 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 python3-manila using aptitude by running the following command:

sudo aptitude -y install python3-manila

How To Uninstall python3-manila on Ubuntu 20.04

To uninstall only the python3-manila package we can use the following command:

sudo apt-get remove python3-manila

Uninstall python3-manila And Its Dependencies

To uninstall python3-manila and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python3-manila

Remove python3-manila Configurations and Data

To remove python3-manila configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-manila

Remove python3-manila configuration, data, and all of its dependencies

We can use the following command to remove python3-manila configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-manila

References

Summary

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