Install Python 3.9 on Linux from Source / Python 3.9 Install

Publicado em: 30 Abril 2020
no canal de: 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! :)


Nesta página do site você pode assistir ao vídeo on-line Install Python 3.9 on Linux from Source / Python 3.9 Install duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Exploring the IT World / Oleg Shpagin / WISEPLAT 30 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 11,984 vezes e gostou 223 espectadores. Boa visualização!