-2

I want to install Google Chrome on Ubuntu but I am not been able to do so.

I know there are answers for my question on other posts but they didn't solve my problem.

Problem is that after I download the google chrome for Debian/Ubuntu but when I click install, nothing happens.

Thanks in advance!

Here is my installation screen pic!

And when i try sudo dpkg -i google-chrome-stable_current_amd64.deb shows: enter image description here

And Here is my downloads folder where chrome is present but Ubuntu doesn't detectenter image description here

Mohamed Slama
  • 1,849
  • 1
  • 17
  • 37
Anonymous
  • 111

3 Answers3

11

First Install Gdebi by

sudo apt-get install gdebi

After installing gdebi try installing google-chrome with gdebi

you can use gdebi to install deb file in terminal or graphical

in terminal way you can install the deb by sudo gdebi in your case it is

sudo gdebi google-chrome-stable_current_amd64.deb

If the file is in your downloads folder, run this instead:

sudo gdebi ~/Downloads/google*

If the file is in /tmp run this instead:

sudo gdebi /tmp/google*.deb

GDebi will automatically resolve any dependencies and install the deb file

mchid
  • 43,546
  • 8
  • 97
  • 150
  • Hey, thanks for the reply but it says file not found. I have uploaded the pic of my google chrome also where it is present but I am wondering why Ubuntu is not detecting the file – Anonymous Jun 23 '16 at 06:20
  • Yes it worked hurray!!!!!!!!!!!!! sudo gdebi /tmp/google*.deb command worked. I think it was in tmp folder.

    Thanks to all of experts

    – Anonymous Jun 23 '16 at 06:24
  • @Ninja I updated the answer for you, run this command: sudo gdebi ~/Downloads/google* – mchid Jun 23 '16 at 06:24
  • @Ninja There was a period at the end of the file name in your downloads directory that should not have been there. – mchid Jun 23 '16 at 06:26
  • @mchid Thanks for the effort the above command worked this one sudo gdebi /tmp/google*.deb I think chrome was in the tmp folder – Anonymous Jun 23 '16 at 06:27
  • @Ninja Yes, and it was also in your downloads directory as well. The problem was that the file was not named ~/Downloads/google*.deb it was named ~/Downloads/google*.deb. The file in your /tmp directory did not have the extra period at the end of the file name. – mchid Jun 23 '16 at 06:30
  • Thanks a lot, dear @mchid and others. I wish I had the authority to upvote your answers. – Anonymous Jun 23 '16 at 06:33
1

Option 1: pure terminal

You were in your home directory (indicated with ~) in the terminal window. However, the file is located in ~/Downloads directory. So write sudo dpkg -i Downloads/goo and press Tab. It will complete the filename (if it’s not ambiguous – and it won’t be ambiguous in your almost empty Downloads directory).

Option 2: involving GUI interactions

Another option is to write sudo dpkg -i and drag the file from Nautilus into Terminal window. This should fill in the full path.

Melebius
  • 11,431
  • 9
  • 52
  • 78
0

If you are not very particular about the Chrome then you can also try Chromium Browser. It is available in the Ubuntu Software Center.

RD017
  • 856
  • i didn't even mind having Firefox but actually it was our assignment and our instructor said us to Install the Google Chrome :) – Anonymous Jun 23 '16 at 07:04