How to Install Chrome on Ubuntu 22.04?

Google Chrome is a feature-rich web browser favored by various operating systems, including Linux. Although Chrome is not available in the software centers of Ubuntu, it is possible to install it on Ubuntu 22.04 using the terminal. In this tutorial, we will describe all the necessary steps to install Chrome on Ubuntu 22.04 so that you can run this browser on your Linux VPS or dedicated Linux server. Check out VPS Makers if you are looking to buy VPS that can be easily integrated into your Linux environment.

AI Overview

To install Chrome on Ubuntu 22.04, download the .deb package from the official Google Chrome website and then open the downloaded file with the default software installer to click "Install". Alternatively, open the terminal, download the file using wget, and install it with the command sudo dpkg -i google-chrome-stable_current_amd64.deb followed by sudo apt install -f to fix any dependency errors.

Install Google Chrome on Ubuntu via Terminal (.deb package)

This method downloads the official Google Chrome .deb package directly from Google’s servers, ensuring you get the latest stable version.

Step 1: Update System Packages

Before installing any software, it is a good idea to update Ubuntu system Packages:

sudo apt update

Step 2: Download the official Google Chrome package (.deb)

To download the latest stable version of Chrome, use the following command:

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

Step 3: Install the .deb package with APT

Once downloaded, you can install the package with the following command:

sudo apt install ./google-chrome-stable_current_amd64.deb

Note: Using apt install instead of dpkg -i is recommended, as it will also automatically install the dependencies required by the browser.

If you also used the sudo dpkg -i google-chrome-stable_current_amd64.deb command to install the Chrome deb file, you should use the following command to fix the dependencies:

sudo apt install -f

Step 5: Launch Google Chrome

Launch Chrome from the command line:

google-chrome

Install Chrome Using Snap Package

Snap packages are containerized software packages that work across different Linux distributions.The snap version installs Chromium (the open-source version) rather than Google Chrome.

sudo snap install chromium

The Chromium project is developed by Google and the open source community. It is the open source version of Google Chrome, meaning all of its code is available for everyone to access and review. Many browsers are built on Chromium, including Microsoft Edge, Brave, and Vivaldi.

Install Google Chrome on Ubuntu via GUI

Using the graphical interface, you can download the Chrome installation file, open it with Ubuntu’s Software Installer, and simply install it, just like installing other software on Windows or macOS. This method is not only fast and easy but also very suitable for new Ubuntu users as it doesn’t require learning terminal commands.

Step 1: Visit the Google Chrome Official Website

Go to the Google Chrome download page and select the “Download Chrome” button. Opt for the “64-bit .deb (for Debian/Ubuntu)” option and confirm the download.

Download Chrome

Then, in your terminal, change the directory where the download package is stored by typing the following command:

cd ~/Downloads

Step 2: Command to Install Chrome on Ubuntu 22.04

Now, install the Chrome package using the dpkg or apt command:

sudo dpkg -i google-chrome-stable_current_amd64.deb

Or

sudo apt install ./google-chrome-stable_current_amd64.deb

Step 3: Launch Chrome on Ubuntu

Enter “Google Chrome” into the search bar and click on its icon to start the program. Alternatively, you can launch the stable version of Google Chrome from the command line by typing:

google-chrome-stable

Upon launching Google Chrome for the first time, a window will pop up asking you to set Chrome as your default browser and to choose whether to send usage and crash statistics reports to Google. Select your preferred options and click “OK” to continue.

Once the default Chrome welcome page appears, sign in to Chrome using your Google account, customize browser settings and install extensions to enhance your browsing experience.

How to Uninstall Google Chrome in Ubuntu

Method 1: If you want to keep user data:

sudo apt remove google-chrome-stable

Method 1:If you downloaded the deb file and installed it:

sudo dpkg -r google-chrome-stable
sudo apt autoremove

Method 3: If you installed it with the official package:

sudo apt purge google-chrome-stable
sudo apt autoremove

Method 4: Remove Snap Installation:

sudo snap remove chromium

Check if Google Chrome has been completely removed or not

which google-chrome

If nothing comes back, it means Chrome has been deleted.

Conclusion

Google Chrome stands out as a professional web browser that is valued for its speed and security. However, since it’s not open source, it’s not part of Ubuntu’s standard software repositories. This article aimed to simplify the installation process of Chrome on Ubuntu 22.04 by offering terminal-based instructions. Especially if you don’t have access to the web browser, follow the outlined steps to download and install Chrome on your Ubuntu system.

FAQ

How much disk space does Chrome .deb installation require?

The .deb package is approximately 80MB, and Chrome requires about 250-300MB of installed space, plus additional space for user profiles and cache.

Can I install Chrome without sudo privileges?

No, installing .deb packages requires administrator privileges. However, you can extract and run a portable version manually (not recommended for security reasons).

The download URL isn’t working. Are there alternative sources?

Yes, use this command:

wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_current_amd64.deb

The installation says “package architecture (i386) does not match system (amd64)”. What’s wrong?

You downloaded the 32-bit version by mistake. Make sure you download the amd64.deb file for 64-bit Ubuntu systems.

Does Chrome auto-update when installed via .deb package?

No, .deb installations require manual updates. You need to download and install the latest .deb file periodically, or set up Google’s APT repository for automatic updates.

 


author image

The Author Robert Smite

Hello! I'm Robert, specializing in virtual servers and cloud technology. With expertise in managing and optimizing virtual servers, my focus is on delivering understandable and practical content in this field. My goal is to enhance knowledge and assist individuals in selecting the best virtual services for their needs.

More from Robert Smite

Post Your Comment

Your email address will not be published. Required fields are marked *