Can't install .deb version of Chrome [duplicate]
The conventional way is to install using dpkg
. It is a new feature of apt
to install from deb files. That's why the correct syntax is not always clear. man apt
doesn't tell much either.
So a guaranteed way is to copy the deb file to your Home directory and running
sudo dpkg -i google-chrome-stable_current_amd64.deb
If it is the first time you install Chrome, you will get some error messages regarding missing dependencies. You can fix it by
sudo apt install -f
Instead of copying to Home you can use the path
sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb
Update: It looks like the solution is easier. OP made a typo in the command. The file name is wrong amd.64.deb
:-)
So it is likely that the initial command with the correct file will work as well.
You normally don't download debs and install them in linux, like you are used to in windows with exe files.
You add a repository (or ppa, where available), update the software list and install the software. This way you also get updates through the added repository.
For Google Chrome, do this:
open a terminal ctrl+alt+t
add the repository key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
add the chrome repository with this command:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
update software list:
sudo apt update
install Google Chrome (stable):
sudo apt install google-chrome-stable
Done.
Pro Tip: Paste to console with ctrl+shift+v
[edit] forgot adding repository key, sorry.[/edit]