Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 476  / 2 Years ago, tue, december 7, 2021, 2:16:09

Ubuntu (18.0.4) newbie here. I ran


sudo apt install python3.10

in the terminal, only to discover, that python3 was already installed (next to the standard python 2.7). If I now search this most current python3.10 installation via


apt list "python3.*",

I do not find it (only some python3.8 package and older ones). I wanted to keep this installation as clean as possible, but now I do not know where this python installation went. Can I track it and remove it? Do I have multiple versions now? How do I get rid of them?


More From » apt

 Answers
7

Your system should only have one version of python (2.7) and one version of python3 (3.6) installed for Ubuntu 18. If you wish to install additional versions, you can do it outside of apt by manually downloading it and installing it in its own directory.


There are also tools like pyenv that allow you to manage this. It won't affect the other installations or software that depends on those being there. Different versions can be 'activated' in the current terminal or for specific users.


[#1009] Wednesday, December 8, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
initiallartebeest

Total Points: 24
Total Questions: 118
Total Answers: 105

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;