Skip to content
Related Articles

Related Articles

How to Install Pytho-BioPython package on Linux?

View Discussion
Improve Article
Save Article
  • Last Updated : 07 Mar, 2022

Biopython is a collection of publicly accessible Python libraries for biological computing built by a multinational team of developers in Python 3. BioPython is a collaborative effort to provide Python modules and apps that fulfill the demands of present and future bioinformatics research. So, in this tutorial, we’ll use the PIP manager to install the BioPython package in Python on a Linux operating system. 

Installing BioPython package on Linux using PIP

Requirements:

  1. Python3
  2. Python3-pip

To install the BioPython package in Linux we have to follow the following steps:

Step 1: Setting up a Python environment on our Linux operating system. So to install Python3 in our Linux system we use the apt manager.

sudo apt-get install python3

Setting-Python-environment

Step 2: Installing the PIP manager in our Linux system. It is a Python package installation program that is used to install and manage Python packages. So to install PIP we use the following command on the terminal.

sudo apt install python3-pip

Installing-pip-manager

Step 3: Now using the PIP manager we are going to install the BioPython package. So for the installation run the following command on the terminal.

sudo pip3 install biopython

Installing-BioPython

Verifying the installation of BioPython package on Linux using PIP

After you’ve installed the package, the next step is to check whether the BioPython is successfully installed or not. So to do this we run the following command on the terminal. This command will return you the information about the BioPython package.

python3 -m pip show biopython

You will get the following output when the BioPython package is successfully installed.

Verifying-the-installation-of-BioPython-package

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!