

If you want to use sudo make install have in mind that your Linux Mint may have errors. Note: this will install Python 3.7 as python3.7 and will not break or interfere with your system installation. Then install the requirements and related libraries by: sudo apt-get install build-essential checkinstall zlib1g zlib1g-dev opensslįinally go into the Python newly extracted folder and install it: cd Python-3.7.0 Then go to the download folder and verify the Python download by: cd ~/DownloadsĬopy the Python tar file into: /usr/src by: sudo cp ~/Downloads/Python-3.7.0.tar.xz /usr/src/Įxtract the archive with: sudo tar -xf Python-3.7.0.tar.xz If you have error with last command you can check: GPG errors In this tutorial we will work with: Python 3.7.0 and the tar.gz file: XZ compressed source tarball

Select the version(or any other that you want): Python 3.7.0 released on. In order to download the latest python go here: Download the latest source releaseĪt this page you can check section: OpenPGP Public Keys and select public key. 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 build-essential checkinstall zlib1g zlib1g-dev openssl Sudo cp ~/Desktop/Python-3.7.0.tar.xz /usr/src/

Ubuntu install latest python and list all python versionsīelow you can see all user commands(the details of the steps are below): gpg -recv-key AA65421D
