I need to install an older version of Python to get some software to work. 3.9 is the newest version I can use.
Someone else had this issue and the answer was:
sudo add-apt-repository universe
sudo apt update
sudo apt install python3.9
However this does not work and just gives an error that the 3.9 package can not be found.
So how can I remove 3.10 and get 3.9 instead? Thanks.
update-alternatives
you can certainly start inadvertently shutting down your system with the wrong Python, but simply installing another Python binary under it's named path will not allow it to engage with your system by itself, and makes it available for creating virtual environments with it at your option. This is in fact exactly what you link in your second comment suggests. – NeilG Jun 20 '23 at 08:03