How To Install libbiojava1.7-java on Ubuntu 18.04

In this tutorial we learn how to install libbiojava1.7-java on Ubuntu 18.04. libbiojava1.7-java is Java API to biological data and applications (version 1.7)

Introduction

In this tutorial we learn how to install libbiojava1.7-java on Ubuntu 18.04.

What is libbiojava1.7-java

libbiojava1.7-java is:

This package presents the Open Source Java API to biological databases and a series of mostly sequence-based algorithms. The APIs are not compatible between versions. In analogy to the dealing with shared libraries of the C language, the jar file of this package has the API version in its name. It is symbolically linked to the expected biojava.jar filename in the package libbiojava-java. This will help keeping multiple versions of the biojava API in parallel.

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

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

sudo apt-get update

After updating apt database, We can install libbiojava1.7-java using apt-get by running the following command:

sudo apt-get -y install libbiojava1.7-java

Install libbiojava1.7-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbiojava1.7-java using apt by running the following command:

sudo apt -y install libbiojava1.7-java

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

sudo aptitude -y install libbiojava1.7-java

How To Uninstall libbiojava1.7-java on Ubuntu 18.04

To uninstall only the libbiojava1.7-java package we can use the following command:

sudo apt-get remove libbiojava1.7-java

Uninstall libbiojava1.7-java And Its Dependencies

To uninstall libbiojava1.7-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libbiojava1.7-java

Remove libbiojava1.7-java Configurations and Data

To remove libbiojava1.7-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbiojava1.7-java

Remove libbiojava1.7-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbiojava1.7-java

References

Summary

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