Install Python 3.9 on Linux from Source / Python 3.9 Install

Veröffentlicht am: 30 April 2020
auf dem Kanal: 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! :)


Auf dieser Seite können Sie das Online-Video Install Python 3.9 on Linux from Source / Python 3.9 Install mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Exploring the IT World / Oleg Shpagin / WISEPLAT 30 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 11,984 Mal angesehen und es wurde von 223 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!