• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Python V 3.6.5 on Centos 7

{{postValue.id}}

To install Python V 3.6.5 on Centos 7

Python is one of the most popular programming languages in the world, with its simple and easy to learn syntax Python is a great choice for beginners and experienced developers. In this tutorial, we will cover the installation of python on Centos 7.

Installation

Install the repository of python run the following command.

[root@linuxhelp ~]# yum install https://centos7.iuscommunity.org/ius-release.rpm
Loaded plugins: fastestmirror, langpacks
ius-release.rpm                                     | 8.1 kB  00:00:00     
Examining /var/tmp/yum-root-cPj5SA/ius-release.rpm: ius-release-1.0-15.ius.centos7.noarch
Marking /var/tmp/yum-root-cPj5SA/ius-release.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ius-release.noarch 0:1.0-15.ius.centos7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
===============================================================================================================================================
 Package                          Arch                        Version                                  Repository                         Size
===============================================================================================================================================
.
.
.
stalling : ius-release-1.0-15.ius.centos7.noarch                            1/1 
  Verifying  : ius-release-1.0-15.ius.centos7.noarch                      1/1 
Installed:
  ius-release.noarch 0:1.0-15.ius.centos7                                                        
Complete!

Now install the python3.6 as follows.

[root@linuxhelp ~]#  yum install python36u
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.dhakacom.com
 * epel: mirror.nes.co.id
 * extras: mirror.dhakacom.com
 * ius: ftp.acc.umu.se
 * remi-php70: mirror.upb.edu.co
 * remi-safe: mirror.upb.edu.co
 * updates: mirror.dhakacom.com
.
.
.
  Verifying  : python36u-3.6.5-1.ius.centos7.x86_64              1/2 
  Verifying  : python36u-libs-3.6.5-1.ius.centos7.x86_64        2/2 
Installed:
  python36u.x86_64 0:3.6.5-1.ius.centos7 
Dependency Installed:
  python36u-libs.x86_64 0:3.6.5-1.ius.centos7
Complete!

Set python 3.6.5 as default python version.

[root@linuxhelp ~]# alias python='/usr/bin/python3.6'

Check python version.

[root@linuxhelp ~]# python --version
Python 3.6.5

With this, the method to install the Python 3.6.5 on centos 7 comes to an end.

Tags:
elijah
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

what is phython?

A

Python is one of the most popular programming languages in the world, with its simple and easy to learn syntax Python is a great choice for beginners and experienced developers.

Q

which command to install the repo for python in centos?

A

Install the repository of python run the following command.
# yum install https://centos7.iuscommunity.org/ius-release.rpm

Q

which command to check the python version?

A

Check python version by below command
# python --version

Q

How is memory managed in Python?

A

Memory management in python is managed by Python private heap space. All Python objects and data structures are located in a private heap. The programmer does not have access to this private heap. The python interpreter takes care of this instead.

Q

Can I delete Python?

A

That depends on where Python came from.

If someone installed it deliberately, you can remove it without hurting anything. On Windows, use the Add/Remove Programs icon in the Control Panel.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.