ungoogled-chromium-archlinux icon indicating copy to clipboard operation
ungoogled-chromium-archlinux copied to clipboard

Arch Linux packaging for ungoogled-chromium

ungoogled-chromium-archlinux

Arch Linux packaging for ungoogled-chromium.

A note on reproducibility

While extra/chromium builds are reproducible, this repository currently doesn't publish reproducible builds:

  • Due to limitations of GitHub Actions it's not possible to continuously run the build process on GitHub-hosted runners. This prevents being able to build in a reproducible way.
  • OBS does not build Arch Linux packages in a reproducible way.

Container images published by this repository will (since version 92.0.4515.131-1) always produce the same output, this however is not compatible by tools like repro

Binary Downloads

You can get pre-built binaries from the following sources:

  • Contributor Binaries Source
  • OBS Production Project
  • OBS Development Project

Open Build Service Repository

Use these commands to add the OBS repository:

curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key -a -
echo '
[home_ungoogled_chromium_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/$arch' | sudo tee --append /etc/pacman.conf
sudo pacman -Sy

Use this command to install ungoogled-chromium:

sudo pacman -Sy ungoogled-chromium

Unofficial Repositories

  • chaotic-aur - Maintained by PedroHLC

  • jk-aur - Maintained by JustKidding

  • cachy-repo - Maintained by ptr1337

    All issues should go to their respective maintainers.

Building

On your host (aur)

In the AUR there are multiple ungoogled-chromium flavors:

  1. ungoogled-chromium: regular ungoogled-chromium
  2. ungoogled-chromium-git: ungoogled-chromium but using the master branch of upstream UC patches.

On your host (manually)

For the latest full version, run the following commands:

# Install required dependencies. Make sure your user has access to sudo
sudo pacman -S base-devel

# Clone this repository
git clone https://github.com/ungoogled-software/ungoogled-chromium-archlinux

# Navigate into the repository
cd ungoogled-chromium-archlinux

# Check out the latest tag
git checkout $(git describe --abbrev=0 --tags)

# Start the build, this will download all necessary dependencies automatically
makepkg -s

For the latest testing version, run these commands instead:

# Install required dependencies. Make sure your user has access to sudo
sudo pacman -S base-devel

# Clone this repository
git clone https://github.com/ungoogled-software/ungoogled-chromium-archlinux

# Navigate into the repository
cd ungoogled-chromium-archlinux

# Start the build, this will download all necessary dependencies automatically
makepkg -s

If the build succeeds, you can run makepkg --install or pacman -U ungoogled-chromium-*.pkg.*. Running the latter requires root permission.

In a container

For the latest testing version, run these commands instead:

# Create a directory for the package output
mkdir output

# Start the build, the image already contains all nessesarry dependencies
docker run --rm --mount type=bind,source=$(pwd)/output,target=/mnt/output ghcr.io/ungoogled-software/ungoogled-chromium-archlinux-testing:latest

Now you can install the package using pacman -U output/ungoogled-chromium-*.pkg.*, this requires root permission.

Hardware Requirements

A 64-bit system is required, as Arch has dropped 32-bit support. 8 GB of RAM is highly recommended (per the document in the Chromium source tree under docs/linux_build_instructions.md).

License

See LICENSE