In this tutorial I show how to build Python from source code. This method can be used to install the latest version of Python and get all the new features.
-----------------------------
python --version
python3 --version
Before installing Python make sure you have updated your system to the latest version. Install newest updates via "Update manager" if your system has it. If not, run those commands:
sudo apt-get update
sudo apt-get dist-upgrade
It's necessary to reboot the computer after you update the system.
In the following commands don't forget to change 3.7.0 to the version that you downloaded from python.org!
sudo apt-get install dirmngr
gpg --recv-key AA65421D
cd ~/Desktop
gpg --verify Python-3.7.0.tar.xz.asc
sudo cp ~/Desktop/Python-3.7.0.tar.xz /usr/src/
cd /usr/src
sudo tar -xf Python-3.7.0.tar.xz
sudo apt-get install build-essential zlib1g zlib1g-dev openssl
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
sudo apt-get install blt-dev docutils-common libbluetooth-dev libdb-dev libdb5.3-dev libffi-dev libmpdec-dev libxss-dev net-tools python-babel-localedata python3-alabaster python3-babel python3-docutils python3-imagesize python3-jinja2 python3-markupsafe python3-pygments python3-roman python3-sphinx python3-tz sphinx-common tcl-dev tcl8.6-dev time tk8.6-blt2.5 tk8.6-dev x11proto-scrnsaver-dev xvfb
cd Python-3.7.0
sudo ./configure
sudo make altinstall
or (not recommended!):
sudo make install
sudo python3.7 -m pip install requests
Please support my work on / neoncipher
----------------------------
PYPL PopularitY of Programming Language chart was created by Pierre Carbonnelle
http://pypl.github.io/PYPL.html?count...
and licensed under a Creative Commons Attribution 3.0 Unported License.
https://creativecommons.org/licenses/...
In questa pagina del sito puoi guardare il video online How to Install the Latest Python Version on Linux Mint, Debian and Ubuntu della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Neon Cipher 28 dicembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 70,495 volte e gli è piaciuto 668 spettatori. Buona visione!