- 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
推薦閱讀
- Advanced Machine Learning with Python
- JMeter 性能測試實戰(第2版)
- 編程珠璣(續)
- Practical DevOps
- PHP 編程從入門到實踐
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- Python數據結構與算法(視頻教學版)
- Asynchronous Android Programming(Second Edition)
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Multithreading in C# 5.0 Cookbook
- 零基礎學HTML+CSS第2版
- PowerDesigner 16 從入門到精通
- 用Python動手學統計學
- 美麗洞察力:從化妝品行業看顧客需求洞察
- TypeScript High Performance