How To Install libbiojava-java-demos on Debian 9

In this tutorial we learn how to install libbiojava-java-demos on Debian 9. libbiojava-java-demos is Example programs for BioJava

Introduction

In this tutorial we learn how to install libbiojava-java-demos on Debian 9.

What is libbiojava-java-demos

libbiojava-java-demos is:

The package comes with a wealth of use cases for BioJava. It is generated together with the API documentation but because of its size of ~3.7MB it was decided to distribute it separately.

There are three methods to install libbiojava-java-demos 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 libbiojava-java-demos Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libbiojava-java-demos using apt-get by running the following command:

sudo apt-get -y install libbiojava-java-demos

Install libbiojava-java-demos Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbiojava-java-demos using apt by running the following command:

sudo apt -y install libbiojava-java-demos

Install libbiojava-java-demos 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 libbiojava-java-demos using aptitude by running the following command:

sudo aptitude -y install libbiojava-java-demos

How To Uninstall libbiojava-java-demos on Debian 9

To uninstall only the libbiojava-java-demos package we can use the following command:

sudo apt-get remove libbiojava-java-demos

Uninstall libbiojava-java-demos And Its Dependencies

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

sudo apt-get -y autoremove libbiojava-java-demos

Remove libbiojava-java-demos Configurations and Data

To remove libbiojava-java-demos configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libbiojava-java-demos

Remove libbiojava-java-demos configuration, data, and all of its dependencies

We can use the following command to remove libbiojava-java-demos configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libbiojava-java-demos

Dependencies

libbiojava-java-demos have the following dependencies:

References

Summary

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