How To Install ncbi-tools-bin on Debian 12

Learn how to install ncbi-tools-bin on Debian 12 with this tutorial. ncbi-tools-bin is NCBI libraries for biology applications (text-based utilities)

Introduction

In this tutorial we learn how to install ncbi-tools-bin on Debian 12.

What is ncbi-tools-bin

ncbi-tools-bin is:

This package includes various utilities distributed with the NCBI C SDK, including the development tools asntool and errhdr (formerly of libncbi6-dev). None of the programs in this package require X; you can find the X-based utilities in the ncbi-tools-x11 package. BLAST and related tools now come from a separate source base, corresponding to the ncbi-blast+ and ncbi-blast+-legacy packages.

There are three methods to install ncbi-tools-bin on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ncbi-tools-bin Using apt-get

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

sudo apt-get update

After updating apt database, We can install ncbi-tools-bin using apt-get by running the following command:

sudo apt-get -y install ncbi-tools-bin

Install ncbi-tools-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ncbi-tools-bin using apt by running the following command:

sudo apt -y install ncbi-tools-bin

Install ncbi-tools-bin 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 ncbi-tools-bin using aptitude by running the following command:

sudo aptitude -y install ncbi-tools-bin

How To Uninstall ncbi-tools-bin on Debian 12

To uninstall only the ncbi-tools-bin package we can use the following command:

sudo apt-get remove ncbi-tools-bin

Uninstall ncbi-tools-bin And Its Dependencies

To uninstall ncbi-tools-bin and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove ncbi-tools-bin

Remove ncbi-tools-bin Configurations and Data

To remove ncbi-tools-bin configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge ncbi-tools-bin

Remove ncbi-tools-bin configuration, data, and all of its dependencies

We can use the following command to remove ncbi-tools-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ncbi-tools-bin

Dependencies

ncbi-tools-bin have the following dependencies:

References

Summary

In this tutorial we learn how to install ncbi-tools-bin package on Debian 12 using different package management tools: apt, apt-get and aptitude.