# LibreWolf Gentoo

## Install

### Eselect

```bash
sudo eselect repository add librewolf git https://codeberg.org/librewolf/gentoo.git
sudo emerge --sync librewolf
```

### Manual

```ini
# /etc/portage/repos.conf/librewolf.conf

[librewolf]
priority = 50
location = /var/db/repos/librewolf
sync-type = git
sync-uri = https://codeberg.org/librewolf/gentoo.git
auto-sync = Yes
```

```bash
sudo emerge --sync librewolf
```

## Maintain

> [!NOTE]
>
> Before submitting an issue please verify that the issue doesn't occur on Gentoo's `www-client/firefox` package.

To make things easy to update the `www-client/librewolf` and `www-client/librewolf-bin` ebuilds are based on the
`www-client/firefox(-bin)` ebuilds from [Gentoo's default repository](https://codeberg.org/gentoo/gentoo).

You can use:

```bash
diff -aur <librewolf ebuild> <firefox ebuild>
```
