In this guide, you will learn to Install and Run Google Chrome Web Browser on Debian 12 Bookworm from Command-Line. Chrome is a free and cross-platform web browser developed by Google. It is the most popular and wildly used browser in the world.
You can follow this guide to start your Chrome installation from the Debian 12 command line interface.
How To Install Google Chrome on Debian 12 Bookworm?
To complete this guide, you must have access to your server as a non-root user with sudo privileges. To do this, you can visit this guide on Initial Server Setup with Debian 12 Bookworm.
Step 1 – Install Required packages for Chrome on Debian 12
First, you need to update and upgrade your local package index with the following command:
sudo apt update && sudo apt upgrade -y
Then, you need to install the required packages and dependencies for installing Chrome on your server:
sudo apt install apt-transport-https ca-certificates curl software-properties-common wget fonts-liberation libu2f-udev libvulkan1 -y
Step 2 – Download and install Google Chrome Setup Deb File
At this point, you can use the following wget command to download the Google Chrome installation setup file:
sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
When your download is completed, you can install Google Chrome by running the command below:
sudo dpkg -i google-chrome-stable_current_amd64.deb
You can verify your installation on Debian 12 by checking its version:
Output Google Chrome 115.0.5790.170
Now you have Google Chrome installed on your server.
Step 3 – How To Launch Chrome Browser on Debian 12?
You can easily launch it by running the below-given command on the terminal window:
Or from your Application finder on Debian 12, you can search for Google Chrome and Launch it.
After that Chrome will start and you will be asked to check or uncheck boxes and then hit ‘Enter’.
Once done, you will see the following window:
Click on the Get Started button and you have your Google Chrome on Debian 12.
Step 4 – How to Run Google Chrome as root on Linux?
Google Chrome on Linux will not be run as the root user. If you want to use it as the root user, you must edit the Goole Chrome file as shown below:
vi $(which google-chrome)
Then, at the end of the file add the –no-sandbox line to the file as shown below:
xec -a "$0" "$HERE/chrome" "$@" --no-sandbox
When you are done, save and close the file. In this way, you can run your Google Chrome as the root user.
To know more about Chrome features, you can visit the Google Chrome Features Page.
Step 5 – How To Update Google Chrome on Debian 12?
Also, you can easily update your Chrome packages by running the system update and upgrade:
sudo apt update && sudo apt upgrade
At this point, you have learned to Install and Run Google Chrome on Debian 12 Bookworm from the Command Line interface. Hope you enjoy it.
Also, you may be interested in these articles too: