« Linux : Installer un paquet en non interactive » : différence entre les versions
De www.yakakliker.org
(Page créée avec « == Installer un paquet sans intervention humaine (ex -y) == Installer un paquet dans un script peut parfois poser problème si le shell demande une intervention quelconque (un Yes, ou tout autre intervention humaine) ==== Solution ==== <syntaxhighlight lang="bash"> sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install [packagename] </syntaxhighlight> ») |
Aucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 6 : | Ligne 6 : | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install [packagename] | sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install [packagename] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Catégorie:Linux]] | |||
[[Catégorie:Scripts]] | |||
<html> | |||
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script> | |||
<script> | |||
kofiWidgetOverlay.draw('yakakliker', { | |||
'type': 'floating-chat', | |||
'floating-chat.donateButton.text': 'Café', | |||
'floating-chat.donateButton.background-color': '#00b9fe', | |||
'floating-chat.donateButton.text-color': '#fff' | |||
}); | |||
</script> | |||
</html> | |||
<html> | |||
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a> | |||
</html> |