How To Install python-pbcommand on Debian 9

In this tutorial we learn how to install python-pbcommand on Debian 9. python-pbcommand is common command-line interface for Pacific Biosciences analysis modules

Introduction

In this tutorial we learn how to install python-pbcommand on Debian 9.

What is python-pbcommand

python-pbcommand is:

To integrate with the pbsmrtpipe workflow engine, one must to be able to generate a Tool Contract and to be able to run from a Resolved Tool Contract. A Tool Contract contains the metadata of the exe, such as the file types of inputs, outputs and options. There are two principal use cases, first wrapping/calling Python functions that have been defined in external Python packages, or scripts. Second, creating a CLI tool that supports emitting tool contracts, running resolved tool contracts and complete argparse-style CLI.

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

sudo apt-get -y install python-pbcommand

Install python-pbcommand Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pbcommand

Install python-pbcommand 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-pbcommand

How To Uninstall python-pbcommand on Debian 9

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

sudo apt-get remove python-pbcommand

Uninstall python-pbcommand And Its Dependencies

To uninstall python-pbcommand and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-pbcommand

Remove python-pbcommand Configurations and Data

To remove python-pbcommand configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-pbcommand

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

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

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

Dependencies

python-pbcommand have the following dependencies:

References

Summary

In this tutorial we learn how to install python-pbcommand package on Debian 9 using different package management tools: apt, apt-get and aptitude.