How to install chrome in Linux and install chrome in Linux

Source: Internet
Author: User

How to install chrome in Linux and install chrome in Linux

Download the chrome. deb file and use the command to install it.

$ sudo dpkg --install chrome.deb
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 was automatically installed and is no longer required:  linux-headers-3.5.0-17Use 'apt-get autoremove' to remove it.The following packages will 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, 140 MB disk space will be freed.Do you 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-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
1.

You can try this method:

Update your system and you shoshould now be able to installgoogle-chrome-stable.


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


Use the above command to install


2.

Direct online installation:

First install this:

sudo apt-get install -f

Run the following command:

sudo apt-get install chromium-browser

In this way, you can.


Related Article

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.