How to Install Google Chrome Using Terminal on Ubuntu
Need to install Google Chrome on Linux from the command line? Whether logged in remotely or using a terminal window, it’s easy to install Chrome using wget to download the installer and dpkg to run it. This Greencloud article will walk you through installing Chrome from the terminal on Ubuntu or Debian Linux.
How to Install Chrome on Ubuntu using Terminal (Command Line)
Google Chrome can also be installed using the Ubuntu Terminal command-line interface (CLI). While it may not be as easy as the above graphical user interface (GUI) installation, it offers a quick and efficient way to get Chrome up and running.
- By typing out a few commands, you can fetch the necessary installation file and complete the installation process without any hassle
- This approach is especially useful for users who prefer using the Terminal.
If you are installing Chrome in Ubuntu via the command line, please follow the steps below to download and install Google Chrome using terminal commands.
Step 1: Open Terminal
The first step is to open the Terminal and use the shortcut key CTRL + ALT + T.
Step 2: Download the Google Chrome .deb file
Use the wget command to download the latest version of Google Chrome’s .deb package directly from Google’s website.
This command downloads the installation file to your current directory.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Download the Google Chrome .deb file
Step 3: Use “apt” to install the Google Chrome .deb file
Now, install the downloaded .deb package using the apt package manager. If any dependencies are missing, this command will attempt to resolve them.
dpkg -i google-chrome-stable_current_amd64.deb
Note: You will be required “Admin Password” or “User Password” to execute these commands > Enter the password to proceed.
Use “apt” to install the Google Chrome .deb file
Step 4: Launch Google Chrome
Once the installation is complete, you can start Google Chrome by typing:
google-chrome
If you get the following error:
Cause: Google Chrome does not allow running with root privileges without disabling the secure sandbox (a process isolation layer). To fix it, you can run Chrome by adding the –no-sandbox option as follows:
google-chrome --no-sandbox
Google Chrome Installation Troubleshooting Tips:
When you follow the above steps, if you encounter errors during installation, such as missing dependencies, you may need to “Force Install” so that the dependencies can be installed without notification during the installation process.
- To follow this command, make sure that you have administrative privileges, and use the following command and flag
apt-get install -f
After running this command successfully, Google Chrome is installed. Now go to the search bar and search for Chrome. You got Google Chrome on the list!


