![]() Now, run the following command to extract the Python Source Files: tar -xvf Python-3.11.1.tgzĪfter extracting Python, run the following command to configure Python: cd Python-3.11.1 Now, download the required Python package with the following command: wget sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev ![]() Run the following command to verify the availability of the default Python3: python3 -version How to Uninstall Python From Ubuntu 22.04 LTS? sudo apt remove python3 How to Install a Different Version of Python From Source On Ubuntu 22.04 LTS?įirst, run the following command to install the required dependencies on Ubuntu. This package redirects Python to Python3 by creating a symbolic link of Python3 for Python. Run the following command to install “ python-is-python3” package on Ubuntu 22.04 LTS. To check the installed version of “ python3”, run the following command: python3 Install python-is-python3 On Ubuntu 22.04 LTS ![]() Run the following to check if Python3 is installed as Python3 comes by default with Ubuntu 22.04. Run the following command to check whether python is installed on Ubuntu or not: python How To Install Python On Ubuntu 22.04 LTS In this tutorial, we will show you the easy way to install Python on Ubuntu 22.04 LTS. How to Install Python on Ubuntu 22.04 LTS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |