The dev team for Ubuntu on the Raspberry Pi shared a blog post this week detailing key new features in the latest update for Ubuntu 21.04. The most recent version of Ubuntu is confirmed to officially include enhanced GPIO support on the Raspberry Pi via a new Python library.
The new Python library is known as LGPIO and it replaces RPi.GPIO which no longer works correctly with Linux Kernel 5.11. If you're using Ubuntu 21.04, all you need to do is install the LGPIO package to get started. By using LGPIO. The new 21.04 update is optimized to support the GPIO as before by using the new Python library. Controlling components such as LEDs or servos is completely restored and makers again have full control over the GPIO with Ubuntu.
If you want to use the new LGPIO library yourself, check out the tutorial published by the Ubuntu team for detailed instructions. Read more about the latest update on the official Ubuntu blog and maybe brainstorm some new project ideas along the way.
Stay on the Cutting Edge
Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.
Ash Hill is a Freelance News and Features Writer at Tom's Hardware US. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting.