How To Install python-pebl on Debian 9

In this tutorial we learn how to install python-pebl on Debian 9. python-pebl is Python Environment for Bayesian Learning

Introduction

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

What is python-pebl

python-pebl is:

Pebl is a Python library and command line application for learning the structure of a Bayesian network given prior knowledge and observations. Pebl includes the following features:

  • Can learn with observational and interventional data
  • Handles missing values and hidden variables using exact and heuristic methods
  • Provides several learning algorithms; makes creating new ones simple
  • Has facilities for transparent parallel execution using several cluster/grid resources
  • Calculates edge marginals and consensus networks
  • Presents results in a variety of formats

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

sudo apt-get -y install python-pebl

Install python-pebl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pebl

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

sudo aptitude -y install python-pebl

How To Uninstall python-pebl on Debian 9

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

sudo apt-get remove python-pebl

Uninstall python-pebl And Its Dependencies

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

sudo apt-get -y autoremove python-pebl

Remove python-pebl Configurations and Data

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

sudo apt-get -y purge python-pebl

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

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

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

Dependencies

python-pebl have the following dependencies:

References

Summary

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