Install Python 3.9 on Linux from Source / Python 3.9 Install

Publié le: 30 avril 2020
sur la chaîne: Exploring the IT World / Oleg Shpagin / WISEPLAT
11,984
223

Hello friends! In this lesson, we will compile Python 3.9.0 alpha 6 on Linux (Ubuntu) and run a small code on it. 😊 Building Python from source takes quite a long time, in the end, we will install Python 3.9 on Linux from source code.

✔ Learn how to compile Python from source code.
✔ Learn how to create copies of virtual machines.
✔ Learn how to connect to a virtual machine via Putty.

❗️❗️❗️ Compiling Python from source files allows you to get the latest version.

Where to find us ►

✔ Support the project: https://wiseplat.org/donat

✔ Join the VK group - https://vk.com/wiseplat 🚀

✔ Subscribe https://zen.yandex.ru/id/5e9a61242427...

Here are the commands for building from sources:

✅ You need to install several libraries to compile the Python source code:
sudo apt install build-essential checkinstall
sudo apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
✅ To install, we must download the Python sources from github:
sudo wget https://github.com/python/cpython/arc...
✅ Then you need to unpack it:
sudo tar xzf v3.9.0a6.tar.gz
✅ To compile Python source code on Linux, use the commands:
cd cpython-3.9.0a6
sudo ./configure --enable-optimizations
sudo make
✅ Now we can run our compiled Python 3.8.2 file from this folder
./python

#pythonlessons #pythonlessons #python #programming #forbeginners
Lessons from #OlegShpagin 👨🏼💻

Like if you liked the video 👍
►► Subscribe to the channel!

✅ Are you starting to program? – Repeat everything we show in the training video. Then you will consolidate the material faster and will be able to start programming in Python effectively.👍

Watch our training video lessons and learn Python faster than anyone else! :)


Sur cette page du site, vous pouvez voir la vidéo en ligne Install Python 3.9 on Linux from Source / Python 3.9 Install durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Exploring the IT World / Oleg Shpagin / WISEPLAT 30 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 11,984 fois et il a aimé 223 téléspectateurs. Bon visionnage!