Update Google Chrome Ubuntu
November 14, 2024 · AI Conversations
1. **Open the Terminal**:
Press `Ctrl + Alt + T` to open the terminal.
2. **Update the Repository**:
Ensure your package list is up-to-date:
sudo apt update
3. **Upgrade Google Chrome**:
Run the following command to upgrade Google Chrome if an update is available:
sudo apt --only-upgrade install google-chrome-stable
4. **Verify the Update**:
To check if Chrome is updated, you can check the version number:
google-chrome --version
If Chrome was installed using a `.deb` file and the repository is not set up, you may need to re-download and install the latest `.deb` file from the [Google Chrome website](https://www.google.com/chrome/), or you can set up the Google repository for automatic updates:
1. **Add Google’s Repository** (optional if you didn’t set it up before):
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt update
2. **Install or Update Chrome**:
sudo apt install google-chrome-stable
This will keep Chrome updated automatically with the rest of your system packages.
### Method 1: Using the Terminal
1. **Open the Terminal** by pressing Ctrl + Alt + T.
2. **Update the package list** to ensure all packages are up to date:
sudo apt update
3. **Upgrade Google Chrome**:
sudo apt --only-upgrade install google-chrome-stable
4. **Verify the update**:
google-chrome --version
### Method 2: Using `dpkg` (if you have the `.deb` package)
If you prefer to download the latest `.deb` package manually:
1. **Download the latest Google Chrome `.deb` package**:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
2. **Install or update Google Chrome using `dpkg`**:
sudo dpkg -i google-chrome-stable_current_amd64.deb
3. **Fix dependencies (if needed)**:
sudo apt --fix-broken install
### Method 3: Using `apt` Repository (if already added)
If you've previously installed Google Chrome, it should already be set up with the Google repository, which allows it to update automatically along with your system updates:
1. **Update all packages, including Chrome**:
sudo apt update && sudo apt upgrade
### Optional: Cleaning Up
After updating, you can remove unnecessary packages to free up space:
sudo apt autoremove
Now your Google Chrome browser should be updated to the latest version!