3

This question already has an answer here:

Im running 64 bits version, Im very new to ubuntu, just dived into it. this is what I do:

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

then get:

`2016-10-01 23:22:41 (1.30 MB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [49990192/49990192]`

then

sudo dpkg –I google-chrome-stable_current_amd64.deb

and get:

dpkg: error: need an action option

Type

dpkg --help for help about installing and deinstalling packages [*];

Use 'apt' or 'aptitude' for user-friendly package management;

Type

dpkg -Dhelp for a list of dpkg debug flag values;

Type

dpkg --force-help for a list of forcing options;

Type

dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! Thanks in advance and sorry for my idiocy too

marked as duplicate by karel, David Foerster, edwinksl, Eric Carvalho, Zanna Oct 3 '16 at 9:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

7

You typed the wrong command to install the application. You used an uppercase I when it should have been a lower case i. Unlike Windows, the case of the letters in a command makes a difference.

Run this to install the package:

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

Just change your Uppercase I to the lowercase i in the command you typed and you'll be all set.

By the way, the difference between the lower case and the uppercase i is:

-i (lowercase) Install the package
-I (uppercase) Show information about the package.

For other details see:

$ man dpkg
-1

In Ubuntu Xenial (16.04) you can simply install with apt:

sudo apt install google-chrome-stable_current_amd64.deb
  • 2
    You can in 16.04, try it. – Alex Oct 2 '16 at 9:26
  • 1
    Good to know because the manual doesn't say anything about it and it definitely doesn't work in 14.04. I edited your answer to clarify that and so that I'm allowed to convert my previous down-vote. – David Foerster Oct 2 '16 at 9:44
  • This is wrong. You can't install Chrome from Ubuntu repos. This command works after you add the dl.google.com... source. – Pilot6 Oct 2 '16 at 12:27
  • This command installs the downloaded google-chrome package. Not from the repositories! In 16.04 you can install downloaded .deb packages directly through apt. I just assumed the downloaded package is in the home directory, if in another place it can be something like this sudo apt install /home/user/Downloads/google-chrome-stable_current_amd64.deb – Alex Oct 2 '16 at 13:43
  • You dont need the command line at all, download the package from the website, click(double) on it and when asked where to open it (if you have not previously associated .deb files) then select ubuntu software you will then be shown the gui to install it. – Chris Jul 1 '17 at 9:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.