官术网_书友最值得收藏!

  • Learn Python in 7 Days
  • Mohit Bhaskar N. Das
  • 115字
  • 2021-07-09 20:40:19

Installation on Linux platform

These days most of the Linux-based systems come preloaded with Python, so in most cases, you do not need to install it separately. However, if you do not find your desired version of Python on the Linux platform, you can download your desired version for a particular Linux platform from the site https://www.python.org/downloads/source/. Perform the following steps:

  1. Extract the compressed file using the tar -xvzf python_versionx.x command.
  2. Browse the directory of the compressed file as shown in the screenshot:
  1. Run the following commands:
      [root@localhost Python-2.7.12]# ./configure
[root@localhost Python-2.7.12]# make
[root@localhost Python-2.7.12]# make install
  1. Use the command as shown in screenshot to ensure that Python is running:
主站蜘蛛池模板: 西宁市| 夏邑县| 黄浦区| 筠连县| 望谟县| 寿宁县| 西盟| 庆阳市| 察隅县| 汝城县| 庄河市| 临武县| 札达县| 来凤县| 陈巴尔虎旗| 长顺县| 丰宁| 常熟市| 许昌县| 义马市| 安陆市| 中方县| 池州市| 兴山县| 唐河县| 宿州市| 肃宁县| 东宁县| 葫芦岛市| 无极县| 木里| 乌鲁木齐县| 林口县| 麦盖提县| 马公市| 吉首市| 交口县| 元阳县| 枣庄市| 海伦市| 轮台县|