Table of Contents
What you will read?
- 1 Step 1 – Update Ubuntu 24.10 system packages
- 2 Step 2 – Install Chromium browser via APT (Snap package)
- 3 Step 3 – Verify that Chromium is installed correctly
- 4 Step 4 – Launch Chromium browser from terminal
- 5 Step 5 – Run Chromium in headless mode (useful for servers)
- 6 Step 6 – Add a shell alias for quick Chromium command
Chromium is the open-source web browser behind Google Chrome, and installing it on Ubuntu 24.10 using the terminal is quick and straightforward.
Step 1 – Update Ubuntu 24.10 system packages
sudo apt update && sudo apt upgrade -y
Keeps your package manager up to date and prevents dependency issues before installing Chromium.
Step 2 – Install Chromium browser via APT (Snap package)
sudo apt install chromium-browser -y
Ubuntu 24.10 provides Chromium as a Snap package by default through the apt command.
Step 3 – Verify that Chromium is installed correctly
chromium-browser --version
Outputs the installed Chromium version. Confirms the package installed without errors.
Step 4 – Launch Chromium browser from terminal
chromium-browser
Opens the Chromium browser on systems with a graphical desktop environment.
Step 5 – Run Chromium in headless mode (useful for servers)
chromium-browser --headless --disable-gpu --screenshot=/tmp/test.png https://example.com
This lets you run Chromium without GUI to automate screenshots, tests, or scrapes on VPS or headless systems.
Step 6 – Add a shell alias for quick Chromium command
echo "alias chromium='chromium-browser'" >> ~/.bashrc
source ~/.bashrc
Now you can just type chromium to launch the browser.
U
Loading...
