Différences entre versions de « Rasp-APT-ADAFRUIT-COM-ajouter »
(Page créée avec « {{Rasp-APT-ADAFRUIT-COM-NAV}} {{Rasp-APT-ADAFRUIT-COM-TRAILER}} ») |
|||
Ligne 1 : | Ligne 1 : | ||
{{Rasp-APT-ADAFRUIT-COM-NAV}} | {{Rasp-APT-ADAFRUIT-COM-NAV}} | ||
+ | |||
+ | == Ajouter le dépôt == | ||
+ | {{bloc-etroit|text=Adding the repository is as simple as running the following command from your Raspberry Pi.}} | ||
+ | |||
+ | curl -sLS https://apt.adafruit.com/add | sudo bash | ||
+ | |||
+ | {{bloc-etroit|text=If you would like to see what the script is doing, you can open it in a web browser before running it. | ||
+ | |||
+ | Warning: apt.adafruit.com contains a new kernel for the PiTFT, and currently the PiTFT kernel will install if you run an apt-get upgrade. This should not be a problem unless you have a custom kernel installed. We are working on resolving this issue, and you can monitor this GitHub issue for updates.}} | ||
+ | |||
+ | == Ajouter le dépôt manuellement == | ||
+ | |||
+ | If you would like to manually add the repository to your Raspberry Pi, you can start by adding the apt.adafruit.com repository URL to your /etc/apt/sources.list. | ||
+ | |||
+ | echo "deb http://apt.adafruit.com/raspbian/ wheezy main" | sudo tee --append /etc/apt/sources.list | ||
+ | |||
+ | Next, you can add the GPG key for apt.adafruit.com. | ||
+ | |||
+ | wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | sudo apt-key add - | ||
+ | |||
+ | Finally, you need to download the new package lists from the repos. | ||
+ | |||
+ | sudo apt-get update | ||
{{Rasp-APT-ADAFRUIT-COM-TRAILER}} | {{Rasp-APT-ADAFRUIT-COM-TRAILER}} |
Version du 21 mars 2015 à 21:53
Ajouter le dépôt
Adding the repository is as simple as running the following command from your Raspberry Pi.
curl -sLS https://apt.adafruit.com/add | sudo bash
If you would like to see what the script is doing, you can open it in a web browser before running it.
Warning: apt.adafruit.com contains a new kernel for the PiTFT, and currently the PiTFT kernel will install if you run an apt-get upgrade. This should not be a problem unless you have a custom kernel installed. We are working on resolving this issue, and you can monitor this GitHub issue for updates.
Ajouter le dépôt manuellement
If you would like to manually add the repository to your Raspberry Pi, you can start by adding the apt.adafruit.com repository URL to your /etc/apt/sources.list.
echo "deb http://apt.adafruit.com/raspbian/ wheezy main" | sudo tee --append /etc/apt/sources.list
Next, you can add the GPG key for apt.adafruit.com.
wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | sudo apt-key add -
Finally, you need to download the new package lists from the repos.
sudo apt-get update
Source: The Adafruit Raspberry Pi Package Repository
Créé par Tod Treece pour AdaFruit Industries.
Traduction réalisée par Meurisse D pour MCHobby.be.
Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : « Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.
L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.
Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com