How to Install Google Chrome in Kali Linux? – Part 2 – Installation

Install Google Chrome in Kali Linux:

 

From our previous post (How to Install Google Chrome in Kali Linux? – Part 1 – Discussion)we know that we can install Google Chrome in two different ways:

  1. Download and Install .deb package from Google.
  2. Install Google Chrome by adding Google Repositories

Let’s see how they work.

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 9 - blackMORE Ops

Download and Install official .deb package from Google:

Download Google Chrome official .deb package

Open IceWeasel and browse to https://www.google.com/intl/en/chrome/browser/.

Download Google Chrome .deb packages (either 32-bit or 64-bit).

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 1 - blackMORE Ops

Save it.

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 3 - blackMORE Ops

If you prefer command line, do the followings:

32-bit systems:

Open a terminal and type the following:

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

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 2 - blackMORE Ops

64-bit systems:

Open a terminal and type the following:

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

Install Google Chrome .deb package in Kali Linux

Type the following in terminal to install Google Chrome in Kali Linux from your downloaded .deb package.

dpkg -i google-chrome-*.deb

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 4 - blackMORE Ops

If you get a GPG Key error, you can use –force

dpkg -i google-chrome-*.deb --force

This way you can install Google Chrome in Kali Linux from a .deb package. Personally, I think it’s inconvenient as you won’t be able to update it via apt-get update/upgrade. Second option is a lot better one:

Install Google Chrome by adding Official Google Repositories

Add Google GNU Privacy Guard (GPG) Keys:

Before you install add the Apt-Key

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 5 - blackMORE Ops

Add Official Google Repository

Now add Official Google Chrome Repository:

echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 6 - blackMORE Ops

Update Package Manager

apt-get update

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 7 - blackMORE Ops

Install Official Google Chrome via apt-get

apt-get install google-chrome-stable

How to Install Google Chrome in Kali Linux? – Part 2 – Installation - 8 - blackMORE Ops

and we’re done. We’ve not installed Google Chrome stable release in our Kali Linux.

Now move to the next to find out how you can run Google Chrome in Kali linux

How to Install Google Chrome in Kali Linux? – Part 3 – Running Chrome

This will explain following 3 choices:

  1. Run Google Chrome as a Standard user in Kali Linux
  2. Run Google Chrome as Root user in Kali Linux
    • By modifying /opt/google/chrome/google-chrome file
  3. Run Google Chrome as Standard User (while Logged in as root) in Kali Linux
    • Run Google Chrome using gksu
    • Run Google Chrome using sux

Follow part 3 here: How to Install Google Chrome in Kali Linux? – Part 3 – Running Chrome

Check Also

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

If you’ve encountered an issue where Hashcat initially only recognizes your CPU and not the …

Nyxt The Hacker's Browser Unleashing Power and Flexibility

Nyxt: Hacker’s Dream Browser

In the ever-evolving digital landscape, the demand for specialized tools and platforms has grown exponentially. …

14 comments

  1. What happened???

    Ignoring file ‘google-chrome.lis’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
    W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/Release Unable to find expected entry ‘non-freedeb/source/Sources’ in Release file (Wrong sources.list entry or malformed file)

  2. dpkg: dependency problems prevent configuration of google-chrome-stable:
    google-chrome-stable depends on libappindicator1; however:
    Package libappindicator1 is not installed.

    dpkg: error processing google-chrome-stable (–install):
    dependency problems – leaving unconfigured
    Processing triggers for desktop-file-utils …
    Processing triggers for man-db …
    Processing triggers for menu …
    Errors were encountered while processing:
    google-chrome-stable

    Why it shows those errors ?

    • apt-get install libappindicator1

      • apt-get install libappindicator1
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        You might want to run ‘apt-get -f install’ to correct these:
        The following packages have unmet dependencies:
        libappindicator1 : Depends: libdbusmenu-glib4 (>= 0.4.2) but it is not going to be installed
        Depends: libdbusmenu-gtk4 (>= 0.4.2) but it is not going to be installed
        Depends: libindicator7 (>= 0.4.90) but it is not going to be installed
        Recommends: indicator-application (>= 0.2.93) but it is not going to be installed
        E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).

        Trying with -f

        apt-get -f install libappindicator1
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        You might want to run ‘apt-get -f install’ to correct these:
        The following packages have unmet dependencies:
        libappindicator1 : Depends: libdbusmenu-glib4 (>= 0.4.2) but it is not going to be installed
        Depends: libdbusmenu-gtk4 (>= 0.4.2) but it is not going to be installed
        Depends: libindicator7 (>= 0.4.90) but it is not going to be installed
        Recommends: indicator-application (>= 0.2.93) but it is not going to be installed
        E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).

  3. I created the a normal user and used gksu to launch Google Chrome as that user. However, there is an issue. There is no sound when playing YouTube videos on chrome using this method. Maybe since Google chrome is running with limited privileges, it cannot access the ‘alsa’ sound in root. Do you know any fix for this?

  4. root@localhost:~# echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google-chrome.list
    bash: /etc/apt/sources.list.d/google-chrome.list: No such file or directory

    • help me BMO! i’ve installed chrome before. and then i uninstall back bcos there are errors in my terminal like “google-chrome.lis’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension”. I installed chrome using the .deb package. Now, i want to reinstall it but this happens (as i stated at the comment above)

  5. same dependecy problem as above when installing with apt-get

  6. dpkg: error processing google-chrome-stable (–install):
    dependency problems – leaving unconfigured
    Processing triggers for desktop-file-utils …
    Processing triggers for gnome-menus …
    Processing triggers for man-db …
    Processing triggers for menu …
    Errors were encountered while processing:
    google-chrome-stable

    what to do :( ?

  7. Dependency problems!

    dpkg -i google-chrome-*.deb –install

    (Reading database … 323365 files and directories currently installed.)
    Preparing to unpack google-chrome-stable_current_amd64.deb …
    Unpacking google-chrome-stable (45.0.2454.93-1) over (45.0.2454.93-1) …
    dpkg: error processing archive –install (–install):
    cannot access archive: No such file or directory
    dpkg: dependency problems prevent configuration of google-chrome-stable:
    google-chrome-stable depends on libappindicator1; however:
    Package libappindicator1 is not installed.

    apt-get install libappindicator1

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package libappindicator1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘libappindicator1’ has no installation candidate

  8. why do we have to add GPG

  9. error processing package google-chrome-stable

    getting this ;;

    what to do now

  10. for those who get dependency error, try to run this

    sudo apt –fix-broken install

    it will install dependency packages and then you are done

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading