No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Vous devez être membre et vous identifier pour publier un article.
Les visiteurs peuvent toutefois commenter chaque article par une réponse.

Installer proprement les packages

Astuces de l’Infobrol (Linux)Article publié le 10/01/2005 16:54:12


Quand vous installez un package, vous pouvez l'installer de manière à pouvoir tout restaurer si il ne vous convient pas:

  1. Sauvegarder l'état actuel des paquets

    $ dpkg --get-selections › pre_install_list



  2. Installation du paquet désiré

    # apt-get install paquet_a_tester



  3. Sauvegarde du nouvel état des paquets

    $ dpkg --get-selections › post_install_list



Vous ne souhaitez pas garder ce paquet ? Qu'à cela ne tienne, deux petites commandes suffisent !

  1. Désinstallation des paquets ajoutés

    # apt-get --purge remove $( diff -u --initial-tab pre_install_list post_install_list | grep '^+[^+]' | cut -f 2 )


  2. Réinstallation des paquets enlevés

    # apt-get install $( diff -u --initial-tab pre_install_list post_install_list | grep '^-[^-]' | cut -f 2 )



Avatar :: Akira Sato Un article de Akira Sato

Source : indéterminée


Sélection, tri et recherche d'articles
FILTRER :
TRIER :1er critère : 2e critère :
CHERCHER : Dans les titres Dans le contenu


[Afficher les liens en fonction des critères du formulaire ci-dessus]

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 13/09/2004, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/ast-rf-161.html/

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.