Google Chrome is the most popular browser in the world. However, it is not in the standard Ubuntu software repositories as it is not open source. However, you can install Chrome on Ubuntu.
Install Google Chrome graphically
apt package manager uses installation packages called “.deb”
Note that there is no 32-bit version of Google Chrome. Select the option “64 bit .deb (for Debian/Ubuntu)” and then click the “Accept and Install” button. The “.deb” file will be downloaded.
Unless you’ve changed the default location for downloaded files, it will be in your “Downloads” folder when the download is complete.
Double click on the “.deb” file. The Ubuntu software application will launch. It shows the details of the Google Chrome package. Click the “Install” button to start the installation process.
You will be asked for your password. Enter your password and click the “Authenticate” button.
Press the “Super” key to launch Google Chrome. This is usually located between the “Ctrl” and “Alt” keys on the left side of the keyboard. Type “chrome” in the search bar and click the “Google Chrome” icon that appears, or press Enter.
The first time you launch Chrome, you’ll be given the chance to make Google Chrome your default browser and decide if you want crash reports and usage statistics forwarded to Google. Make your choices and then click the “OK” button.
Google Chrome is launched. It is the full desktop version of Google Chrome and it works just like on Windows, Mac or Chrome OS.
To add Google Chrome to your dock, right-click on the Chrome icon in the dock and select the “Add to Favorites” option from the context menu.
Install Google Chrome with the command line
Installing Google Chrome from the command line only requires a few commands. We use
wget to download the “.deb” file.
You will see a text-based progress bar and a percentage counter as the download progresses.
When the download is complete, use the
dpkg command to install Google Chrome from the “.deb” file. Remember that you can use the “Tab” key to expand file names. If you type the first few letters of the file name and press the “Tab” key, the rest of the file name will be added for you.
sudo dpkg -i google-chrome-stable_current_amd64.deb
You will be prompted for your password and then the installation will start. It’s very fast, it only takes a few minutes.
If you see errors complaining about unmet dependencies, use the following command to get next
apt to satisfy the dependencies. The computer this article was researched on was running Ubuntu 21.04. There were no unmet dependencies when using this release.
sudo apt -f install
Update Google Chrome
When a new version of Google Chrome is available, your installation of Chrome will try to update itself. If it fails, you will see a message stating that it tried to upgrade but was unsuccessful.
Note: Using Ubuntu’s default Software Updater tool will update Google Chrome along with the other applications on your system. This works because the Software Updater tool checks for updates in all configured software repositories on your system, including the Google repository that Chrome adds when you install it.
If you’re having a problem with the graphical update process, or if you just prefer the terminal, you can update Google Chrome from the command line.
Google Chrome adds a repository to the list of repositories that contain the
apt command checks when it searches for installation files. So, although Ubuntu doesn’t have Google Chrome in any of the default Ubuntu repositories, you can still use
apt to upgrade Chrome.
The command to use is:
sudo apt install google-chrome-stable
Attempts to install Google Chrome. The
apt command will realize that Chrome is already installed. It checks the version available in the repository and the version installed on your computer. If the version in the repository is newer than the version on your computer, the newer version will be installed for you.
If you run this command shortly after installing Google Chrome, the version in the repository and the version on your computer will be the same, so nothing happens.
In this case,
apt reports that the version on the computer is already the latest. No changes are made and nothing is upgraded or installed.
Google Chrome everywhere
Ubuntu comes with the Firefox web browser by default and there is nothing wrong with that. Firefox is a great and capable browser – and it’s open source too. But maybe you use Google Chrome on other platforms and want to have the same experience on Ubuntu. The methods described here will have your favorite browser on your Ubuntu computer in no time.