4

Recently, I updated my ubuntu version to 22.10. I researched online to install python old version in ubuntu 22.10.

sudo add-apt-repository ppa:deadsnakes/ppa This command does not work 22.10. How can I install old python version? Why I am going to install python old version is, already installed pgadmin is not working in Ubuntu 22.10 and solution is to install old python version according to my research. It will be better how pgadmin can work again.

Yery cs
  • 153

1 Answers1

5

You may find it useful to use pyenv to manage different python versions on one host.

Basic GitHub checkout installation method in README section works pretty well for linux distributions.

After that, you will be able to install different python versions with pyenv install <version>, set some local python interpreter for the directory with pyenv local <version>, global one with pyenv global <version>