![]() ![]() You may have a particular one you want as the default for users needing multiple versions of Python on their system. Now run an update in your terminal to reflect adding the nightly repositories.Įxample output: Python 3.11.0 Switch Default Python Versions Linux Mint 21.x Python nightly import command: echo 'deb jammy main' | sudo tee -a /etc/apt//python-nightly.list Linux Mint 20.x Python nightly import command: echo 'deb focal main' | sudo tee -a /etc/apt//python-nightly.list Given you have already imported the GPG key, you need to import the repository that matches your Linux Mint version you can import both stable and nightly PPA’s since the latest version available is always chosen, given 3.11 was recently released, the nightly will always be ahead in this case. I would only recommend using this if you are utilizing a development environment most users should use the stable repository. sudo apt install python3.11-minimal Optional – Enable Nightly Python 3.11 buildsįor developers, you may want to utilize the nightly builds to have the latest version. With the 3.11 PPA now imported, you can install Python by executing the following command.Īdditionally, you can install what is recommended as minimal extensions. sudo apt update Run installation command for Python 3.11 Linux Mint 21.x Python import command: echo 'deb jammy main' | sudo tee -a /etc/apt//python.list Linux Mint 20.x Python import command: echo 'deb focal main' | sudo tee -a /etc/apt//python.listīefore you continue, run an APT update to reflect the newly imported PPA. ![]() ![]() Remember, match the command to the version of Linux Mint you are utilizing, or the installation will likely fail with errors. With the GPG key now imported, you can import the LaunchPAD PPA. Sudo gpg -no-default-keyring -keyring /usr/share/keyrings/deadsnakes.gpg -keyserver -recv-keys F23C5A6CF475977595C89F51BA6932366A755776Įxample output: gpg: key BA6932366A755776: public key "Launchpad PPA for deadsnakes" imported ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |