In this tutorial we can check how to install Python 3.6 version in Linux Server.
Python language is created by Guido van Rossum and first released in 1991.It is a very simple programming language can be recommended for someone trying to learn computer programming for the first time. Python is a general-purpose programming and it is used for the web development, scientific and mathematical computing.
Applications of Python
1) Web Applications
You can create Web Apps using frameworks and CMS that are built on Python. Most Popular platforms for creating Web Apps are Pyramid, Plone, Django CMS and Django.
2) Creating software Prototypes
Compared to Compiled Languages like C++ and Java, Python is slow. But Python is a good language for creating prototypes.
3) Good Language to Teach Programming
It is used to teach kids and newbies because this is one of the simplest Programming languages.
Features of Python Programming
1) A simple language and very easier to learn
2) It is free of cost and open-source
3) Python is Object-oriented
4) A high-level language
Install Python 3.6 in Linux
Before the installation of Python on CentOS 7, make sure that system has all the necessary development dependencies:
# yum -y groupinstall development
# yum -y install zlib-devel
In Debian, we have to install gcc,
# aptitude -y install gcc make zlib1g-dev
To install Python 3.6, use the following commands,
# tar xJf Python-3.6.0.tar.xz
# cd Python-3.6.0
# make install
After the completion of installation, use the following command to determine the location of main binary:
# which python3
# python3 -V
The output will be like this:
root@debian:~# which python
root@debian:~# python3 -V
Python 3.6.0 (default, Mar 30 2017, 20:54:23
[GCC 4.9.2] on linux
To exit from the Python prompt, execute the below command:
We got a message look like this.
“Congratulations! Python 3.6 is now installed on your system”.
Python IDLE in Linux
The GUI-based tool for Python is Python IDLE.
Install the package named idle on Debian by using the following command.
# apt-get install idle
Install the package named python-tools on Centos.
# yum install python-tools
Run the following command to start the Python IDLE.
If you need any further help please do reach our support department at firstname.lastname@example.org.
You can skip to the end and leave a response. Pinging is currently not allowed.