How to Install Google Chrome Through Terminal on Linux

Table of contents:

How to Install Google Chrome Through Terminal on Linux
How to Install Google Chrome Through Terminal on Linux

Video: How to Install Google Chrome Through Terminal on Linux

Video: How to Install Google Chrome Through Terminal on Linux
Video: How to Logout in Yahoo Mail 2024, May
Anonim

This wikiHow teaches you how to install the Google Chrome web browser through a Terminal window on Ubuntu or Debian Linux. All you need to do is use the “wget” tool to download the latest stable version of Chrome and install it with the “dpkg” file. After installing Chrome, you can type "google-chrome" in the command line window to launch the browser.

Step

Install Google Chrome Using Terminal on Linux Step 1
Install Google Chrome Using Terminal on Linux Step 1

Step 1. Press Ctrl+Alt+T to open a Terminal window

Image
Image

Step 2. Update the package index

To make sure your computer is running the latest version of the operating system, run these two commands:

  • Type in sudo apt update and press the “ Enter ”.
  • Type in sudo apt upgrade and press the “ Enter ”.
Image
Image

Step 3. Install wget if you haven't already

You can use this tool to download the Chrome installation package from a command line window.

  • Type in wget --version and press the “ Enter " If you see the version number, move on to the next step.
  • If you get an error message because wget is not installed, type sudo apt install wget and press the “ Enter ” to install equipment.
Image
Image

Step 4. Use wget to download the Chrome installation package

Since the 32 bit version of Chrome is no longer available, you need the 64 bit version of Chrome. To get the latest stable version, run this command:

  • Type in wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb and press the button “ Enter ”.
  • Once the package has finished downloading, you will be taken back to a command line or Terminal window.
Image
Image

Step 5. Install the downloaded Chrome package

To install Chrome from a package, use the following command:

Type in sudo dpkg -i google-chrome-stable_current_amd64.deb and press “ Enter ”.

Install Google Chrome Using Terminal on Linux Step 6
Install Google Chrome Using Terminal on Linux Step 6

Step 6. Resolve errors that appear during the Chrome installation process

If you see an error message during the installation process, type sudo apt-get install -f and press the “ Enter ” to fix the error.

Recommended: