In this tutorial, we are going to show you how to install the Widevine DRM library to the Raspberry Pi.
If you have ever tried to load Netflix, Amazon Prime, HBO, Spotify, or the many other streaming services on your Raspberry Pi, you will find that they fail to function.
This is because the Raspberry Pi does not come with the Widevine DRM software installed by default.
Widevine is a DRM package that is incredibly popular with streaming providers as it allows them to protect their streamed content.
By following this guide, you will learn how easy it is to install the Widevine DRM software to your Raspberry Pi.
After installing this package, you will be able to view streaming services like Netflix, Disney Plus, Amazon Prime, and HBO on your Raspberry Pi.
You won’t even have to install additional software. All of these services will be able to be watched within a web browser like Chromium.
Best of all, with the Raspberry Pi having proper support for the Widevine DRM library, you should be able to use these streaming services with little to no issues.
Below is a list of the equipment we used when setting up Widevine on the Raspberry Pi.
Installing Widevine to the Raspberry Pi
Installing the Widevine DRM package to the Raspberry Pi is a straightforward process
This package will allow the Raspberry Pi to stream media from services like Netflix, Disney Plus, and Spotify.
Please note that this package is only available on Raspberry Pi OS Buster or newer. If you are using an old release of the OS, you can check out our guide on upgrading to Buster.
1. Before you can install this package, you should update the operating system.
You can update both the package list and the installed packages by running the following two commands.
sudo apt update sudo apt full-upgrade
Updating your Raspberry Pi’s operating system helps give us a clean base to install Widevine to.
2. Once your Raspberry Pi finishes updating, we can now install the Widevine DRM library.
As this package is now available through the official package repository, this is a super straightforward process.
Run the following command to install this DRM library to your device.
sudo apt install libwidevinecdm0
3. Once the package finishes installing, you can now view the streaming services through Chromium.
Widevine opens up your Raspberry Pi’s access to the vast majority of streaming services.
Testing Disney Plus on the Raspberry Pi
To verify that the Widevine DRM is now installed and working we can try running a service like Disney Plus on our Raspberry Pi.
For any of these services to work, you will need to use a web browser like Chromium.
1. On your Raspberry Pi, load up the Chromium web browser.
If you are using Raspberry Pi IO Desktop, this web browser is installed to your system by default.
Once opened, you need to go to the service that you want to try. In our example, we will be showing off Disney Plus running on the Raspberry Pi.
2. Now, all you need to do is find something that you want to watch.
To show this working, we watched the movie “Soul” by Pixar. From our experience, the Raspberry Pi could stream the video with little to no issues.
This shows that the Widevine DRM successfully runs on the Pi, and it is not consuming considerable resources to function.
An advantage of streaming these services through Chromium is that you get to utilize their native interfaces.
This ensures an update to Disney Plus, Netflix, or another service won’t completely break like what happens with unofficial implementations.
Hopefully, by now, you will have the Widevine DRM library installed on your Raspberry Pi.
This DRM software allows you to stream media from services like Netflix, Disney Plus, Spotify, and more to your device.
If you have had any issues with getting the DRM library installed, please leave a comment below.
You can also check out our other Raspberry Pi media projects to see what other things you can run on your device.