Install Python 3.9 on Linux from Source / Python 3.9 Install

Published: 30 April 2020
on channel: 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! :)


On this page of the site you can watch the video online Install Python 3.9 on Linux from Source / Python 3.9 Install with a duration of hours minute second in good quality, which was uploaded by the user Exploring the IT World / Oleg Shpagin / WISEPLAT 30 April 2020, share the link with friends and acquaintances, this video has already been watched 11,984 times on youtube and it was liked by 223 viewers. Enjoy your viewing!