How To Install os-brick-common on Ubuntu 20.04
Introduction
In this tutorial we learn how to install os-brick-common
on Ubuntu 20.04.
What is os-brick-common
os-brick-common is:
OpenStack Cinder brick library for managing local volume attaches.
Features discovery of volumes being attached to a host for many transport protocols and removal of volumes from a host.
This package contains common files needed by either the Python 2 or 3 module of os-brick.
Package: os-brick-common Architecture: all Version: 3.0.1-0ubuntu1.2 Priority: optional Section: python Source: python-os-brick Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 17 Filename: pool/main/p/python-os-brick/os-brick-common_3.0.1-0ubuntu1.2_all.deb Size: 3360 MD5sum: 817f263da7f1743b7a0b61f26b27eef3 SHA1: 64201ce3b5ef6aedcb599b8d3ea16e8add03d991 SHA256: d04f46ca4278481f2bb0c1bb7f2f0e497f24b3bf2c5dfac51e3179e06e312e77 SHA512: 5f0825bff258326097b167591204107862f3cc6245455baedbdec111f135847fba41c043add7faffbf8f7279f2558bc51d3bb570a69cc4534d478796fb9a02fd Homepage: https://github.com/openstack/os-brick Description-en: Library for managing local volume attaches - common files OpenStack Cinder brick library for managing local volume attaches.
Features discovery of volumes being attached to a host for many transport protocols and removal of volumes from a host.
This package contains common files needed by either the Python 2 or 3 module of os-brick.
Package: os-brick-common Architecture: all Version: 3.0.1-0ubuntu1 Priority: optional Section: python Source: python-os-brick Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 16 Filename: pool/main/p/python-os-brick/os-brick-common_3.0.1-0ubuntu1_all.deb Size: 3140 MD5sum: 28a7089b5aaae1d3f81d58d11bccf015 SHA1: e7e71326943c7098c359f167a383e044fb9d3c56 SHA256: 97706b63b344d66704d08d59b5356f3d989911950da7ecec7ff23d38822b5d56 Homepage: https://github.com/openstack/os-brick Description-en: Library for managing local volume attaches - common files OpenStack Cinder brick library for managing local volume attaches.
Features discovery of volumes being attached to a host for many transport protocols and removal of volumes from a host.
This package contains common files needed by either the Python 2 or 3 module of os-brick.
There are three methods to install os-brick-common
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 os-brick-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 os-brick-common
using apt-get
by running the following command:
sudo apt-get -y install os-brick-common
Install os-brick-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install os-brick-common
using apt
by running the following command:
sudo apt -y install os-brick-common
Install os-brick-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 os-brick-common
using aptitude
by running the following command:
sudo aptitude -y install os-brick-common
How To Uninstall os-brick-common on Ubuntu 20.04
To uninstall only the os-brick-common
package we can use the following command:
sudo apt-get remove os-brick-common
Uninstall os-brick-common And Its Dependencies
To uninstall os-brick-common
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove os-brick-common
Remove os-brick-common Configurations and Data
To remove os-brick-common
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge os-brick-common
Remove os-brick-common configuration, data, and all of its dependencies
We can use the following command to remove os-brick-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge os-brick-common
References
Summary
In this tutorial we learn how to install os-brick-common
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.