jstkdng / ungoogled-chromium-archlinux

Arch Linux packaging for ungoogled-chromium
BSD 3-Clause "New" or "Revised" License
19 stars 1 forks source link

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:

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:

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

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