{"id":14984327,"url":"https://github.com/proprietary/chromium-widevine","last_synced_at":"2025-05-07T00:05:55.189Z","repository":{"id":39659190,"uuid":"220771308","full_name":"proprietary/chromium-widevine","owner":"proprietary","description":"How to install Widevine on Chromium on Linux; how to watch Netflix on Chromium Ubuntu or Debian","archived":false,"fork":false,"pushed_at":"2024-02-09T11:42:05.000Z","size":20,"stargazers_count":168,"open_issues_count":14,"forks_count":28,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T04:12:34.624Z","etag":null,"topics":["chromium","chromium-browser","debian","drm","google-chrome","linux","ungoogled-chromium","widevine"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proprietary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-10T10:00:14.000Z","updated_at":"2025-02-12T20:03:08.000Z","dependencies_parsed_at":"2024-10-13T07:00:23.228Z","dependency_job_id":null,"html_url":"https://github.com/proprietary/chromium-widevine","commit_stats":{"total_commits":9,"total_committers":4,"mean_commits":2.25,"dds":0.5555555555555556,"last_synced_commit":"fcaae76eeca9d5d900bd1a5b9ed2911555a6bf61"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proprietary%2Fchromium-widevine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proprietary%2Fchromium-widevine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proprietary%2Fchromium-widevine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proprietary%2Fchromium-widevine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proprietary","download_url":"https://codeload.github.com/proprietary/chromium-widevine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788517,"owners_count":21804285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chromium","chromium-browser","debian","drm","google-chrome","linux","ungoogled-chromium","widevine"],"created_at":"2024-09-24T14:08:52.532Z","updated_at":"2025-05-07T00:05:54.367Z","avatar_url":"https://github.com/proprietary.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installing Widevine on Chromium on GNU/Linux\n\nOr: How to get Spotify/Netflix working on Chromium in Linux\n\nMost distributions' package managers come with Chromium but without Widevine, a proprietary binary blob required for DRM protected content (e.g., Netflix or Spotify). Normally your only option to access DRM-protected content would be to use Google Chrome or Mozilla Firefox, but here are some alternate ways you can keep using stock Chromium.\n\nInstructions are for Debian GNU/Linux amd64; should work for other Debian-based distros like Ubuntu.\n\n## (easiest) Install Google Chrome and use its Widevine distribution\n\n### Install Google Chrome **stable** (beta or unstable won't work)\n\nSkip this if you already have it.\n\n```bash\n$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -\n$ echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list\n$ sudo apt update \u0026\u0026 sudo apt install -y google-chrome-stable\n```\n\n### Run script\n\nThe following script symlinks Google Chrome's Widevine library to Chromium's directory.\n\nPaste this into your terminal:\n\n```bash\ngit clone https://github.com/proprietary/chromium-widevine.git \u0026\u0026 \\\n\tcd chromium-widevine \u0026\u0026 \\\n\t./use-from-google-chrome.sh\n```\n\n## Test Widevine\n\nPaste into terminal (*warning: restarts Chromium*):\n\n```bash\nkillall -q -SIGTERM chromium-browser || \\\n\tkillall -q -SIGTERM chromium \u0026\u0026 \\\n\texec $(command -v chromium-browser || command -v chromium) ./test-widevine.html \u0026\n```\n\n…Or manually:\n\n1. Restart Chromium. If it was already open, then go to [chrome://restart](chrome://restart).\n2. Make sure Protected Content is enabled in settings: [chrome://settings/content/protectedContent](chrome://settings/content/protectedContent).\n3. Open `test-widevine.html` from this cloned repo in Chromium.\n\n…Alternatively, visit Netflix, Spotify, or $DEGENERATE_DRM_CONTENT_PROVIDER to see if it works directly.\n\n# Limitations\n\n- [Some streaming sites](https://web.archive.org/web/20191026132853/https://www.phoronix.com/scan.php?page=news_item\u0026px=Disney-Plus-Not-On-Linux) refuse to run at all on Linux because the kernel does not provide access to chipset-level fencing of DRM decryption as provided by Microsoft and Apple systems.\n- These scripts assume a standard instlalation from Debian/Ubuntu packages. If you installed Google Chrome or Chromium manually, you might have to edit the scripts.\n- Because we are installing files directly to `/usr` (as opposed to the more appropriate `/usr/local`), and we have to for Chromium to find Widevine, on system upgrades your package manager might clobber these files, and you will have to redo these steps.\n- These instructions only work for amd64 (64-bit x86_64) on GNU/Linux. For alternate architectures like ARM or i386 (32-bit x86), please fork this and submit a pull request.\n\n\n## (alternative) Install Widevine alone without Google Chrome\n\nPaste this into your shell:\n\n```bash\ngit clone https://github.com/proprietary/chromium-widevine.git \u0026\u0026 \\\n\tcd chromium-widevine \u0026\u0026 \\\n\t./use-standalone-widevine.sh \u0026\u0026 \\\n\tkillall -q -SIGTERM chromium-browser || \\\n\tkillall -q -SIGTERM chromium \u0026\u0026 \\\n\texec $(command -v chromium-browser || command -v chromium) ./test-widevine.html \u0026\n```\n\nThe first method using Google Chrome just copied one directory from its installation. Observe the Widevine directory in the Google Chrome distribution:\n\n```text\n/opt/google/chrome/WidevineCdm\n├── LICENSE\n├── manifest.json\n└── _platform_specific\n    └── linux_x64\n\t        └── libwidevinecdm.so\n```\n\nWe don't actually need the whole Google Chrome installation. We can recreate that tree in the Chromium directory (i.e., `/usr/lib/chromium`) with a standalone distribution of the Widevine shared library. Copying just `libwidevinecdm.so` into `/usr/lib/chromium` doesn't work.\n\nN.B. Disadvantage of this method: You might have to manually re-run this script whenever Chromium updates to get the latest Widevine. The first method piggybacks Google Chrome's distribution which is assumed to be up-to-date and updated by the same package manager that updates Chromium. Use that method unless you really don't want Google Chrome on your system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproprietary%2Fchromium-widevine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproprietary%2Fchromium-widevine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproprietary%2Fchromium-widevine/lists"}