Google Chrome, two ways to install it on Ubuntu 18.04 LTS

about chrome install Ubuntu 18.04

In the next article we are going to take a look at how we can install google chrome on our newly installed Ubuntu 18.04 LTS Bionic Beaver. This post is for newcomers to Ubuntu. It is one of the typical ones that are carried out every time a new version of Ubuntu appears and that on some occasion it has been posted on this blog for older versions of this operating system.

The first method that we are going to see to install Chrome, we will use the graphical interface. In the second we will use the command line. Keep in mind that Google Chrome no longer offers 32-bit support for Gnu / Linux. It should also be mentioned that the complement of Flash is disabled by default and that this will be removed from google browser by 2020.

Install Google Chrome in Ubuntu 18.04 LTS graphically

To begin we are going to go to the download page of this browser using the browser that we have in our system, by default it will be Firefox. When we get to the page shown in the following screenshot, we will only have to click on the Download Chrome button.

Chrome download web

Now we are going to select the first option (64 bit .deb for Debian / Ubuntu). We will click on Accept and install.

download deb chrome

When Firefox asks us how to open this .deb file, let's choose the default option. In this way we will open it with Ubuntu Software.

Chrome installation selection graphical mode

By choosing this first option, the Google Chrome .deb package it will be downloaded to the / tmp / mozilla_ $ username directory. Once the download is complete, the Ubuntu software option will open automatically. We will only have to click the Install button to begin the installation of google-chrome-stable in Ubuntu 18.04.

chrome software option installation

Because software installation on Gnu / Linux requires root privileges, it will be necessary for us to write our password when the system asks for it through a screen similar to the following.

Chrome installation password

Once the installation is complete, we will be able to start chrome browser from the applications menu.

chrome launcher

It can also be started by typing the following command in the terminal (Ctrl + Alt + T):

google-chrome-stable

If, on the other hand, you are one of those who like to practice our skills from the command line, next we are going to see how to install Google Chrome in Ubuntu 18.04 using the terminal.

Install Google Chrome on Ubuntu 18.04 LTS from the command line

To begin we will open a terminal window from the applications menu or by pressing the key combination Ctrl + Alt + T. Once open, we will write the following command in the terminal with which create source file for Google Chrome browser. To create this file, we are going to use Nano. This is a command line text editor that will allow us to edit text files in the terminal.

create bootable usb
Related article:
How to create a bootable Ubuntu USB from Mac and Windows
sudo nano /etc/apt/sources.list.d/google-chrome.list

Now we are going to copy the following line and we will paste it into the google-chrome.list file that we just opened:

add google chrome repository

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

To save the file in the Nano text editor, we will have to press the key combination Ctrl + O. After pressing, we will press Enter to confirm. Next, with the key combination Ctrl + X we will exit the file. After this, we run the following command to download Google signing key:

wget https://dl.google.com/linux/linux_signing_key.pub

We continue to use apt-key to add the signature to our keychain. With this we will achieve that package manager can verify integrity of google chrome .deb package. In the same terminal we write:

signing key chrome

sudo apt-key add linux_signing_key.pub

After this, we are going to update the list of packages and install stable version of Google Chrome. For this we will use the following script:

sudo apt update && sudo apt install google-chrome-stable

If for whatever reason, you want install beta version of Google Chrome, use the following sequence instead of the above:

sudo apt update && sudo apt install google-chrome-beta

To start the Chrome browser, if we opt for the stable version, from the command line, we will execute:

chrome installed on Ubuntu 18.04 LTS

google-chrome-stable

Hope these lines help whoever needs it to install Google Chrome browser on Ubuntu 18.04 LTS.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Jose Manuel CO said

    You can also use GDebi and by terminal with dpkg, actually Chrome, Opera and Vivaldi can be installed at the click of a button.

  2.   Rafa said

    Great!. Thanks greetings..

  3.   sangei said

    Only with the commands I was able to install. Thank you very much.

  4.   Cristian said

    The advantage of adding the repository is the updates, thank you dear

  5.   Juan Ramón said

    Impossible to achieve it, after following the steps you indicate, I get the following message:
    "Omitting the google-chrome-list file from the /etc/apt/siurces.list.d directory no longer has a filename extension"
    “Google-chrome-stable package is not available, but some other package references it. This may mean that the package is missing, obsolete, or only available from some other source »

    Thank you very much.

    1.    Damien Amoedo said

      Hello. Check that you write the commands correctly. I have retested the two options shown in the article on Ubuntu 18.10 and they have worked correctly for me. Salu2.

  6.   Juan Ramón said

    Hello
    My problem was that I have a 32-bit system, hence the glitch.
    Thank you very much anyway.

  7.   Victor villarreal said

    Hello, thank you very much for the article. By console, walked one. Greetings.

  8.   lamarten said

    Are you God!!

  9.   Joseph Bernal said

    Thank you, it helped me a lot. Congratulations.

  10.   leandro said

    thank you brother, it served me well.

  11.   samuel said

    after entering this:
    wget https://dl.google.com/linux/linux signing key.pub

    I get the following:
    –2019-09-13 05:34:06– https://dl.google.com/linux/linux
    Resolving dl.google.com (dl.google.com)… 172.217.2.78, 2607: f8b0: 4008: 80c :: 200e
    Connecting to dl.google.com (dl.google.com) | 172.217.2.78 |: 443… connected.
    HTTP request sent, awaiting response… 404 Not Found
    2019-09-13 05:34:07 ERROR 404: Not Found.

    –2019-09-13 05:34:07– http://signing/
    Resolving signing (signing)... failed: Name or service not known.
    wget: unable to resolve host address 'signing'
    –2019-09-13 05:34:07– http://key.pub/
    Resolving key.pub (key.pub)... failed: No address associated with hostname.
    wget: unable to resolve host address' key.pub

  12.   Victor said

    Thank you very much.

  13.   July said

    Hello, I have followed the whole procedure and in the last step I get:
    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.
    July8th @ July8th-ThinkStation-P500: ~ $ google-chrome-stable
    google-chrome-stable: command not found

    And I do not know what to do anymore.

    Thank you

  14.   July said

    I already corrected my mistake. Thank you anyway.

  15.   matias orozco said

    Thanks, it works for Ubuntu 20.04 (x64 final version)

  16.   Vincent E. said

    Excellent, thank you very much.

  17.   Pioneer said

    It didn't work for me either
    building dependency tree
    Reading state information ... Done
    All packages are up to date.
    Reading package lists ... Done
    Building dependency tree
    Reading state information ... Done
    Package google-chrome-stable is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsolete, or
    is only available from another source

    E: Package 'google-chrome-stable' has no installation candidate
    pioneer @ Mean-Machine: ~ $ google-chrome-stable
    google-chrome-stable: command not found
    pioneer @ Mean-Machine: ~ $ sudo google-chrome-stable
    sudo:google-chrome-stable: command not found
    pioneer @ Mean-Machine: ~ $

  18.   omaro said

    Thank you very much, I love this community and how everyone helps

  19.   Gonzalo said

    And what solution do they give us for those of us who have 32-bit ubuntu? Reinstall the entire operating system and risk losing files and settings? All very loose, put the batteries, what Wednesday tutorials are here. You have to be an engineer to install this grime. If they were better developers, they would have to provide us with a program that installs with two clicks. Go back to college and try to have more contact with people. Greetings to all who make these things possible, on the other side of the street things are less complicated (I was saying this on W7).

  20.   Erik said

    Thank you very much, for the princimpiantes you not only give us the instructions, you tell us why of each one

  21.   Bad said

    it worked the first Ubuntu last stable version

  22.   Martina said

    on this computer that has the same version as on my other pc I get that. why will it be? I don't understand the truth much ...

    E: The package "google-chrome-stable" does not have a candidate for installation
    llll @ lledaza: ~ $ google-chrome-stable

    1.    Damien A. said

      Hello. Is your system 32 or 64 bit? Have you tried downloading the .deb package directly from your web page and then install it ?. Salu2.

  23.   cease said

    Excellent!

  24.   George said

    Hello, I followed the entire installation step by step and it threw me the following error: »[2662: 2662: 0507 / 151457.211727: ERROR: browser_main_loop.cc (1386)] Unable to open X display.», Does anyone know how to fix it?