To do this: $ sudo apt-get purge wiringpi If you installed it from source, then you know what you’re doing – carry on – but if it’s installed as a package, you will need to remove the package first. The next step is to work out if it’s installed via a standard package or from source. If you get something, then you have it already installed. To install…įirst check that wiringPi is not already installed. To view the wiringPi sources, then go to:Īnd select the wiringPi link. There are many forks that you may find there, but they are not the original version maintained by myself. 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!) To update or install on a Raspbian-Lite system: sudo apt-get install wiringpi If you are trying to install it on anything else, then good luck. THIS PAGE is the definitive and proper way to do it.Īlso note: WiringPi is developed and tested on a Raspberry Pi ONLY. Please DO NOT try to follow any installation instructions you may be given anywhere else. Old, unnecessary packages are removed after the system update with the following commands: $ sudo apt-get autoremoveįinally the Raspberry Pi has to be restarted.WiringPi is PRE-INSTALLED with standard Raspbian systems. If you have made changes to individual configuration files yourself in the past, you should press D (display differences) or N (not replace) depending on the file, otherwise Y (to replace the old configuration file with a new one). Therefore, Raspbian asks several times if you want to replace certain configuration files with a new one. A certain amount of attention is required during the update process, as some configuration files are also updated. The upgrade may take a while depending on your Internet connection. The upgrade process is carried out in two steps: First of all, there is a minimal upgrade to avoid conflicts and then a complete upgrade. Now we are ready to start the upgrade: $ sudo apt-get upgrade The new package lists must then be updated and imported: $ sudo apt-get update $ sudo sed -i /deb/s/jessie/stretch/g /etc/apt//*.list In order not to overlook any position, we simply let the replacement be done by the following command: $ sudo sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list To do this, only the word “jessie” has to be replaced by “stretch”. The following command displays all packages that have the status semi-installed or configuration failed, and those with error status: $ sudo dpkg -auditīefore upgrading, the Raspbian should be completely updated: $ sudo apt-get updateįor upgrading to the new Raspbian version, the package lists must be adapted to the “Stretch” release. You must also check that all packages are in a state that is suitable for upgrade. Therefore you should check the available and used disk space usage first: $ df -h In order to update to Raspbian Stretch, there must be enough space on the SD card. The upgrade process takes some time and therefore requires some patience. If you don’t want to wait long and want to benefit directly from new kernel and software versions, you can upgrade to Raspbian “Stretch” in a few easy steps. Since August 17,2017 the new Rasbian version “Stretch”based on Debian 9 is available for download.
0 Comments
Leave a Reply. |