How to install Google Chrome for Ubuntu 17.04 Zesty

12,070

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.

Share:
12,070

Related videos on Youtube

Sandeep Kumar
Author by

Sandeep Kumar

Updated on September 18, 2022

Comments

  • Sandeep Kumar
    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:

      Trying to install gdebi

      • 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
      George Udosen about 7 years
      please try sudo apt update, then sudo apt install -f finally sudo apt dist-upgrade
    • George Udosen
      George Udosen about 7 years
      Please post the contents of cat /etc/apt/sources.list.d/google-chrome.list
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      these are the contents: deb dl.google.com/linux/chrome/deb/stable main
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      Even the update option is not working.
    • George Udosen
      George Udosen about 7 years
      That's because there's an error in that file
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      Okay...so how to deal with that @George
    • George Udosen
      George Udosen about 7 years
      One moment let me get the correct form of that file
    • George Udosen
      George Udosen about 7 years
      The line should have been deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main, but I see yours deb dl.google.com/linux/chrome/deb/stable main. Open that file in an editor like nano and add a # to the front of that line and run thosecommands I gave earlier
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      There'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
      George Udosen about 7 years
      Ok sorry you need to run sudo nano to edit it, please only add a# don't change any other thing
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      Yes I did what you just said, now the contents are : #deb http://dl.google.com/linux/chrome/deb/stable main
    • George Udosen
      George Udosen about 7 years
      Now run the commands I gave you earlier
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      Guess what? Its working!! WOW. The update just began. Thank you very much @George.
    • Sandeep Kumar
      Sandeep Kumar about 7 years
      Why did we added # to the line?
    • George Udosen
      George Udosen about 7 years
      That 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
      Sandeep Kumar about 7 years
      Yeah, everything is working great! Got gdebi and Chrome as well, now its working all right. Thanks again! :)
    • George Udosen
      George Udosen about 7 years
      okay let me post an answer for your acceptance :)