![]() Sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.6 1 ![]() Sudo apt-get install python3.8 Step 3: Add Python 3.6 & Python 3.8 to update-alternativesĪdd both old and new versions of Python to Update Alternatives. Install Python 3.8 by using the below command : Step 2: Install the Python 3.8 package using apt-get Verify the updated Python packages list using this command.Īs seen in the image above, Now we have Python 3.8 available for installation. Update the package list using the below command. Sudo add-apt-repository ppa:deadsnakes/ppa On launchpad repository named deadsnakes is available for Python Packages.Īdd the deadsnakes repository using the below commands. So, we have to add an additional repository. ![]() Latest Python 3.8 not available in Ubuntu’s default repositories.
0 Comments
Leave a Reply. |