- Cloud Native Python
- Manish Sethi
- 158字
- 2021-07-02 19:11:54
Using source code
You can download the source code from the GitHub repository and compile the software from the source, as follows:
- Before you begin, let's first install the dependencies of Git; execute the following commands as the root user to do so:
$ apt-get update -y $ apt-get install build-essential checkinstall libreadline-gplv2-
dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-
dev libc6-dev libbz2-dev -y
- Now, let's download Python (https://www.python.org) using the following command from Python's official website. You can also download the latest version in place, as specified:
$ cd /usr/local $ wget https://www.python.org/ftp/python/3.4.6/Python-3.4.6.tgz
- Now, let's extract the downloaded package with this command:
$ tar xzf Python-3.4.6.tgz
- Now we have to compile the source code. Use the following set of commands to do so:
$ cd python-3.4.6 $ sudo ./configure $ sudo make altinstall
- The preceding commands will install Python on your system at /usr/local. Use the following command to check the Python version:
$ python3 -V Python 3.4.6
推薦閱讀
- C程序設計簡明教程(第二版)
- Interactive Data Visualization with Python
- INSTANT Sencha Touch
- Python Geospatial Development(Second Edition)
- Hands-On JavaScript High Performance
- 3D少兒游戲編程(原書第2版)
- Unity 2D Game Development Cookbook
- 深入淺出React和Redux
- Citrix XenServer企業運維實戰
- Web性能實戰
- Mastering JavaScript
- Practical Maya Programming with Python
- Clojure Web Development Essentials
- Monitoring Docker
- Java核心技術速學版(第3版)