How to install Chrome in Linux

Source: Internet
Author: User

Download the. deb file for Chrome and plan to install it with the command

$ sudo dpkg --install chrome.deb
Result Error:

[sudo] password for young:selecting previously unselected package google-chrome-stable. (Reading database ... 141861 files and directories currently installed.) Unpacking google-chrome-stable (from Chrome.deb) ... dpkg:dependency problems prevent configuration of Google-chrome-stable:google-chrome-stable depends on libgconf2-4 (>= 2.27.0); However:package libgconf2-4 is not installed. Google-chrome-stable depends on libnss3-1d (>= 3.12.3); However:package libnss3-1d is not installed. Google-chrome-stable depends on Libxss1; However:package Libxss1 is not installed.dpkg:error processing google-chrome-stable (--install): Dependency Problems- Leaving unconfiguredprocessing triggers for desktop-file-utils ... Processing triggers for Bamfdaemon ... Rebuilding/usr/share/applications/bamf.index ... Processing triggers for Gnome-menus ... Processing triggers for man-db ... Errors were encountered while processing:google-chrome-stable$ sudo apt-get install-freading package lists ... DOnebuilding Dependency Tree Reading state information ... donecorrecting dependencies ... Donethe following package were automatically installed and is no longer required:linux-headers-3.5.0-17use ' Apt-get autor Emove ' to remove it. The following packages'll be REMOVED:GOOGLE-CHROME-STABLE0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded .1 not fully installed or removed. After this operation, the disk space would be freed. Want to continue [y/n]? Y (Reading database ... 141960 files and directories currently installed.) Removing google-chrome-stable ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... Processing triggers for Bamfdaemon ... Rebuilding/usr/share/applications/bamf.index ... Processing triggers for Gnome-menus ... $ sudo dpkg--install chrome.debselecting previously unselected package Google-chro Me-stable. (Reading database ... 141861 files and directories currently installed.) Unpacking google-chrome-stable (from Chrome.deb) ... dpkg:dependency problems prevent configuration of google-chrome-stable:google-chrome-stable depends on libgconf2-4 (>= 2.27.0); However:package libgconf2-4 is not installed. Google-chrome-stable depends on libnss3-1d (>= 3.12.3); However:package libnss3-1d is not installed. Google-chrome-stable depends on Libxss1; However:package Libxss1 is not installed.dpkg:error processing google-chrome-stable (--install): Dependency Problems- Leaving unconfiguredprocessing triggers for desktop-file-utils ... Processing triggers for Bamfdaemon ... Rebuilding/usr/share/applications/bamf.index ... Processing triggers for Gnome-menus ... Processing triggers for man-db ... Errors were encountered while Processing:google-chrome-stable
1.

You can try this method:

Update your system and should now is able to install google-chrome-stable .


sudo apt-get updatesudo apt-get install libgconf2-4 libnss3-1d libxss1


Then install it with the above command


2.

Direct Online Installation:

Install this first:

sudo apt-get install -f

Then enter the following command:

sudo apt-get install chromium-browser

That's all you can do.


How to install Chrome in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.