Updating your software

If this is the first time you've booted your BeagleBone Black, or if you've just flashed a new image, it's best to start by ensuring your installed software packages are all up to date. You can do so using Debian's apt package manager:

# apt-get update && apt-get upgrade

This process might take a few minutes.

Next, use the pip Python package manager to update to the latest versions of the PyBBIO and Adafruit_BBIO libraries:

# pip install --upgrade PyBBIO Adafruit_BBIO

As both libraries are currently in active development, it's worth running this command from time to time to make sure you have all the latest features.

Get Learning BeagleBone Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.