Guides 11792 Published by

This article gives a straight‑shot walkthrough for installing Brave Browser on AlmaLinux 9, covering the necessary prerequisites and commands in plain language. It details how to import Google’s GPG key and set up the repository file, noting that omitting the key will trigger a “GPG key not installed” error. After adding the repo, users run dnf to install or update Brave, with a helpful note about resolving missing dependencies like libappindicator‑gtk3 on slim systems. The guide concludes by showing how to launch the browser and keep it patched via regular updates, even sharing a real‑world example of troubleshooting on a minimal VM.



Install Brave Browser on AlmaLinux 9: A Straight‑Shot Guide

If you’re trying to add Brave to your AlmaLinux 9 workstation but hit a wall, this article will show you exactly how to get the browser running in minutes—no extra fluff or endless search results.

Prerequisites
  • AlmaLinux 9 with internet access
  • Root or sudo privileges

You’ll need to pull in Google’s signing key and set up the Brave repo before installing. Skipping a step will throw a GPG error that looks like this: “GPG key for repository … not installed.” I’ve seen it happen on fresh installs when the key is missing, so let’s get ahead of that.

Adding the GPG Key
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

Why this matters: The key verifies Brave’s packages haven’t been tampered with. Without it the package manager will refuse to install anything, which is annoying when you just want a browser.

Setting Up the Repository
sudo tee /etc/yum.repos.d/brave.repo <<EOF
[brave]
name=Brave Browser
baseurl=https://brave-browser-rpm-release.s3.brave.com/centos9/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
EOF

If you forget to point `baseurl` at CentOS 9 (the same stream that AlmaLinux uses), the installer will complain about missing packages. The above block mirrors Google’s official setup and works out of the box.

Installing Brave
sudo dnf install brave-browser -y

After this command finishes, you should see “Brave Browser installed” in your terminal. If you run into a dependency snag, `dnf` will suggest installing it automatically.

Launching Brave

Run it from the terminal or find it under Applications => Internet (depending on your desktop environment). The first launch may prompt for permissions; just give them—Brave needs access to system resources like the network stack.

Keeping It Updated
sudo dnf update brave-browser -y

Because we added Brave’s repo, `dnf` will treat it like any other package. That means you’ll get security patches and new features without pulling a whole new distribution upgrade.

A Real‑World Glitch I’ve Faced

Once I tried installing Brave on an AlmaLinux 9 VM that had libappindicator stripped out to slim down the system. The installer hung at “Resolving Dependencies” until I manually installed `libappindicator-gtk3` with `sudo dnf install libappindicator-gtk3`. Once it was there, Brave came up fine—no surprises.

That’s basically all you need. Install, launch, and enjoy a privacy‑focused browser that runs natively on AlmaLinux 9.