Install Google Chrome on Arch Linux/Manjaro in One Line of Command
Last modified on .
If you just migrated to Arch-based Linux from Ubuntu or Mint, things could be a little confusing since Arch Linux uses a different package manager called pacman
. I recently wrote a post about how to install packages on Arch Linux, but if you want a no-brainer installation with a single line of command, here it is.
Google only offers
.deb
and.rpm
files for Debian/Ubuntu and Fedora/openSUSE:
Installation
-
Stable channel (Recommended)
$ sudo pacman -S --needed git && git clone https://aur.archlinux.org/google-chrome.git && cd google-chrome && makepkg -si
-
$ sudo pacman -S --needed git && git clone https://aur.archlinux.org/google-chrome-beta.git && cd google-chrome-beta && makepkg -si
-
$ sudo pacman -S --needed git && git clone https://aur.archlinux.org/google-chrome-dev.git && cd google-chrome-dev && makepkg -si
Explanation
The commands above will do the followings:
- Install
git
if you haven't. - Clone the repository from AUR (Arch User Repository).
cd
into the directory.- Build the package with
makepkg
and install withpacman
.
See Also
- Install Microsoft Edge on Arch Linux/Manjaro in One Line of Command
- How to Install Firefox on Arch Linux/Manjaro in One Line of Command
- Install Brave Browser on Arch Linux/Manjaro in One Line of Command
- Install Chromium on Arch Linux/Manjaro in One Line of Command
- Install Vivaldi Browser on Arch Linux/Manjaro in One Line of Command
- Install GNOME Web (Epiphany) on Arch Linux/Manjaro in One Line of Command