Next, install the software-properties-common package. But first, refresh the Ubuntu package lists as follows. In this guide, we will walk you through the installation of Python 3.11 on Ubuntu 20.04 Step 1: Update the system & Install dependenciesĪs we set sail, the first step is to install dependencies that will be required during the installation of Python 3.11. Python 3.11 was released a few months ago this year, October, 2022 and provides a wide array of improvements such as faster speed of execution, better error diagnostics, and improved modules to mention just a few. It’s used in a wide selection of areas including data science, machine learning, rapid prototyping, and creating web applications. If you have questions, use the comment form below to reach us.Python is regarded as one of most popular, multi-purpose and beginner-friendly programming languages. That’s all! In this short article, we have explained how to install Python 3.11 in Ubuntu via the apt package manager. $ sudo update-alternatives -config python3 $ sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.11 2 $ sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.10 1 If you’ve installed multiple versions of Python in your Ubuntu system, and you want to set only one version as default, then you need to perform some additional steps as shown. To exit the Python interpreter, type the following command and press Enter. Type "help", "copyright", "credits" or "license" for more information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |