Software & AppsOperating SystemLinux

How To Install LibreWolf Browser with DRM Support on Ubuntu

Ubuntu 6

LibreWolf is an independent fork of Firefox, with the primary goals of privacy, security, and user freedom. It is the go-to browser for those in search of these aspects. This article will guide you through the process of installing LibreWolf on your Ubuntu system. We will also cover how to enable Digital Rights Management (DRM) support, which is necessary for playing DRM-protected content, such as Netflix, Amazon Prime, and Spotify.

Quick Answer

To install LibreWolf browser with DRM support on Ubuntu, you have three methods: using Flatpak, AppImage, or the Debian repository. Each method has its own steps, but all of them allow you to install LibreWolf on your Ubuntu system. Once installed, you can enable DRM support by making changes to the librewolf.cfg file and enabling the necessary options in the browser settings.


Before we begin, ensure that you have access to a terminal and the necessary permissions to execute installation commands on your Ubuntu system.

Method 1: Installing LibreWolf Using Flatpak

Flatpak is a universal package system for software deployments, application virtualization, and most importantly, package management. It allows you to install software and manage dependencies in an isolated environment.

To install LibreWolf using Flatpak, follow the steps below:

  1. Set up Flatpak: If you haven’t already, you’ll need to set up Flatpak on your system. You can follow the instructions here.
  2. Install LibreWolf: Once Flatpak is set up, you can install LibreWolf by running the following command in your terminal:
flatpak install flathub io.gitlab.librewolf-community
  1. Run LibreWolf: After the installation is complete, you can run LibreWolf with the following command:
flatpak run io.gitlab.librewolf-community

Method 2: Installing LibreWolf Using AppImage

AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application.

Follow the steps below to install LibreWolf using AppImage:

  1. Download the AppImage file: You can download the latest LibreWolf AppImage file from the LibreWolf AppImage releases page.
  2. Make the file executable: After downloading, you need to make the file executable. You can do this by right-clicking on the file, selecting Properties, and then checking the box that says “Allow executing file as program”. Alternatively, you can run the following command in the terminal:
chmod +x LibreWolf.AppImage
  1. Move the file to a folder of your choice and run it: You can now move the AppImage file to a folder where you want to keep it and run the file to start LibreWolf.

Method 3: Installing LibreWolf Using Debian Repository

If you’re using Ubuntu 20.04 or later, you can add the LibreWolf Debian repository and install it using apt.

Follow the steps below:

  1. Add the LibreWolf Debian Repository: Run the following commands in the terminal to add the repository:
distro=$(if echo " bullseye focal impish jammy uma una vanessa" | grep -q " $(lsb_release -sc) "; then echo $(lsb_release -sc); else echo focal; fi)
wget -O- | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg
  1. Update the Repository: Update the repository by running the following command:
sudo apt update
  1. Install LibreWolf: Finally, install LibreWolf by running:
sudo apt install librewolf -y

Enabling DRM Support in LibreWolf

To enable DRM support in LibreWolf, follow these steps:

  1. Open the librewolf.cfg file: Open the terminal and type the following command:
sudo gedit /usr/lib/librewolf/librewolf.cfg
  1. Comment out the active lines: Under the section Section: User Settings, comment out the active lines with // under the subsections User Settings: DRM/CDM - Main and User Settings: DRM/CDM - Widevine.
  2. Restart LibreWolf and open about:preferences in the browser: Enable the “Play DRM” option under the General section.
  3. Download Widevine and enable it in the plugins section of about:addons: LibreWolf will download Widevine and enable it in the plugins section. You can force the download by clicking “Check for updates” under the tools button.


You now have LibreWolf installed on your Ubuntu system with DRM support enabled. You can enjoy a secure browsing experience while also being able to access DRM-protected content. Remember to report any bugs or problems you encounter on the LibreWolf project page on Gitlab and consider contributing to the project if you can. Happy browsing!

Can I install LibreWolf on operating systems other than Ubuntu?

Yes, LibreWolf is available for various operating systems, including Windows, macOS, and Linux distributions other than Ubuntu. You can check the official LibreWolf website for specific installation instructions for your operating system.

Can I use LibreWolf without enabling DRM support?

Yes, you can use LibreWolf without enabling DRM support. However, certain websites and services that require DRM, such as streaming platforms like Netflix, Amazon Prime, and Spotify, may not function properly without it.

How do I update LibreWolf after installing it?

The update process for LibreWolf depends on the installation method you used. If you installed it using Flatpak or the Debian repository, you can update it using the respective package manager commands (flatpak update or sudo apt update && sudo apt upgrade). If you installed it using the AppImage, you will need to manually download and replace the old AppImage file with the latest version.

Can I import my bookmarks and settings from another browser to LibreWolf?

Yes, you can import bookmarks and settings from other browsers to LibreWolf. In LibreWolf, go to the menu (three horizontal lines in the top-right corner) > Library > Bookmarks > Show All Bookmarks. From there, you can select "Import and Backup" and choose the option to import bookmarks and settings from another browser.

Is LibreWolf compatible with Firefox extensions?

Yes, LibreWolf is compatible with most Firefox extensions. You can install extensions from the official Firefox Add-ons website or directly from within LibreWolf by going to the menu > Add-ons > Get Add-ons.

How can I uninstall LibreWolf from my Ubuntu system?

To uninstall LibreWolf, you can use the following command in the terminal:

sudo apt remove librewolf

This will remove LibreWolf from your system, along with any associated files and configurations.

Leave a Comment

Your email address will not be published. Required fields are marked *