How to install python in your Linux terminal for Coding!

How to install python in your Linux terminal for Coding!

August 13, 2022 by Abdul Rehman0
Purple-Online-Learning-Course-Facebook-Ad-5.png?fit=1200%2C628&ssl=1

Step by Step guide for installing python in Unix terminal for coding

Preparing system

First of all, we have to prepare the system for installation for that just open your Unix terminal and type

sudo apt-get update

sudo apt-get upgrade
💡 Sudo stands for Superuser DO and is used to access restricted files and operations. By default, Linux restricts access to certain parts of the system preventing sensitive files from being compromised.

Installation of Python

We will Again Use the Sudo command to install python in your Operating system just write

Sudo apt install python3
💡 We are Writing python3 because the current version of python running right is ‘3’. For checking the versions, you can visit www.python.org.

 

When the python is installed just type in your terminal and three >>> signs are shown for the

Python3

Print Function of Python

Now we will use a print function to get output from the python terminal for that just type

Print (‘Hello Bioinformaticians’)

It will give you the output of

Hello Bioinformaticians

Now if you have to exit and get back to Linux Environment just type

Quit()


 


Leave a Reply

Your email address will not be published. Required fields are marked *




WE CAN, WE Will




+92-309-017-1710


24/7 Services

Call us now if you are in a need, we will reply swiftly and provide you with our services.


Copyright 2022 Bioinformatics.pk