IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration système Discussion :

Desintallation Python3.10 sur Debian


Sujet :

Administration système

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Juin 2010
    Messages
    33
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2010
    Messages : 33
    Par défaut Desintallation Python3.10 sur Debian
    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

  2. #2
    Expert confirmé Avatar de disedorgue
    Homme Profil pro
    Ingénieur intégration
    Inscrit en
    Décembre 2012
    Messages
    4 376
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur intégration
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Décembre 2012
    Messages : 4 376
    Par défaut
    Bonjour,

    A vérifier, mais si c'est une compilation que tu as fait, puis un make install, je pense que tu peux te baser sur la date de creation des fichiers pour savoir ce que tu peux supprimer.

    Et avant de faire une suppression définitive, tu notes l'endroit où sont les fichiers que tu veux effacer, puis, un fois que le recensement est fait, tu déplaces ces fichiers dans un répertoire à part, comme ça en cas de problème, tu pourras toujours les remettre à leur place.

    Et si tout va bien, là tu peux les effacer définitivement.

Discussions similaires

  1. PB lancement PostgreSQL sur Debian Sarge
    Par Invité dans le forum PostgreSQL
    Réponses: 5
    Dernier message: 24/11/2005, 19h15
  2. Comment installer le modem usb sagem fast sur debian ?
    Par caper dans le forum Matériel
    Réponses: 1
    Dernier message: 18/10/2005, 12h10
  3. Affichage pourri sur DEBIAN avec ATI RADEON 7000
    Par jibouze dans le forum Matériel
    Réponses: 2
    Dernier message: 07/04/2005, 00h49
  4. Montage du CD-ROM à l'installation sur Debian Sarge
    Par Bidouille dans le forum Administration système
    Réponses: 9
    Dernier message: 24/09/2004, 20h43
  5. Montage sur Debian de AFPS sous UNIX
    Par Harbaingan dans le forum Administration système
    Réponses: 2
    Dernier message: 14/01/2004, 22h03

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo