Bonjour à tous,

J'ai installé Python 3.10 sur ma Debian Buster, à partir des sources que j'ai compilée. (en m'appuyant là dessus: https://computingforgeeks.com/how-to...latest-debian/)
Cette nouvelle version s'est retrouvée installée à coté des versions standards 3.7 et 2.7.

Problème : Cette version 3.10 me met le bazard et je voudrais donc la désintaller
Sauf que la procédure d'installation ne permet pas de faire une désintallation (pas de Make unsinstall...)
Je dois donc faire le boulot à la main ... mais j'ai peur de faire des cochonneries.

Est-ce que certains parmis vous sauraient me donner des orientations et des conseils pour le faire sans risque ?

Merci


J'ai déjà identifié des bouts un peu partout, mais je ne n'ose pas supprimer des trucs :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Dans /usr/lib : 
	drwxr-xr-x  27 root root    20480 mars  25  2020 python2.7
	drwxr-xr-x   3 root root     4096 mars  25  2020 python3
	drwxr-xr-x  32 root root    20480 avril  1  2021 python3.7
 
Dans /usr/bin :
	-rwxr-xr-x 1 root root    1056 mars   4  2019 dh_python2
	lrwxrwxrwx 1 root root       9 mars   4  2019 python2 -> python2.7
	-rwxr-xr-x 1 root root 3689352 oct.  11  2019 python2.7
	lrwxrwxrwx 1 root root      33 oct.  11  2019 python2.7-config -> x86_64-linux-gnu-python2.7-config
	lrwxrwxrwx 1 root root      16 mars   4  2019 python2-config -> python2.7-config
	lrwxrwxrwx 1 root root      14 mars   4  2019 python-config -> python2-config
	-rwxr-xr-x 1 root root    2954 oct.  11  2019 x86_64-linux-gnu-python2.7-config
	lrwxrwxrwx 1 root root      33 mars   4  2019 x86_64-linux-gnu-python2-config -> x86_64-linux-gnu-python2.7-config
	lrwxrwxrwx 1 root root      31 mars   4  2019 x86_64-linux-gnu-python-config -> x86_64-linux-gnu-python2-config
 
	lrwxrwxrwx 1 root root       9 mars  26  2019 python3 -> python3.7
	-rwxr-xr-x 2 root root 4877888 janv. 22  2021 python3.7
	lrwxrwxrwx 1 root root      33 janv. 22  2021 python3.7-config -> x86_64-linux-gnu-python3.7-config
	-rwxr-xr-x 2 root root 4877888 janv. 22  2021 python3.7m
	lrwxrwxrwx 1 root root      34 janv. 22  2021 python3.7m-config -> x86_64-linux-gnu-python3.7m-config
	lrwxrwxrwx 1 root root      16 mars  26  2019 python3-config -> python3.7-config
	lrwxrwxrwx 1 root root      10 mars  26  2019 python3m -> python3.7m
	lrwxrwxrwx 1 root root      17 mars  26  2019 python3m-config -> python3.7m-config
	lrwxrwxrwx 1 root root      10 févr. 10  2019 uwsgi_python37 -> uwsgi-core
	lrwxrwxrwx 1 root root      34 janv. 22  2021 x86_64-linux-gnu-python3.7-config -> x86_64-linux-gnu-python3.7m-config
	-rwxr-xr-x 1 root root    3274 janv. 22  2021 x86_64-linux-gnu-python3.7m-config
	lrwxrwxrwx 1 root root      33 mars  26  2019 x86_64-linux-gnu-python3-config -> x86_64-linux-gnu-python3.7-config
	lrwxrwxrwx 1 root root      34 mars  26  2019 x86_64-linux-gnu-python3m-config -> x86_64-linux-gnu-python3.7m-config
 
	-rwxr-xr-x 1 root root     384 janv. 30  2019 python3-futurize
	-rwxr-xr-x 1 root root     398 sept.  7  2018 python3-jsonschema
	lrwxrwxrwx 1 root root      29 mars   8  2019 dh_python3 -> ../share/dh-python/dh_python3
	-rwxr-xr-x 1 root root     377 août  28  2018 pybabel-python3
	-rwxr-xr-x 1 root root     388 janv. 30  2019 python3-pasteurize
 
	lrwxrwxrwx 1 root root      24 oct.  10 20:18 python -> /etc/alternatives/python
 
	-rwxr-xr-x 1 root root 302 mars  30  2019 pip
	-rwxr-xr-x 1 root root 302 mars  30  2019 pip2
	-rwxr-xr-x 1 root root 303 mars  30  2019 pip3
 
Dans /usr/local/bin : 
	-rwxr-xr-x 1 root root 22677192 oct.  10 20:15 python3.10
	-rwxr-xr-x 1 root root     3090 oct.  10 20:17 python3.10-config
	-rwxr-xr-x 1 root root      220 oct.  10 20:36 pip
	-rwxr-xr-x 1 root root      220 oct.  10 20:36 pip3
	-rwxr-xr-x 1 root root      220 oct.  10 20:36 pip3.10
 
	-rwxr-xr-x 1 root root 220 oct.  10 20:36 pip
	-rwxr-xr-x 1 root root 220 oct.  10 20:36 pip3
	-rwxr-xr-x 1 root root 220 oct.  10 20:36 pip3.10