zaro

How to install Google Chrome in Ubuntu 22.04 using terminal?

Published in Chrome Installation 2 mins read

Installing Google Chrome on Ubuntu 22.04 using the terminal involves downloading the Debian package and then using dpkg to install it. Here's how:

1. Download the Google Chrome Debian Package

You can download the latest stable version of Google Chrome directly from Google's website using the wget command. Open your terminal and enter the following:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

This command downloads the .deb package to your current directory.

2. Install Google Chrome using dpkg

After the download completes, use the dpkg command to install the package. You'll need administrator privileges, so use sudo.

sudo dpkg -i google-chrome-stable_current_amd64.deb

3. Fix Dependency Issues (If Any)

Sometimes, the installation might fail due to missing dependencies. If dpkg reports dependency errors, you can resolve them by running:

sudo apt-get install -f

This command tells APT (Advanced Package Tool) to automatically download and install any missing dependencies required by Google Chrome.

4. Verify Installation

After resolving dependencies, Chrome should be installed. You can verify the installation by checking the installed applications or by running Chrome from the terminal:

google-chrome

This command should launch Google Chrome. You can also find it in your applications menu.

Summary of Commands:

Step Command Description
1 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb Downloads the Google Chrome .deb package.
2 sudo dpkg -i google-chrome-stable_current_amd64.deb Installs the downloaded package using dpkg. Requires administrator privileges.
3 sudo apt-get install -f Fixes any dependency issues that may arise during the installation process. APT automatically downloads and installs missing dependencies.
4 google-chrome Launches Google Chrome after successful installation.

By following these steps, you can successfully install Google Chrome on your Ubuntu 22.04 system using the terminal.