My Personal Wiki

La théorie, c'est quand on sait tout et que rien ne fonctionne.... La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.

Outils pour utilisateurs

Outils du site


linux:commande:shell:apt

Aptitude Management Command


Les commandes

 apt-get update             ->  apt update
 apt-get upgrade            ->  apt upgrade
 apt-get dist-upgrade       ->  apt full-upgrade
 apt-get install paquet    ->  apt install paquet
 apt-get remove paquet     ->  apt remove paquet
 apt-get autoremove         ->  apt autoremove
 apt-cache search chaîne    ->  apt search chaîne
 apt-cache policy paquet   ->  apt list -a paquet
 apt-cache show paquet     ->  apt show paquet
 apt-cache showpkg paquet  ->  apt show -a paquet

Upgrade only 1 packet

Mettre à jour seulement un paquet spécifique !

apt-get --only-upgrade install thunderbird

Block maj packet

sudo apt-mark hold NOM_DU_PAQUET

UnBlock maj packet

sudo apt-mark unhold NOM_DU_PAQUET

linux/commande/shell/apt.txt · Dernière modification : de sylvain

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki