In this tutorial, we will show you how to install Google Chrome on AlmaLinux 8. For those of you who didn’t know, Google Chrome is a simple, secure browser built for the modern, and faster web browser. If you are not a fan of inbuilt Mozilla firefox and the open-source version of Chrome i.e Chromium, then you can manually install Chrome on your OS.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Chrome browser on an AlmaLinux 8. You can follow the same instructions for CentOS and Rocky Linux.
Prerequisites
- A server running one of the following operating systems: AlmaLinux 8, CentOS, and Rocky Linux 8.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Google Chrome on AlmaLinux 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf update sudo dnf install epel-release
Step 2. Installing Google Chrome on AlmaLinux 8.
By default, Google Chrome is not available on the AlmaLinux base repository. So we Download Google chrome RPM package from the official page:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Next, we install Chrome browser using dnf
command:
sudo dnf install google-chrome-stable_current_x86_64.rpm
Verify Chrome version installation:
google-chrome --version
Step 3. Accessing Google Chrome on AlmaLinux.
Once successfully installed, go to All applications and search for Chrome to start it, Alternatively from a command-line terminal by executing the following command:
google-chrome
As you start it, a pop-up will appear asking to make the browser default and send a crash report. If you want don’t want that then you can uncheck the options.
Congratulations! You have successfully installed Chrome. Thanks for using this tutorial for installing the Google Chrome web browser on your AlmaLinux 8 system. For additional help or useful information, we recommend you check the official Chrome website.