Details of Ubuntu installation in chrome process

Source: Internet
Author: User
Tags bz2

The default browser in Ubuntu is Firefox, but it has always been a good view of chrome. Let's take a look at the process of installing chrome under Ubuntu and review some of the details of the Ubuntu system.

Most Linux installers have several ways to install software:

1. Using the Package Manager, under Ubuntu is apt (Ubuntu16.04) or Apt-get command, other versions of Linux also have their own different package managers, such as CentOS using the Yum command. Using the Package Manager requires connecting to the network, downloading the installation from the network repository, and being able to automatically handle dependencies, which is the preferred method. However, some packages are not in the library, such as Chrome is not there, or through the Package Manager installed problems, then to install manually, then there are two ways.

2. Download or copy the Software installation package to this machine after installation, there are two main installation packages, RPM package and Deb package. RPM package, using the command rpm-i package-name.rpm installation; Deb package, using Dpkg-i package-name.deb installation. When you manually install a package, the package does not handle dependencies, and you can query the dependencies by RPM-QRP package-name.rpm or dpkg--info package-name.deb and install the dependent packages beforehand.

3. Download or copy the source package to this machine, compile and install. The source package is usually a tar package and then compressed files, similar to tar.gz or tar.bz2, all need to unpack the package first, such as the use of TAR-ZXVF package-name.tar.gz or TAR-JXVF package-name.tar.bz2. After decompression, look at the configuration file, if there is a configure file, the first execution of the Configure file, if there is already makefile directly to do and make install.

$./configure$make$makeinstall


Install chorme using apt installation under Ubuntu

If the direct use of the command apt install google-chrome-stable will not be able to locate the package error, APT can configure multiple repositories, APT will search for packages in these libraries, and even the CD-ROM so-called Repository. The following configuration gets the chrome library and updates the list

$sudowget http://Www.linuxidc.com/files/repo/google-chrome.list-P/etc/apt/ sources.list.d/$sudo apt update

This creates a google-chrome.list file under the/etc/apt/sources.list.d folder as the configuration for the new repository, and the content in Google-chrome.list is

Deb [ARCH=AMD64] https://dl.google.com/linux/chrome/deb/stable mainDeb [Arch=amd64] HTTPS://repo.fdzh.org/chrome/deb/stable main

The HTTPS protocol is used in the repository, so we need to configure a public key from Google for verification when apt downloads the software. You can use the Apt-key List command to query the public key that apt can use

$wget -q-o-https:///dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add-$ sudo apt-key list

Wget parameters are particularly many,-Q quiet mode, do not output information,-O to write data to a temporary file "-", easy to read back

Finally, install with the newly configured repository and public key, and then type the software name to start

Install google-chrome-stable$google-chrome-stable

Install after downloading the installation package

Download the 32-bit or 64-bit Deb installation package via the link below

$wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb$  wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install by command

$sudo dpkg-i google-chrome-stable_current_i386.deb$sudo dpkg-i google-chrome-stable_ Current_amd64.deb

Details of Ubuntu installation in chrome process

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.