Install chrome on ubuntu

Source: Internet
Author: User

1.Https://www.google.com/intl/zh-CN/chrome/browser/Download the corresponding version of the installation package

2. Install the chrome package on dpkg:

Sudo dpkg-I google-chrome-stable_current_i386.deb

Problem 1. If there is no accident, the following error prompt will appear, because of the dependency package problem:

(Reading the database... the system currently has 142688 files and directories installed .)

Is preparing to replace google-chrome-stable 30.0.1599.66-1 (using google-chrome-stable_current_i386.deb )...

Extracting and replacing the package file google-chrome-stable...

Dpkg: The dependency problem makes the configuration of google-chrome-stable unable to continue:

Google-chrome-stable depends on libxss1; however:

Libxss1 is not installed.

Dpkg: An error occurred while processing google-chrome-stable (-- install:

Dependency problem-Not Configured

Processing the trigger for desktop-file-utils...

Processing the trigger for bamfdaemon...

Rebuilding/usr/share/applications/bamf. index...

Processing the trigger for gnome-menus...

Processing the trigger for man-db...

An error occurred during processing:

Google-chrome-stable

Install the libxss1 dependency package according to the error prompt:Sudo apt-get install-f

Reading the package list... complete

Analyzing the dependency tree of the software package

Reading status information... complete

Correcting dependency... finished

The following additional software packages will be installed:

Libxss1

The following [new] software packages will be installed:

Libxss1

0 software packages are upgraded, 1 new software package is installed, 0 software packages are to be uninstalled, and 523 software packages are not upgraded.

One software package is not fully installed or uninstalled.

Download the 8,604 B software package.

After decompression, 73.7 kB of extra space will be consumed.

Do you want to continue? [Y/n] y

Enter y when prompted for installation, and chrome will be installed later.

Problem 2: Google Chrome cannot run as the root user

Solution: Find the/usr/share/applications/google-chrome.desktop file, right-click Properties,

Add/opt/google/chrome/google-chrome % U after the command-User-data-dir (in bold red)

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.