How to Install Pytho-BioPython package on Linux?
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
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
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
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
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.