How To Install python3-ironic on Ubuntu 20.04

In this tutorial we learn how to install python3-ironic on Ubuntu 20.04. python3-ironic is Openstack bare metal provisioning service - Python 3 library Openstack bare metal provisioning service - Python 3 library

Introduction

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

What is python3-ironic

python3-ironic is:

Ironic is an Incubated OpenStack project which aims to provision bare metal machines instead of virtual machines, forked from the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality.

This package contains the Python 3 libraries.

Package: python3-ironic Architecture: all Version: 1:14.0.1~git2020041013.af9e6ba90-0ubuntu2 Priority: extra Section: universe/net Source: ironic Origin: Ubuntu Maintainer: Chuck Short [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 8150 Depends: alembic (>= 0.8.10), ironic-common (= 1:14.0.1~git2020041013.af9e6ba90-0ubuntu2), python3-alembic (>= 0.8.10), python3-automaton (>= 1.9.0), python3-cinderclient (>= 1:3.3.0), python3-eventlet (>= 0.18.2), python3-futurist (>= 1.2.0), python3-glanceclient (>= 1:2.8.0), python3-ironic-lib (>= 2.17.1), python3-jinja2 (>= 2.10), python3-jsonpatch (>= 1.16), python3-jsonschema (>= 2.6.0), python3-keystoneauth1 (>= 3.15.0), python3-keystonemiddleware (>= 4.17.0), python3-neutronclient (>= 1:6.7.0), python3-openstacksdk (>= 0.37.0), python3-os-traits (>= 0.4.0), python3-oslo.concurrency (>= 3.26.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.19.2), python3-oslo.db (>= 4.40.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.38.0), python3-oslo.versionedobjects (>= 1.31.2), python3-osprofiler (>= 1.5.0), python3-paramiko (>= 2.0), python3-pbr (>= 2.0.0), python3-pecan (>= 1.0.0), python3-psutil (>= 3.2.2), python3-pygments (>= 2.2.0), python3-pymysql (>= 0.6.2), python3-requests (>= 2.14.2), python3-retrying (>= 1.2.3), python3-rfc3986 (>= 0.3.1), python3-scciclient (>= 0.8.0), python3-sendfile (>= 2.0.0), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.0.10), python3-stevedore (>= 1:1.20.0), python3-swiftclient (>= 1:3.2.0), python3-tooz (>= 1.58.0), python3-tz (>= 2013.6), python3-webob (>= 1:1.7.1), python3-wsme (>= 0.9.3), python3.8:any, python3:any Filename: pool/universe/i/ironic/python3-ironic_14.0.1~git2020041013.af9e6ba90-0ubuntu2_all.deb Size: 772300 MD5sum: 497b063bb2167085198a7ecd194bad89 SHA1: 7b2dee9f5cd037b1b8dacc0fa59f619795e84df6 SHA256: 81d53c13df1bd19929080833f71c1437f55a6e2ff5ab6686d61ebf178a0b87f4 Description-en: Openstack bare metal provisioning service - Python 3 library Ironic is an Incubated OpenStack project which aims to provision bare metal machines instead of virtual machines, forked from the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality.

This package contains the Python 3 libraries.

There are three methods to install python3-ironic 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-ironic 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-ironic using apt-get by running the following command:

sudo apt-get -y install python3-ironic

Install python3-ironic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ironic

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

sudo aptitude -y install python3-ironic

How To Uninstall python3-ironic on Ubuntu 20.04

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

sudo apt-get remove python3-ironic

Uninstall python3-ironic And Its Dependencies

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

sudo apt-get -y autoremove python3-ironic

Remove python3-ironic Configurations and Data

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

sudo apt-get -y purge python3-ironic

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

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

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

References

Summary

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