How to Install Google Chrome on Manjaro 21 Linux

Google’s Chrome browser is the most popular browser in the world, with a market share of over 60%. It is one of the most popular applications on any platform and is used by millions daily. Chrome is fast, reliable, and secure and has a vast ecosystem of extensions and apps.

By default, it is not installed on Manjaro Linux but is available from the AUR, which is short for Arch Linux user repository. The following tutorial will demonstrate using the terminal cli how to install all three builds of Google Chrome stable, beta, and developer (unstable).

Important Notice

The following tutorial was done with Manjaro 21 release. The tutorial will work on future significant changes, such as Manjaro 22, since the commands and repositories do not change unless the package maintainer has stopped, which is very unlikely. If this does not work, please place a comment for me to investigate so I can update the tutorial.

Recommended Steps Before Installation

First, update your system to ensure all existing packages are up to date. This will ensure no conflicts arise as best as possible during the installation.

sudo pacman -Syu

Sometimes, you may need a complete database download if you have not upgraded your Arch Linux system for a while; use the following command if the above update command does not work.



sudo pacman -Syyu

Lastly, for users that have Pamac installed, which most Manjaro desktops do, I would optionally suggest running an update; this will ensure that your Arch Linux and Manjaro packages are fully up-to-date.

sudo pamac checkupdates -a
sudo pamac upgrade -a

Troubleshooting Updating Manjaro Packages

Manjaro/Arch Linux is a rolling release; occasionally, updating packages with Pacman GPG keys can become invalid or corrupt. If both commands do not work, use the following command.

Note, this is only if you have errors updating with the first two commands above if you can skip these.

sudo pacman -S archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro

The above should work in nearly all cases, but if it does not, use the following steps as a last resort.

sudo rm -r /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate manjaro
sudo pacman-key --populate archlinux
sudo pacman -Syvv manjaro-keyring

Then repeat the update process.

#1st Method – ‘pamac’ – AUR (Arch Linux User Repository)

The first method will install Chrome using the natively installed Manjaro package manager Pamac.



Situational – Enable AUR for ‘pamac’

First, by default, AUR is disabled. You will first need to enable it, which you can do with the following command.

sudo sed -Ei '/EnableAUR/s/^#//' /etc/pamac.conf

Lastly, for users that enabled pamac and then had second thoughts about using it and instead wanted to use something else, you can easily disable it using the following command.

sudo sed -Ei '/EnableAUR/s/^/#/' /etc/pamac.conf

Install Google Chrome – Stable, Beta, or Developer build

With the AUR enabled, you can install Google Chrome using one of three methods.

Install Google Chrome Stable

pamac install google-chrome

Confirm the version build installed using the following command.

google-chrome-stable --version

Example output:

Google Chrome 107.0.5304.87 

Install Google Chrome Beta

pamac install google-chrome-beta

Confirm the version build installed using the following command.



google-chrome-beta --version

Example output:

Google Chrome 107.0.5304.68 beta

Install Google Chrome Developer (Unstable)

pamac install google-chrome-dev

Confirm the version build installed using the following command.

google-chrome-unstable --version

Example output:

Google Chrome 108.0.5359.19 dev

#2nd Method – yay – AUR (Arch Linux User Repository)

This second method is an alternative; for Manjaro users, I would recommend using Pamac, especially for newer users of Linux and Manjaro for stability purposes mainly.

Install yay Helper

To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.

sudo pacman -S --needed --noconfirm base-devel git

Now clone the yay archive using the following terminal command.



git clone https://aur.archlinux.org/yay.git

Alternatively, you can import the pre-compiled build.

git clone https://aur.archlinux.org/yay-bin.git

For users that prefer cutting-edge development builds, use this version if you like this type of release; remember, this can potentially lead to issues as it’s a development version.

git clone https://aur.archlinux.org/yay-git.git

Now navigate to the yay directory location.

cd /yay-git

Remember to change the yay-git if you imported the yay-bin (pre-compiled) or yay-git (development) version.

Build the package using the makepkg command.

makepkg -si

Next, you will be asked to confirm the installation. However, this can be avoided by adding –noconfirm. Once done, check the version yay installed using the following terminal command.



yay --version

Example output:

yay v11.3.0.r13.g1f49b7e - libalpm v13.0.2

Install Google Chrome – Stable, Beta, or Developer build

Now that you have installed the package management helper, you can install Chrome. As explained at the start of the tutorial, there are three options: stable, beta, or unstable, but installing the default version is recommended for most users.

The installation can be done with just one command as follows.

yay -S google-chrome

This will then bring up a notice of which version to install as follows:

  • google-chrome (hit 1 for stable version)
  • google-chrome-beta (hit 2 for this release)
  • google-chrome-dev (Enter 3 for dev version)

Alternatively, you can use the full command to install.

Remove –noconfirm to stop automatic installation and review changes.



Install Google Chrome Stable

yay -S google-chrome --noconfirm

Confirm the version build installed using the following command.

google-chrome-stable --version

Example output:

Google Chrome 107.0.5304.87

Install Google Chrome Beta

yay -S google-chrome-beta --noconfirm

Confirm the version build installed using the following command.

google-chrome-beta --version

Example output:

Google Chrome 107.0.5304.68 beta

Install Google Chrome Developer (Unstable)

yay -S google-chrome-dev --noconfirm

Confirm the version build installed using the following command.

google-chrome-unstable --version

Example output:



Google Chrome 108.0.5359.19 dev

How to Launch Google Chrome

The Chrome browser can be launched from your terminal, but the easiest way to open the browser is by using the path.

Taskbar > Internet > Google Chrome {version}.

Example:

How to Install Google Chrome on Manjaro Linux

The first time you open Chrome, a pop-up will appear informing you if you want to set it as the default browser and send usage statistics, etc., to Google.

Choose your preferences, and click OK.

Example:



How to Install Google Chrome on Manjaro Linux

Once open, you will see a default landing page.

Example:

How to Install Google Chrome on Manjaro Linux

Update/Upgrade Google Chrome

The best way to upgrade the browser, depending on what versions you have installed, is using the following command that should all the requirements from standard to nightly.

Google Chrome All Versions ‘pamac’ update command:

sudo pamac checkupdates -a
sudo pamac upgrade -a

Google Chrome All Versions ‘yay’ update command:

yay -Syu --devel --timeupdate

How to Remove Google Chrome

When you no longer want to remove Chrome from your system or a particular version, you can remove the browser using one of the commands below that suit your installed version.

Google Chrome ‘pamac’ remove command:

Remove Google Chrome Stable

pamac remove google-chrome

Remove Google Chrome Beta

pamac remove google-chrome-beta

Remove Google Chrome Developer

pamac remove google-chrome-unstable

Lastly, this is optional but good practice, clear up orphans and clear your cache to reduce clutter.

Clear orphan leftovers that are no longer required.



pamac remove -o

Clear packages deleted from the package cache.

pamac clean -uv -k 0

Clear redundant package versions from the package cache (keep the last two versions)

pamac clean -v -k 2

Google Chrome ‘yay’ remove command:

Remove –noconfirm to stop automatic removal and review changes.

Remove Google Chrome Stable

yay -Rns google-chrome --noconfirm

Remove Google Chrome Beta

yay -Rns google-chrome-beta --noconfirm

Remove Google Chrome Unstable

yay -Rns google-chrome-unstable --noconfirm

Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run, so your system does not become bloated.

yay -Yc


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment