How To Install python-bioblend on Ubuntu 18.04

In this tutorial we learn how to install python-bioblend on Ubuntu 18.04. python-bioblend is CloudMan and Galaxy API library (Python 2)

Introduction

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

What is python-bioblend

python-bioblend is:

BioBlend is a Python library for interacting with CloudMan and Galaxy’s API. BioBlend is supported and tested on: · Python 2.6, 2.7, 3.3 and 3.4 · Galaxy release_14.02 and later. Conceptually, it makes it possible to script and automate the process of cloud infrastructure provisioning and scaling via CloudMan, and run‐ ning of analyses via Galaxy. In reality, it makes it possible to do things like this: · Create a CloudMan compute cluster, via an API and directly from your local machine: · Reconnect to an existing CloudMan instance and manipulate it · Interact with Galaxy via a straightforward API

Although this library allows you to blend these two services into a cohesive unit, the library itself can be used with either service irrespective of the other. For example, you can use it to just manipulate CloudMan clusters or to script the interactions with an instance of Galaxy running on your laptop.

This package installs the library for Python 2.

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

sudo apt-get -y install python-bioblend

Install python-bioblend Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-bioblend

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

sudo aptitude -y install python-bioblend

How To Uninstall python-bioblend on Ubuntu 18.04

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

sudo apt-get remove python-bioblend

Uninstall python-bioblend And Its Dependencies

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

sudo apt-get -y autoremove python-bioblend

Remove python-bioblend Configurations and Data

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

sudo apt-get -y purge python-bioblend

Remove python-bioblend configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-bioblend

References

Summary

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