How to install Google Chrome for Ubuntu 17.04 Zesty
By far the simplest way to get up and running is to open a shell and make sure that libappindicator1 is installed. I reinstalled 5 minutes ago, and this was all I needed on a fresh 16.04.3, which I believe is going to behave exactly like 17.04.
sudo apt-get install libappindicator1
After that is set you can either download and use
sudo dpkg -i google-blahblah.deb
Or simply choose install from the website, and let the package manager do the work. I prefer the second option even though I like to use the CLI whenever possible, its just faster.
Note that if things act weird, say during installing libappindicator something gives an error or complains and does not finish cleanly, use the command already listed to fix the install problems, like so
sudo apt-get install -f
Make sure you don't issue it with any other parameters. I admittedly had to issue this command myself even though my files are virgin right now. Chow.
Related videos on Youtube
Sandeep Kumar
Updated on September 18, 2022Comments
-
Sandeep Kumar almost 2 years
While trying to install the .deb applications in Ubuntu 17.04, it shows errors.
-
I used dpkg as well :
sudo dpkg -i google-chrome-stable_current_amd64.deb
Error : Using dpkg command
- I tried to install gdebi from command line as well and theres another error:
- I tried to install gdebi from the Application Store, but nothing happens there.
-
I also downloaded two files of gdebi from Launchpad
gdebi_0.9.5.7+nmu1.dsc
gdebi_0.9.5.7+nmu1.tar.xz
but I dont understand what to do with them.
-
While trying to update:
sudo apt update
Error :
`E: Malformed entry 1 in list file /etc/apt/sources.list.d/google-chrome.list (Component)
E: The list of sources could not be read. `
-
George Udosen about 7 yearsplease try
sudo apt update
, thensudo apt install -f
finallysudo apt dist-upgrade
-
George Udosen about 7 yearsPlease post the contents of
cat /etc/apt/sources.list.d/google-chrome.list
-
Sandeep Kumar about 7 yearsthese are the contents: deb dl.google.com/linux/chrome/deb/stable main
-
Sandeep Kumar about 7 yearsEven the update option is not working.
-
George Udosen about 7 yearsThat's because there's an error in that file
-
Sandeep Kumar about 7 yearsOkay...so how to deal with that @George
-
George Udosen about 7 yearsOne moment let me get the correct form of that file
-
George Udosen about 7 yearsThe line should have been
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
, but I see yoursdeb dl.google.com/linux/chrome/deb/stable main
. Open that file in an editor likenano
and add a#
to the front of that line and run thosecommands I gave earlier -
Sandeep Kumar about 7 yearsThere's some permission issues with that file, I am unable to rewrite the contents as :
deb dl.google.com/linux/chrome/deb/stable main
. Other way around via terminal or something? -
George Udosen about 7 yearsOk sorry you need to run
sudo nano
to edit it, please only add a#
don't change any other thing -
Sandeep Kumar about 7 yearsYes I did what you just said, now the contents are :
#deb http://dl.google.com/linux/chrome/deb/stable main
-
George Udosen about 7 yearsNow run the commands I gave you earlier
-
Sandeep Kumar about 7 yearsGuess what? Its working!! WOW. The update just began. Thank you very much @George.
-
Sandeep Kumar about 7 yearsWhy did we added # to the line?
-
George Udosen about 7 yearsThat line wasn't formed very well as a result of I guess the botched install of chrome, we simply commented it out to allow it be re-created and or allow updates to go on successfully. About the chrome is that okay too?
-
Sandeep Kumar about 7 yearsYeah, everything is working great! Got gdebi and Chrome as well, now its working all right. Thanks again! :)
-
George Udosen about 7 yearsokay let me post an answer for your acceptance :)
-