TranslateProject/sources/tech/20211001 How to Install Google Chrome on Debian and Kali Linux.md
DarkSun 796b80a516 选题[tech]: 20211001 How to Install Google Chrome on Debian and Kali Linux
sources/tech/20211001 How to Install Google Chrome on Debian and Kali Linux.md
2021-10-01 05:02:53 +08:00

6.7 KiB
Raw Blame History

How to Install Google Chrome on Debian and Kali Linux

Debian and Debian-based Kali Linux come with Firefox as the default web browser. But this does not mean that you cannot install other web browsers in it.

Google Chrome is hugely popular and you probably already use it on other systems. If you want to install Chrome on Debian, you can surely do so.

You wont find Google Chrome in the repositories of Debian because it is not open source software but you can download and install it from Chrome website.

In this tutorial, Ill show you two methods of installing Chrome on Debian:

  • GUI method
  • Command line method

Lets start with the GUI method first.

Note: I am using Debian in the examples here but since Kali Linux is based on Debian, the same methods are also applicable to Kali Linux.

Method 1: Installing Chrome on Debian Graphically

This is a no-brainer. You go to the Google Chrome website, download the deb file and double lick on it to install it. I am going to show the steps in detail so that it is easy for you to follow it.

Go to Google Chromes website.

Get Google Chrome

Youll see the option to download Google Chrome.

Click on the Download Chrome button

When you click on the download button, it gives you two options for downloading the installer file. Go with the one that says Debian/Ubuntu.

Download the Chrome installer file for Debian

Please note that Google Chrome is NOT available for 32-bit systems.

In the next screen, you should opt for saving the file to the computer instead of opening it in software center for installation. This way, the downloaded file will be saved in the Downloads folder instead of the temp directory.

Save the downloaded DEB file for Google Chrome

Go to the Download folders and right click on the downloaded deb file and choose to open it with Software Install.

Right click on the downloaded DEB file and open with Software Install

It will then open the software center and you should see the option to install Chrome now. Click on the install button.

Click on the install button

Youll be asked to enter your accounts password. This is the same password you use to log into your system.

Enter your account’s password

In less than a minute, Google Chrome will be installed. You should see a remove option now which indicates that the software is installed.

Chrome is now installed

Once Chrome is installed on Debian, search for it in the system menu and start it.

Start Google Chrome

It will ask to be your default browser and send the crash reports to Google. You can uncheck either or both options. And then you can see Google Chrome browser window.

If you log into your Google account, you should be able to sync your passwords, bookmarks and other browsing data here. Enjoy it!

Another thing, after installing Chrome, you can delete the downloaded DEB file from your system. It is not needed anymore, not even for uninstalling Chrome.

Method 2: Install Google Chrome on Debian from the terminal

What you just saw above can be easily achieved in the terminal.

First, make sure that your package cache is refreshed and you have wget installed for downloading files from the web in the terminal.

sudo apt update && sudo apt install wget

The next option is to download the .deb file of Google Chrome:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Once downloaded, you can install the deb file in the terminal with apt command like this:

sudo apt install ./google-chrome-stable_current_amd64.deb

Once the installation completes, you can start using Chrome.

Bonus tip: Updating Google Chrome

Both methods add Googles repository to your system. You can see it in your sources.lis.d directory:

cat /etc/apt/sources.list.d/google-chrome.list

This means that Google Chrome will be updated with other system updates in Debian and Kali Linux. You know how to update your Kali Linux or Debian system in command line? Just use this command:

sudo apt update && sudo apt upgrade -y

Uninstall Google Chrome from your system

Even if you chose to install Chrome on Debian using the GUI method, youll have to use the terminal to remove it.

Dont worry. Its really just one command:

sudo apt purge google-chrome-stable

Enter your account password when asked. Nothing is displayed on the screen when you type the password. Thats okay. Type it and press enter and confirm the deletion.

Well, thats about it. I hope you find this tutorial helpful.


via: https://itsfoss.com/install-chrome-debian-kali-linux/

作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出