Unable to install google chrome and libappindicator1
1. I downloaded the .deb
file from the official web page.
2. And later I entered the command you've already written:
sudo dpkg -i google-chrome-stable_current_amd64.deb
(I have 64-bit architecture thats why I downloaded the amd64)
3. Then I downloaded the missing file
sudo apt-get install libappindicator1
Then I got an error about, libappindicator7... and APT suggested I run the command:
apt-get -f install
Without arguments.
Next it asks if you want to install both libappindicator1
and libappindicator7
. You type y
.
4. And finally you execute the first command again...
sudo dpkg -i google-chrome-stable_current_amd64.deb
Then it works!
Note: I didn't tell you to run those commands with libappindicator first.. because maybe you would get another error about "missing files" so the first dpkg -i google-chrome-stable_current_amd64.deb
would tell you what you needed.
google-chrome-stable
is available on a 3rd Party Repository:Google Chrome (for Stable).
Follow the instruction for installation:
-
Add Key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
-
Set repository:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
-
Install package:
sudo apt-get update sudo apt-get install google-chrome-stable
OR do it using .deb
file
1.Go to https://www.google.com/intl/en-US/chrome/browser/
2.Click Download and a small window will pop up with some download options.
- choose
.deb
file for Ubuntu.
3.It will automatically installed after you open it using Ubuntu software center
I had the same problem and run
sudo apt --fix-broken install
this command install all the missing packages