Installing ungoogled-chromium on gentoo

As always, commands written in square brackets are optional, the most common usecase for this is [sudo] which means you need super user (if you are root you obviously don't need sudo)

  1. Install layman

    Layman is a nice and easy manager for other "repositories" (gentoo overlays) on your gentoo system, we will be needing this because ungoogled-chromium is not in the official repositories

    [sudo] emerge app-portage/layman
  2. Setup layman

    If you haven't used layman before update it with the following command:

    [sudo] layman-updater -R

    Now list the available repositories (overlays):

    [sudo] layman -L

    Now add the pf4public overlay to your system

    [sudo] layman -a pf4public
  3. Double-check you have the latest package sources

    [sudo] emaint --auto sync
  4. Install dependencies

    [sudo] emerge media-libs/lcms
    [sudo] emerge media-libs/opus
  5. Install ungoogled-chromium

    [sudo] emerge ungoogled-chromium