- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 115字
- 2025-04-04 19:20:06
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:
- Extract the compressed file using the tar -xvzf python_versionx.x command.
- Browse the directory of the compressed file as shown in the screenshot:

- 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
- Use the command as shown in screenshot to ensure that Python is running:
