
In this article, we will guide you through the process of updating Google Chrome on Ubuntu 20.04 when installed through a .deb file. This article aims to provide a detailed guide for users of all experience levels, so whether you’re a seasoned Ubuntu user or a newcomer, you’ll find this guide helpful.
To update Chrome on Ubuntu 20.04 from a .deb file, you can either use the Software Updater tool or the Terminal. In the Software Updater, simply select the Chrome update and install it. In the Terminal, run the commands "sudo apt-get update" and "sudo apt-get –only-upgrade install google-chrome-stable" to update Chrome. If you installed Chrome using a .deb file, you can also manually update it by downloading the latest .deb file from the Google Chrome website and running "sudo dpkg -i google-chrome-stable_current_amd64.deb" in the Terminal.
Updating Chrome through the Software Updater
The simplest way to update Google Chrome on Ubuntu is by using the built-in Software Updater. This tool automatically checks for updates for all installed software, including Google Chrome, and allows you to install them with a few clicks.
- Open the Software Updater. It will automatically check for updates.
- If an update for Google Chrome is available, select it and follow the prompts to install.
Updating Chrome through the Terminal
For those who prefer using the Terminal, you can also update Google Chrome through a series of commands. Here’s how:
- Open the Terminal. You can do this by searching for ‘Terminal’ in the application menu or by pressing
Ctrl + Alt + T
. - Run the following command to update the package lists for upgrades for packages that need upgrading, as well as new packages that have just come to the repositories:
Thesudo apt-get update
sudo
command allows you to run programs with the security privileges of the superuser. Theapt-get update
command fetches the package lists from the repositories and “updates” them to get information on the newest versions of packages and their dependencies. - Next, run the following command to install the available Google Chrome update:
Thesudo apt-get --only-upgrade install google-chrome-stable
--only-upgrade
option will upgrade only that package and not any others. Theinstall
command is used to install the package, andgoogle-chrome-stable
is the name of the package you want to install.
After the update has been installed, you should close and reopen Chrome for the changes to take effect.
Troubleshooting Chrome Update Issues
Sometimes, Chrome may keep warning you to update even after you’ve updated it. This issue can usually be resolved by checking the /etc/apt/sources.list.d/google-chrome.list
file.
- Open the file with the following command:
Thesudo nano /etc/apt/sources.list.d/google-chrome.list
nano
command opens the Nano text editor, which is a simple, user-friendly text editor in the Linux terminal. - If the last line is commented out (i.e., it begins with a ‘#’), uncomment it by removing the ‘#’ symbol. It should look like this:
This line tells your system where to find the Google Chrome package.deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
- Save the file and exit Nano.
- Run the
sudo apt update
command again to update the package lists. - Finally, run the
sudo apt-get --only-upgrade install google-chrome-stable
command again to upgrade Google Chrome.
Manually Updating Chrome from a .deb File
If you installed Chrome using the .deb file, you can also manually update it by following these steps:
- Download the latest .deb file from the official Google Chrome website.
- In your download directory, locate the
google-chrome-stable_current_amd64.deb
file (the name may vary depending on the version). - Open the Terminal and navigate to the directory where the .deb file is located using the
cd
command. - Run the following command to install the updated version:
Thesudo dpkg -i google-chrome-stable_current_amd64.deb
dpkg -i
command is used to install or upgrade a package. The-i
option tells dpkg to install the package.
Remember to always keep your browser and system up to date to ensure security and access to the latest features. Google Sync can be used to sync your bookmarks and extensions across devices, but it is not recommended to rely on it for saving passwords. Instead, consider using a separate password manager for storing sensitive credentials.
Yes, you can update Google Chrome on Ubuntu 20.04 through the Software Updater. Simply open the Software Updater, and if an update for Google Chrome is available, select it and follow the prompts to install.
Yes, you can update Google Chrome on Ubuntu 20.04 through the Terminal. Open the Terminal and run the command sudo apt-get --only-upgrade install google-chrome-stable
to install the available update.
If you are experiencing issues with Chrome update warnings even after updating, you can check the /etc/apt/sources.list.d/google-chrome.list
file. Open the file using the command sudo nano /etc/apt/sources.list.d/google-chrome.list
and ensure that the last line is uncommented (does not start with a ‘#’). Save the file and run sudo apt update
followed by sudo apt-get --only-upgrade install google-chrome-stable
to resolve the issue.
Yes, you can manually update Google Chrome on Ubuntu 20.04 using a .deb file. Download the latest .deb file from the official Google Chrome website, navigate to the directory where the file is located in the Terminal, and run the command sudo dpkg -i google-chrome-stable_current_amd64.deb
to install the updated version.