How To Install python-simplestreams-openstack on Ubuntu 18.04

In this tutorial we learn how to install python-simplestreams-openstack on Ubuntu 18.04. python-simplestreams-openstack is Library and tools for using Simple Streams data

Introduction

In this tutorial we learn how to install python-simplestreams-openstack on Ubuntu 18.04.

What is python-simplestreams-openstack

python-simplestreams-openstack is:

This package depends on libraries necessary to use the openstack dependent functionality in simplestreams. That includes interacting with glance, swift and keystone.

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

sudo apt-get -y install python-simplestreams-openstack

Install python-simplestreams-openstack Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-simplestreams-openstack using apt by running the following command:

sudo apt -y install python-simplestreams-openstack

Install python-simplestreams-openstack 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-simplestreams-openstack using aptitude by running the following command:

sudo aptitude -y install python-simplestreams-openstack

How To Uninstall python-simplestreams-openstack on Ubuntu 18.04

To uninstall only the python-simplestreams-openstack package we can use the following command:

sudo apt-get remove python-simplestreams-openstack

Uninstall python-simplestreams-openstack And Its Dependencies

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

sudo apt-get -y autoremove python-simplestreams-openstack

Remove python-simplestreams-openstack Configurations and Data

To remove python-simplestreams-openstack configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-simplestreams-openstack

Remove python-simplestreams-openstack configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-simplestreams-openstack

References

Summary

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