- Cloud Native Python
- Manish Sethi
- 91字
- 2021-07-02 19:11:54
Using the APT package management tools
You can use the APT package management tools to update your local package index. Then, you can download and install the latest Python using the following commands as a root user:
$ apt-get update -y $ apt-get install python3 -y
The following packages will automatically be downloaded and installed, as these are the prerequisites for Python 3 installation:
libpython3-dev libpython3.4 libpython3.4-dev python3-chardet
python3-colorama python3-dev python3-distlib python3-html5lib
python3-requests python3-six python3-urllib3 python3-wheel python3.4-de
Once the prerequisites are installed, it will download and install Python on your system.