getpub command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
getpub: command not found
or when using sudo you get the following error message
sudo: getpub: command not found
Solutions to getpub: command not found
How To Fix getpub: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu getpub is provided by ncbi-tools-bin package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ncbi-tools-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ncbi-tools-bin.
sudo apt -y install ncbi-tools-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install ncbi-tools-bin
Summary
In this tutorial we learn how to fix getpub command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.