Menu
User

DropVPS Team

Writer: John hens

How to install Chromium in Ubuntu 24.10 using terminal?

How to install Chromium in Ubuntu 24.10 using terminal?

Publication Date

07/16/2025

Category

Articles

Reading Time

2 Min

Table of Contents

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.

Linux VPS
U
Loading...

Related Posts