In order to watch Netflix!
Have you installed Chromium on your linux box, every works well but Netflix don’t? Do you know why?
The answer is simple: Chromium browser lacks Widevine module!
Widevine is a decryption module for DRM (digital rights management) used in Google Chrome and Android.
It operates as an encryption scheme to securely distribute video content to consumer devices.
Due to its license, Chromium is distributed without widevine: however, we can download it from Google’s CDN and install it on Chromium.
On Google servers, the latest version number is available on the url https://dl.google.com/widevine-cdm/current.txt so, with a simple script we can automatically download the most recent version:
#!/bin/bash LATEST=`curl https://dl.google.com/widevine-cdm/current.txt` wget https://dl.google.com/widevine-cdm/$LATEST-linux-x64.zip unzip $LATEST-linux-x64.zip sudo mkdir /usr/lib/chromium sudo mv libwidevinecdm.so /usr/lib/chromium sudo chmod 644 /usr/lib/chromium/libwidevinecdm.so
That’s all, enjoy!