How to Download Chrome in Ubuntu: A Comprehensive Guide
So, you’re ditching the Firefox flame for the sleek Chrome experience on your Ubuntu system? Excellent choice! The good news is, getting Chrome up and running on Ubuntu is a relatively straightforward process. You have a few options, each with its own nuances. Let’s dive right in.
The direct answer: You can download Chrome in Ubuntu by either downloading the .deb package directly from the Google Chrome website and installing it via the command line using dpkg
or apt
, or by enabling the Google Chrome repository and installing it using apt
.
Method 1: Installing Chrome using the .deb Package
This method offers a classic, hands-on approach. We’ll download the Chrome package directly and then install it.
Step 1: Download the Chrome .deb Package
Open your favorite web browser (likely Firefox, for now!) and head over to the official Google Chrome download page: https://www.google.com/chrome/
. You’ll be prompted to download the .deb
package. Ensure you select the “64 bit .deb (For Debian/Ubuntu)” option. This is crucial for compatibility with most modern Ubuntu systems. Accept the terms and conditions and begin the download.
Step 2: Navigate to the Downloaded File
Once the download is complete, open your terminal. This is your command-line control center! Use the cd
command to navigate to the directory where the .deb
file was downloaded. Typically, this is your Downloads
folder. So, the command would be:
cd Downloads
Step 3: Install Chrome using dpkg
Now comes the moment of truth. We’ll use the dpkg
command, the Debian package manager, to install Chrome. Type the following command in your terminal. Remember to replace google-chrome-stable_current_amd64.deb
with the exact name of the downloaded file.
sudo dpkg -i google-chrome-stable_current_amd64.deb
You’ll likely be prompted for your password. Enter it and press Enter.
Step 4: Fix Dependencies (If Needed)
Often, dpkg
throws an error about unmet dependencies. Don’t panic! This simply means that Chrome requires other software packages that aren’t currently installed on your system. To resolve this, run the following command:
sudo apt-get install -f
This command tells apt
, the advanced package tool, to automatically identify and install any missing dependencies required by Chrome. After running this command, try the dpkg
command again (Step 3).
Step 5: Verify the Installation
Once the installation is complete (hopefully without errors this time!), you can verify that Chrome has been successfully installed by typing the following in your terminal:
google-chrome --version
This command should display the version number of the installed Chrome browser. You should also be able to find Chrome in your application menu.
Method 2: Installing Chrome via the Google Chrome Repository
This method ensures you’ll receive automatic updates for Chrome directly from Google. Think of it as subscribing to a Chrome update service.
Step 1: Add the Google Chrome Repository
Open your terminal. We’ll add the Google Chrome repository to your system’s list of software sources. Use the following command:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
This command downloads the Google Chrome signing key and adds it to your system’s trusted keyrings. This verifies that the packages you’re installing are indeed from Google.
Next, add the Google Chrome repository to your system’s software sources list:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
This command creates a new file in the /etc/apt/sources.list.d/
directory named google-chrome.list
, which contains the URL of the Google Chrome repository.
Step 2: Update the Package Lists
After adding the repository, you need to update your system’s package lists so that it knows about the new software source. Use the following command:
sudo apt update
This command refreshes your system’s package information, including the newly added Google Chrome repository.
Step 3: Install Chrome using apt
Now you can install Chrome using the apt
command:
sudo apt install google-chrome-stable
This command tells apt
to download and install the latest stable version of Google Chrome from the repository. You’ll be prompted to confirm the installation by typing y
and pressing Enter.
Step 4: Verify the Installation
As before, verify the installation by typing:
google-chrome --version
or by checking your application menu.
Frequently Asked Questions (FAQs)
Here are some common questions users have when installing Chrome on Ubuntu:
1. What’s the difference between Chrome and Chromium?
Chrome is Google’s proprietary web browser, built upon the open-source Chromium project. Chrome includes proprietary features like Adobe Flash Player (now deprecated) and Google’s branding. Chromium is the base open-source project that anyone can use and build upon.
2. Which method is better: .deb package or repository?
The repository method is generally preferred. It ensures that you receive automatic updates to Chrome, keeping your browser secure and up-to-date with the latest features.
3. What if I get a “GPG error” when updating my package lists?
This usually means that the Google Chrome signing key wasn’t added correctly. Ensure you followed Step 1 of Method 2 correctly. You might need to re-download and add the key. Also, verify your internet connection.
4. Can I install Chrome without sudo
?
No. Installing software on Ubuntu generally requires sudo
privileges to ensure you have the necessary permissions to modify system files.
5. How do I uninstall Chrome?
To uninstall Chrome, use the following command in your terminal:
sudo apt remove google-chrome-stable
This command will remove the Chrome package from your system. If you added the repository, you might also want to remove it from your sources list.
6. Can I install Chrome Beta or Chrome Unstable (Canary)?
Yes! Replace google-chrome-stable
in the apt install
command with google-chrome-beta
or google-chrome-unstable
respectively. For example:
sudo apt install google-chrome-beta
Be aware that these versions are less stable and may contain bugs.
7. What does “amd64” mean?
amd64
refers to the 64-bit architecture of your processor. Most modern computers use a 64-bit architecture. If you are unsure, you likely have a 64-bit system. You can verify by typing uname -m
in the terminal.
8. Why is Chrome asking for my password all the time?
This is a known issue related to Chrome’s keyring integration with Ubuntu. You can try installing the gnome-keyring
package and configuring it properly. Search online for “Chrome keyring Ubuntu” for detailed solutions.
9. Will Chrome conflict with Firefox?
No, Chrome and Firefox can coexist peacefully on your Ubuntu system.
10. Is Chrome available for 32-bit Ubuntu systems?
No, Google no longer supports 32-bit Linux systems. If you are running a 32-bit version of Ubuntu, you will not be able to install the official Chrome browser. Consider upgrading to a 64-bit version of Ubuntu if possible.
11. How do I update Chrome?
If you installed Chrome via the repository (Method 2), Chrome will automatically update along with your other system packages when you run sudo apt update && sudo apt upgrade
. If you installed using the .deb
package (Method 1), you’ll need to download the latest .deb
package and reinstall it manually. The repository method is much simpler for updates.
12. What if Chrome crashes frequently?
Ensure your graphics drivers are up-to-date. Try disabling hardware acceleration in Chrome’s settings (Settings -> Advanced -> System -> Use hardware acceleration when available). You can also try creating a new Chrome profile.
By following these steps and addressing these common questions, you should be well on your way to enjoying the Chrome experience on your Ubuntu system. Happy browsing!
Leave a Reply