In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
Today, the editor will share with you how to install the Python3.6 version in Linux. The content is detailed and the logic is clear. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article.
Install python 3.6in linux
Before installing python in centos 7, make sure that you already have all the necessary development dependencies in your system:
# yum-y groupinstall development# yum-y install zlib-devel
In debian, we need to install gcc, make, and zlib compression / decompression libraries:
# aptitude-y install gcc make zlib1g-dev
Run the following command to install python 3.6:
# wget https://www.python.org/ftp/python/3.6.0/python-3.6.0.tar.xz# tar xjf python-3.6.0.tar.xz# cd python-3.6.0#. / configure# make & & make install
Now, relax, or have a sandwich if you're hungry, because it may take some time. After the installation is complete, use the which command to view the location of the main binaries:
# which python3# python3-v
The output of the above command should be similar to this:
To exit the python prompt, simply type:
Quit () # or exit ()
Then press enter.
Congratulations! Python 3.6is already installed on your system.
Install python idle in linux
Python idle is a gui-based python tool. If you want to install python idle, install a package called idle (debian) or python-tools (centos):
# apt-get install idle [on debian] # yum install python-tools [on centos]
Enter the following command to start python idle:
# idle above is all the content of the article "how to install Python3.6 in Linux". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.