How to Install Chromium on Ubuntu 22.04

How to Install Chromium on Ubuntu 22.04

How to Install Chromium on Ubuntu 22.04

2022/06/24 by John
Chromium is a free-to-use, open-source web browser that permits its users to surf the internet in a secure and quick manner. The codebase of this browser is broadly utilized for other modern web browsers such as Microsoft Edge, Opera, and many more. This browser is cross-platform compatible; therefore, it can be used on Windows, Linux, Mac OS, etc.

In this blog, we will specifically discuss various methods using which you can install chromium on the latest version on Ubuntu 22.04.
How to Install Chromium on Ubuntu 22.04

As already mentioned, there are numerous ways available that help you install Chromium on Ubuntu 22.04. Here we will discuss each one separately.

But before that, a step that we recommend you to perform, no matter which method you are using, is to update your system and existing packages.
$ sudo apt update && sudo apt upgrade -y

Output

Follow this step every time you are about to install something on your system.
Method 1: Using APT Package

This section elaborates how we can use the apt package to install chromium. This is regarded as the quickest and easiest method.
Step 1: Install Chromium

In order to install chromium, run the below-given command.
$ sudo apt install chromium-browser

Output

Chromium was installed with success.
Step 2: Verify Installation

Now verify this installation using this command.
$ chromium-browser --version

Output

If you have installed chromium using the apt package, then you have to use this command to uninstall it.
$ sudo apt remove chromium-browser

Output

Chromium was uninstalled.
Method 2: Using Snap Package

The second method that can be used to install chromium is using the Snap package.
Step 1: Check Snap

In order to check if you have the Snap package installed on your system or not, use the following command.
$ snap version

Output

Snap package is installed on our system. However, if snap is not installed on your Ubuntu 22.04 system, then utilize the following command.
$ sudo apt install snapd

Step 2: Install Chromium

At last, use this to install chromium.
$ sudo snap install chromium

Output

Chromium is successfully installed from Snap Store.
How to uninstall Chromium from Ubuntu 22.04

If chromium was installed through the snap store, then it can be removed by running this command.
$ sudo snap remove chromium

Output

Chromium was removed successfully.
How to Launch Chromium on Ubuntu 22.04

Now that you have installed chromium, use the below command to launch the app.
$ chromium

Or,
$ chromium &

Output

The app has been launched.
Conclusion

You can install chromium browser on Ubuntu 22.04 either using the Apt package or the Snap package. When using the apt package, simply use the $ sudo apt install chromium-browser -y command, whereas, in the case of Snap first install the package, then use this command $ sudo snap install chromium to install chromium. Do not forget to update your system before installing anything.