BCS
Brooks Computing Systems - Jacksonville
Quality, Reliability & Service
Gentoo
LibreWolf
Overlay Install
Bootstrap 5 Modal

Install LibreWolf on Gentoo

This build uses the current LibreWolf Gentoo overlay method: add the LibreWolf repository, sync it, then emerge either the source build or the binary build.

Includes an auto-open modal, full accordion, BCS branding, light/dark toggle, and a thank-you modal shown when the main modal is closed.

Linux workstation showing browser setup

The current Gentoo install instructions on the LibreWolf site use a dedicated LibreWolf repository, not the GURU overlay. The easiest route is:

Code on monitor
sudo emerge --ask app-eselect/eselect-repository
sudo eselect repository add librewolf git https://codeberg.org/librewolf/gentoo.git
sudo emaint -r librewolf sync
Manual repo file alternative:
sudo mkdir -p /etc/portage/repos.conf

sudo tee /etc/portage/repos.conf/librewolf.conf >/dev/null <<'EOF'
[librewolf]
priority = 50
location = /var/db/repos/librewolf
sync-type = git
sync-uri = https://codeberg.org/librewolf/gentoo.git
auto-sync = yes
EOF

sudo emaint -r librewolf sync

Choose one of these:

Developer desktop setup
Source build:
sudo emerge --ask www-client/librewolf
Binary build:
sudo emerge --ask www-client/librewolf-bin

On Gentoo, the binary package is usually the quickest path if you do not want a heavy browser compile.

If Portage stops on flags, let it write the needed changes, review them, then rerun:

Terminal and package build output
sudo emerge --ask --autounmask-write www-client/librewolf-bin
sudo etc-update
sudo emerge --ask www-client/librewolf-bin

For the source package, swap librewolf-bin with librewolf.

To launch on Wayland explicitly:

MOZ_ENABLE_WAYLAND=1 librewolf

Optional package.use entries:

echo "www-client/librewolf wayland" | sudo tee -a /etc/portage/package.use/librewolf
echo "www-client/librewolf-bin wayland" | sudo tee -a /etc/portage/package.use/librewolf
echo "media-video/ffmpeg vaapi" | sudo tee -a /etc/portage/package.use/ffmpeg

Then rebuild if Portage asks for it:

sudo emerge --ask --newuse www-client/librewolf-bin

librewolf --version
librewolf

If you installed the binary package and the command is not found immediately, open a new shell or confirm the package installed cleanly with equery list librewolf if you have gentoolkit installed.

BCS modal-first build • Gentoo + LibreWolf install reference
BCS
Quality, Reliability & Service
Thank You For Visiting
Brooks Computing Systems - Jacksonville
Visit https://bcs.archman.us