
Google Chrome is one of the most used browsers in the world, and although Debian does not include it in its official repositories, it is possible to install it easily by following a few steps. In this article, I will explain in detail several ways to install Google Chrome on Debian, from manual download to installation via APT and other alternative methods.
If you are a Debian user or a Debian-based distribution like Ubuntu, you will surely have encountered the need to install software outside of the official repositories. Google Chrome is a clear example of this, since it is a proprietary browser, is not found in the standard repositories. But don't worry, here I will show you how to install it easily and safely.
Download Google Chrome from the official site
The easiest way to install Google Chrome on Debian is to download the package from its official website. To do so, follow these steps:
- Visit the chrome download page.
- Click on the Download Chrome.
- Select option 64 bit .deb (for Debian/Ubuntu) and click Accept and install.
- Save the .deb file to your computer.
Install Google Chrome using the terminal
If you prefer to install Google Chrome on Debian using the terminal, you can do it with the following commands.
Change to download directory
Once the .deb file has been downloaded, open a terminal and navigate to the folder where the file is located:
cd ~ / Downloads
Install Chrome with dpkg
To install the package, use the following command:
sudo dpkg -i google-chrome-stable_current_amd64.deb
If dpkg shows dependency errors, you can fix it with the following command, or by entering the one shown in the error:
sudo apt-get install -f
Install Google Chrome on Debian with APT
Another way to install Google Chrome on Debian is by setting up the Google repository and installing it with APT. This method has the advantage that Updates will be managed automatically.
Add Google GPG key
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Add Google Chrome Repository
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
Update and install Chrome
sudo apt update && sudo apt install google-chrome-stable
Alternative: Install with wget
If you prefer to download the package directly from the terminal without opening the browser, you can do so with:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Then install it by running:
sudo dpkg -i google-chrome-stable_current_amd64.deb
Running Google Chrome on Debian
Once installed, you can open Google Chrome in several ways:
- From the applications menu, typing Chrome in the search bar.
- Running the following command in the terminal:
google-chrome
Updating Google Chrome on Debian
If you installed Google Chrome via APT, updates will be applied automatically with the usual commands:
sudo apt update && sudo apt upgrade
If you installed it manually, you will need to download and install the new version following the same steps above.
Uninstall Google Chrome from Debian
If you want to remove Google Chrome from your system, open a terminal and run:
sudo apt remove google-chrome-stable
If you installed it with dpkg, you can uninstall it with:
sudo dpkg -r google-chrome-stable
With these methods, you can easily install, run, and update Google Chrome on Debian. Make sure to keep the browser updated to enjoy its latest features and improvements security,.