Ligne 2 : |
Ligne 2 : |
| | | |
| == Téléchargement et installation == | | == Téléchargement et installation == |
− | {{bloc-etroit|text=WiringPi is maintained under GIT for ease of change tracking, however there is a Plan B if you’re unable to use GIT for whatever reasons (usually your firewall will be blocking you, so do check that first!) | + | {{bloc-etroit|text=WiringPi est maintenu dans un GIT pour facilité le suivit des modifications. S'il est impossible d'utiliser le GIT pour raison technique (exemple: Firewall qui bloque l'accès) alors vous pouvez utiliser le Plan B ci-dessous. |
| | | |
− | If you do not have GIT installed, then under any of the Debian releases (e.g. Raspbian), you can install it with:}}
| + | Si GIT n'est pas installé, pour pouvez l'installer sur toutes les releases Debian (y compris Raspbian) avec la commande suivante:}} |
| | | |
| <nowiki>sudo apt-get install git-core</nowiki> | | <nowiki>sudo apt-get install git-core</nowiki> |
| | | |
− | If you get any errors here, make sure your Pi is up to date with the latest versions of Raspbian:
| + | Si vous rencontrez une erreur sur cette étape, vous devrez alors faire une mise à jour de Raspbian à l'aide de la commande suivante: |
| | | |
| <nowiki>sudo apt-get update | | <nowiki>sudo apt-get update |
| sudo apt-get upgrade</nowiki> | | sudo apt-get upgrade</nowiki> |
| | | |
− | To obtain WiringPi using GIT:
| + | Vous pouvez obtenir WiringPi en utilisant GIT: |
| | | |
| <nowiki>git clone git://git.drogon.net/wiringPi</nowiki> | | <nowiki>git clone git://git.drogon.net/wiringPi</nowiki> |
| | | |
− | If you have already used the clone operation for the first time, then
| + | Si vous avez déjà utilisé une opération "clone" lors d'une précédente installation, vous pouvez exécuter la commande suivante: |
| | | |
| <nowiki>cd wiringPi | | <nowiki>cd wiringPi |
| git pull origin</nowiki> | | git pull origin</nowiki> |
| | | |
− | Will fetch an updated version then you can re-run the build script below.
| + | Qui rapatrie une version mise-à-jour que vous pouvez finalement recompiler à l'aide du script ci-dessous. |
| | | |
− | To build/install there is a new simplified script:
| + | Vous trouverez un script simplifié pour compiler/installer WiringPi: |
| | | |
| <nowiki>cd wiringPi | | <nowiki>cd wiringPi |
| ./build</nowiki> | | ./build</nowiki> |
| | | |
− | The new build script will compile and install it all for you – it does use the sudo command at one point, so you may wish to inspect the script before running it.
| + | Le nouveau script compile et install tout ce le nécessaire pour vous – ce script utilise la commande "sudo", vous pourriez alors vouloir inspecter le contenu du script avant de l'exécuter. |
| | | |
| == Plan B == | | == Plan B == |