How To Install blast2 on Ubuntu 18.04
Introduction
In this tutorial we learn how to install blast2
on Ubuntu 18.04.
What is blast2
blast2 is:
This is a transitional dummy package for ncbi-blast+-legacy. It can safely be removed.
There are three methods to install blast2
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 blast2 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install blast2
using apt-get
by running the following command:
sudo apt-get -y install blast2
Install blast2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install blast2
using apt
by running the following command:
sudo apt -y install blast2
Install blast2 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 blast2
using aptitude
by running the following command:
sudo aptitude -y install blast2
How To Uninstall blast2 on Ubuntu 18.04
To uninstall only the blast2
package we can use the following command:
sudo apt-get remove blast2
Uninstall blast2 And Its Dependencies
To uninstall blast2
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove blast2
Remove blast2 Configurations and Data
To remove blast2
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge blast2
Remove blast2 configuration, data, and all of its dependencies
We can use the following command to remove blast2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge blast2
References
Summary
In this tutorial we learn how to install blast2
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.