How to install google chrome using terminal on linux

Google Chrome is a popular web browser and most widely used by people in the world as a proprietary freeware application. It is developed by Google and build based on Chromium used for accessing the internet. It is first released for Microsoft Windows built with free software components and was later ported to Linux including Debian.

How To Install Chrome on Debian 10?

You can easily install the latest version of chrome 64-bit on Debian 10 through Terminal using Linux command with the complete following ? Method and just make sure that you are using a 64-bit operating system.

Method

To install chrome on Debian 10 via terminal using linux command:

  1. Open your lovely “Terminal” or by using the “Ctrl+Alt+T” keyboard shortcut
  2. Get the latest Chrome “.deb” package by downloading it using the following command code
  3. install Chrome “.deb” package on your Debian 10 system as a user with sudo access by typing command code below
  4. When prompted, enter your user secret password and the installation will continue
  5. Wait a few minutes to complete the installation with all dependencies.
  6. After chrome installation has been successfully completed, you can find and launch it, located in the installed applications in Debian system’s Activities
  7. Start chrome browser either from the command line by typing “google chrome” or by clicking on the Chrome icon (Activities » Google Chrome)

chrome on debian 10

Congratulation, you have been successfully installed the latest version of chrome on Debian 10. You can also install a different free software in your system as you desired for collections of applications.

Last updated June 10, 2021 By Abhishek Prakash 82 Comments

Google Chrome is the world’s most popular web browser. It is fast, secure and full of features to give you the best browsing experience.

Ubuntu comes preinstalled with Firefox browser. Firefox has improved a lot lately and is a better choice specially from the privacy point of view. However, if you are an ardent fan of Google Chrome, I won’t force you to ditch Chrome and move to Firefox.

Google Chrome is not open source and if you try to install Google Chrome from Ubuntu Software Center, you won’t find it there. It will probably suggest installing Chromium (the open source project Chrome is derived from). Chromium is similar to Chrome, but it is still not the real Google Chrome.

Then how do you install Google Chrome on Ubuntu? The simple answer is that you download it from their website.

You can do that in two ways:

Installing Google Chrome on Ubuntu Graphically [Method 1]

If you are absolutely new to Ubuntu and Linux, this could be overwhelming for you and I completely understand that. This is why I am going to list each step with proper screenshots here.

How to install google chrome using terminal on linux

You should keep in mind that Google Chrome is not available for 32-bit operating systems. You should make sure that you are using a 64-bit operating system. Read this article to find out if your system is 32-bit or 64-bit.

You need to have an active internet connection, of course.

Now go to Google Chrome’s website.

You’ll see a download link there. Click on this download button.

When you click the download button, it gives two options for downloading files. You have to download the .deb file which is suitable for Ubuntu.

In the next screen, you should opt for saving the file to the computer instead of opening it in software center for installation.

If you don’t do that and there were some issues from the software center, you’ll have to download the deb file again. It’s better to download and save the file itself.

Your downloaded deb file should be in the Downloads folder. Installing deb files is super easy. Go to this folder and double click on the deb file. You can think of these deb files as those exe files in Windows.

It will then open Ubuntu’s software center and you should see an option for installing Google Chrome now. Hit on the install button.

Troubleshoot: In Ubuntu 20.04, you’ll have to right click on the deb file and select top open with Software Center.

It will ask for your password before starting the installation. You should enter your account’s password. It should take less than a minute for completing the Google Chrome installation. You should see a remove option now which indicates that the software is installed.

Once you have installed Chrome on Ubuntu, you can search for it in the menu. Simply press the Windows key and start typing chrome. Here are some other Ubuntu shortcuts you should know.

Click on this Chrome icon to start using Google Chrome.

Install Google Chrome in Ubuntu Terminal [Method 2]

The process you just saw in method 1 can be done in the terminal as well. Many people prefer the GUI way but if you like using the command line, you can install Google Chrome using the terminal.

It’s not as straight forward as using apt-get install chrome though but it’s not super complicated as well.

To install Google Chrome from the terminal, get the DEB file using the wget command:

Now you can use dpkg to install Chrome from the downloaded DEB file:

That’s it. Now you can find Google Chrome in the menu and start it from there.

Few tips about using Google Chrome on Ubuntu

Now that you have installed Google Chrome on Ubuntu 18.04 or some other version, you should know a few tips.

1. Sync Chrome with your Google account

You probably already know this. If you log in to Chrome with Google account (Gmail account), it will allow you to sync your bookmarks, history, browser plugins and extensions from other devices where you use Google Chrome with the same Google account.

2. Add Chrome to favorites

If you use Google Chrome frequently, it would be a good idea to add it to your favorites in Ubuntu 18.04 default GNOME version so that you can quickly access it from the launcher on the left side.

3. Updating Google Chrome browser

The good thing about Google Chrome is that it adds a repository in your sources.list directory.

In other words, Google Chrome will be updated along with the system updates provided by Ubuntu via the Software Updater. I guess you know how to keep your Ubuntu system updated, don’t you?

4. Google Chrome crash (don’t panic)

If you see an error that says:

“The application Google Chrome has closed unexpectedly”

Don’t panic. Your system is safe. Your Chrome browser is safe and perfectly usable.

Perhaps there was a temporary issue and some browser tab or extension crashed for some reason. But it’s not fatal.

If you keep seeing the pop-up every time you start Google Chrome in Ubuntu, you can use the “Ignore future problems of this program version”.

How to install google chrome using terminal on linux

It’s up to you if you want to send the crash report. Even if you don’t send it, it won’t be a problem.

Conclusion

Installing Google Chrome on Ubuntu is a simple task. It’s not available in the software center but you can download and install it pretty much the same way as you do in Windows and macOS.

This is still easier than installing Google Chrome on Arch Linux, I believe.

By the way, you can improve your browsing experience by using these Google Chrome keyboard shortcuts.

I hope this tutorial helped you to get Google Chrome on Ubuntu and Linux Mint. If you have any questions or suggestions, please feel free to leave a comment below.

Like what you read? Please share it with others.

In this guide, I’m going to show you how to Install the latest Chrome and run it from Terminal on Ubuntu Linux. If you are open source fan, use Chromium which is the open source version of proprietary Google Chrome browser. Few differences exist between Chome and Chromium web browsers. The Google Update daemon which automatically updates Chrome to the latest version is not available for Chromium. Also, Chrome adds non-free codes like AAC, MP3, and H.264. These codecs are not available on Chromium. Chromium only includes limited support for HTML5 audio/video codec to what is available as non-proprietary codecs like WebM, Theora, VP9, etc.

We are going to install, run, update and uninstall Chrome using the terminal on Ubuntu 18.04, CentOS 7 and Arch Linux.

Install and Update Google Chrome on Ubuntu 18.04

a) Using Google repositories

For the terminal centric users, you can easily install latest Google Chrome browser using the official Google repositories. For doing this, create file named “google-chrome.list” in the “/etc/apt/sources.list.d” directory.

But first, you need to add the repository and install apt-key, use the commands:

Type in terminal the following command

and add the following content into that file

or
use below one-liner

After adding Google repository to your sources, you need to get repository key with the following command

Update your sources by running the following command

If all steps mentioned above are done, you can install Google Chrome using apt command.

Note that you can also install beta and unstable versions of Chrome using the same repository. To do that use the following commands.

For unstable version of Chrome

Now you can run Chrome from terminal by running the following command

This will run Google Chrome in background.

If you have already installed Google Chrome via apt and you want to upgrade to the latest version you can type the latest version install command in your terminal:

or update your system by the following command

b) Manually download Debian package

The easiest and most user-friendly way to install Chrome on Ubuntu is to download the .deb package from the official website and install it using the dpkg package manager for Debian based systems. Download Chrome installer from the link. Once you download the package, install it using

After this steps you can run Google Chrome via terminal by the command below:

to run Chrome in background.

The installation process will add a PPA to your system so Google Chrome will receive the latest updates whenever you update your system.

To remove Google Chrome from your system type the command below:

Install Flash Player on Ubuntu

The flashplugin-installer package provides the NPAPI plug-in for Firefox and Chromium. To install Adobe Flash Plugin, you need to enable Canonical Partner repository which offers some proprietary applications that don’t cost any money to use but are closed source.

Install Chromium on Ubuntu

Since Chromium is an opensource version of Chrome, its packages are distributed through official Ubuntu upstream repositories. You just need to update your apt cache index and install it. Use the commands:

If you need Pepper Flash Player – browser plugin

Chromium browser can easily be upgraded by running the commands:

Install and Update Google Chrome on CentOS 7

To get the latest version of Chrome on your CentOS you need to add Google yum repository to your repos. To do this create file named google-chrome.repo in the /etc/yum.repos.d/ directory. Type in terminal the following command

Add the following lines into the file and save

After repository is enabled in your CentOS 7, you can type the following command to see information about latest stable version of Google Chrome

Output of the command will look like this

Record the Version of the latest Google Chrome and proceed to its installation using the following command

This will install the latest stable Google Chrome. Just make sure the outputted version during the installation is the same as the one we saw in info above.

Once the installation process is finished you can open Google Chrome by typing the following command in terminal

This will run the browser in background.

To upgrade already installed Google Chrome to the latest version, just type the install command in your terminal:

Install and Update Google Chrome on ArchLinux

In ArchLinux the installation process of Google Chrome differs from CentOS and Ubuntu. You need to install the google-chrome package from AUR (Arch User Repository). To do this we need to find snapshot download URL of google-chrome package on AUR website. On the website, search for the desired package and find “Download snapshot”. Copy link address by right clicking on the link. Then, using wget command, download the snapshot to your ArchLinux machine. For Google Chrome the command looks like this:

Uncompress the downloaded tar.gz file using the following command:

and change the working directory to newly created one:

Use the following command to compile the package:

After compile, you will have file with .xz extension in your directory. Type ls to view the content of the directory.

Now you can install Google Chrome with the following command:

To run Google Chrome on ArchLinux from terminal you must type:

To remove Chrome from ArchLinux, run the following command in the terminal:

Although most versions of Ubuntu come with Mozilla Firefox installed as the default browser, having Google Chrome installed has its fair advantages. Google Chrome has been the superior choice when it comes to browsing on a desktop, having support for most plugins and a variety of add-ons, the likes of which cannot be found on any other browser.

This makes Google Chrome an ideal browser and a must-have no matter which operating system you are running. This guide will help you install Google Chrome on Ubuntu and instructions to use it with the help of the Terminal.

Although this guide is meant for versions of Ubuntu, it should work the same way for any Linux Distribution.

Installing Google Chrome on Ubuntu

There are two methods to install Google Chrome on Ubuntu. One is using the Graphical User Interface (GUI) and the other by using the Linux Terminal. We will first explain the graphical method and briefly examine how to do it from the Command Line Interface (CLI), i.e., the Terminal.

Open Mozilla Firefox and type “Google Chrome” in the search bar or click here.

You should see a chrome window with a “Download Chrome” button, as shown in the image below. Click on the button to download the browser.

How to install google chrome using terminal on linux

You will be given the option to download .deb or .rpm, which has to do with what Linux Distro you are using. Since this article is concerned with Ubuntu, click on the .deb package and press “Accept and Install.”

How to install google chrome using terminal on linux

A download window should appear. Click on Save File and press OK.

How to install google chrome using terminal on linux

Having done that, double-clicking the file, you downloaded should do. A new window will appear that will prompt you to install Google Chrome on your device. Click on “Install”.

How to install google chrome using terminal on linux

Ubuntu will ask you to authorize the installation by entering your account password.

Alternatively, you can also install Chrome through the Terminal. To do this, we must first use a wget command.

This will download the offline installer for the browser.

Next, we install the package with the following dpkg command.

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

If you get any errors about missing dependencies, run the following command to forcibly install them.

Having successfully installed the Debian package, you are now ready to use Google Chrome.

Opening Google Chrome using the Terminal

Google Chrome, like any other program, can be accessed through its graphical icon. However, those that are fond of using the command-line Terminal to do things are also in luck. We will now show you a way to operate the Chrome browser through the Terminal.

Working on the Terminal allows you to access the browser using a single command. To open Google Chrome with the help of the command line, follow the steps given below:

Go to Desktop > Applications.

Type Terminal in the search bar and click on the first result.

Or you can skip the lengthy process and open a new Terminal session by pressing Ctrl Alt T on your keyboard.

To open Google Chrome, type the following in the Terminal:

This will load up Google Chrome with the default homepage.

How to install google chrome using terminal on linux

Google Chrome does not require you to specify any sort of directories as it is mounted in the binary path.

Let’s look at some more ways to use the Google Chrome browser through the Terminal. Let’s say, for instance, that you wish to visit a specific website. You can do this by entering the URL of the website of your choice, as shown in the command below:

How to install google chrome using terminal on linux

Similar to other Terminal commands, you can enter flags and command parameters with the Google Chrome run command to achieve specific tasks. The general syntax of performing this is given below.

$ google-chrome [options] [URL]

Below is a list of flag options that you can use to achieve daily life tasks through the Terminal.

–incognito Opens the browser in incognito mode

–new-window Opens the path or URL specified in a new window

–version Displays the Version Information

–app=URL Used to run URL in app mode, meaning without toolbars.

If you wish to explore your options even further, run the help command given below:

How to install google chrome using terminal on linux

Additional comments

Keep in mind that to run Google Chrome on your Linux system, the computer architecture must be 64-bit.

Once you install Google Chrome the way we showed you in this guide, you also add Google’s repository, which is responsible for keeping the program up-to-date. So, you do not need to worry about updating the browser yourself.

You can find the path where Google Chrome is located by typing the following command:

You should see the path specified as shown in the image below:

You can also close the browser with the help of the Terminal by typing the following command:

Conclusion

With all the steps followed correctly, you are now ready to use Google Chrome on your laptop or desktop computer. Enjoy one of the fastest and most versatile browsers available to you in the present day and age.

We hope this guide helped you understand how to access Google Chrome with the help of Terminal commands. Apart from that, we also included additional information on how to maneuver through the options and URL shortcuts that come with them.

About the author

Zeeman Memon

Hi there! I’m a Software Engineer by degree, Blogger by skills who loves to write about tech, develop websites & do SEO. You can reach out to me on LinkedIn.

Learn the simple method to install the popular Google Chrome browser on AlmaLinux 8 with the help command line terminal and DNF package manager.

Google Chrome browser is a cross-platform software available to install on popular Linux distros as well. If you are not a fan of inbuilt Mozilla firefox and the open-source version of Chrome i.e Chromium, then you can manually install Chrome on your OS. However, the installation is not like Windows with just one click nor much difficult as well on Almalinux. We can either get the packages to install the browser by adding its repository or downloading the binary directly from the official website.

Google Chrome browser installation on AlmaLinux 8

1. Enable Google DNF repository

To install Chrome using its official repository, first, we have to create a repo file on our system for that-

Add the following content in the file and save it by pressing Ctrl+X, Y, and then hitting Enter key.

2. Run AlmaLinux system update

To let the system know we have added a new repository on our system, run the system update command-

3. Command to install Chrome Web Browser

Finally, we have the repository for Google chrome on our system, now let’s run the command that we’ll download the rpm packages we need to install the browser on our AlmaLinux.

It will ask you to accept the GPG Key, thus simply press the Y key and hit the Enter button for the same.

4. Run Chrome Web Browser

Once the installation is completed, go to All applications or app launcher and search for Chrome. When its icon appears click it to run the browser as a non-root user.

How to install google chrome using terminal on linux

#2nd Method

The above was the one method, another way is to download the RPM binary from the official website of Chrome and then use DNF to install the same.

  • Download Chrome browser64-bit RPM package.
  • Add GPG Key
  • Run the below installation command
  • Installing google chrome on Linux Ubuntu 20.04

    How to install google chrome using terminal on linux

    This blogpost is about how to install Google chrome on Linux Ubuntu 20.04. The most widely used program worldwide is Google Chrome. It is not only fast and secure but jam-packed with options to allow you the simplest browsing expertise. Ubuntu comes with a built-in Firefox browser. Firefox has improved a great deal of late and maybe a more sensible choice, especially for privacy purposes.

    Google Chrome isn’t open supply and if you are attempting to put in Google Chrome from Ubuntu code Centre, you won’t realize it there. It’ll most likely counsel be putting in Chromium which is the open supply project Chrome. Chromium is analogous to Chrome, however, it’s still not exactly like Google Chrome. As Google Chrome is that the most generally used applications program, it is easy to use, and a secure browser engineered for the trendy internet.

    Chrome isn’t an open-source browser, and it’s not enclosed within the Ubuntu repositories. Google Chrome relies on Chromium, an open-source browser that is accessible within the default Ubuntu repositories.

    Here we will see the installation of the Google Chrome on Linux

    Method 1:

    At first we will a few terminal commands that are used to install the chrome in Linux Ubuntu 20.04.

    1. It is the first and foremost step to always update the APT. for this purpose run the following two commands that are given below.

    $ sudo apt update

    $ sudo apt upgrade

    How to install google chrome using terminal on linux

    • If the apt command doesn’t work for the installation of Chrome on Ubuntu then, wget command is used. Also verify if the wget is installed by using this terminal command.

    How to install google chrome using terminal on linux

    • After installing the wget is installed, the chrome is ready for installation. Write the following command for the chrome installation file.
    • Then install the package using dpkg and run the below command:

    $ sudo dpkg -i google-chrome-stable_current_amd64.deb

    • Finally lauch the chrome using terminal. Now write the below text in the terminal window, then Chrome will start.

    How to install google chrome using terminal on linux

    Now simply select or unselect the boxes in a dialogue and hit enter to open the google chrome.

    How to install google chrome using terminal on linux

    Graphical Installation of the Google Chrome

    It will be difficult to use the command-line interface for those who are new to Linux. In this scenario, Linux has the software center of applications that are used to extract and automatically install the Google Chrome package.

    1. In the first step, go the download webpage of google chrome to install it with the help of software center in Linux..
    2. Now press the download button of chrome. Now check the 64 bit .deb for the Ubuntu option.
    3. In the next step, select and install to continue the process. In the next step check the directory for the downloaded package.
    4. Now double-click on the .deb package to start the software center and press the Install button.
    5. In the last step, type the password of the account if you have in order to start the process of installation and the chrome will install in few minutes and its ready to use.
    Conclusion:

    In this Article, I have shown you to install google chrome on Ubuntu 20.04 using 2 different methods. I have also shown you how launch google chrome via the terminal. Hope you enjoyed the article, stay for more on Techoreview.

    Click below to read more from TechoReview.

    Author Info:

    My name is Akhunzada Younis Said. I am a software project manager in HAZTECH, a software engineering graduate and a content writer. I love working with Linux and open-source software.

    How to install google chrome using terminal on linux

    Method 1 (installing via terminal interface):

    In the first method, I will show you a set of commands for installing Google Chrome via the terminal interface in a few easy steps.

    Step 1:

    First of all, as always, update your APT. Use the following two commands.

    How to install google chrome using terminal on linux

    How to install google chrome using terminal on linux

    Step 2:

    As apt-get command will not work for installing Chrome on Ubuntu, so wget command will do the work. First, check if wget is installed by the following command

    How to install google chrome using terminal on linux

    If not installed, then install it via the following command.

    How to install google chrome using terminal on linux

    Step 3:

    When the wget is installed, then we are ready to continue with chrome installation. Enter the following command to get the Google Chrome installation file.

    How to install google chrome using terminal on linux

    Step 4:

    Now install this package via dpkg and enter the following command

    How to install google chrome using terminal on linux

    Step 5:

    Now you can open the Google Chrome browser via terminal. Enter the following text in the terminal window, and Chrome will start.

    You will be prompted by a window, check or uncheck the boxes and press enter. Google Chrome will open.

    How to install google chrome using terminal on linux

    How to install google chrome using terminal on linux

    Method 2: GUI installation of Google Chrome on Ubuntu 20.04

    The 2 nd method is rather an easy method to install Google Chrome on ubuntu 20.04.

    Step 1:

    Go to a web browser like Firefox browser and go to Google Chrome URL. Press the Download button, as shown in the following snapshot.

    How to install google chrome using terminal on linux

    Step 2:

    Select the Debian/Ubuntu, i.e., the first option, and then select the install button as shown in the snapshot.

    How to install google chrome using terminal on linux

    Step 3:

    This is a very important step while installing Google Chrome. Uncheck the “open with” option and check the save option, as shown in the following window.

    How to install google chrome using terminal on linux

    Step 4:

    Go to the download directory and open the downloaded Chrome package. It will open in the Ubuntu Software Center for installation. Click on the install button, and Google Chrome will install via the software center.

    How to install google chrome using terminal on linux

    Step 5:

    Go to the Activities menu and launch Google Chrome from there. You can also add it to your favorites bar by right-clicking it and selecting the add to favorites option.

    How to install google chrome using terminal on linux

    How to install google chrome using terminal on linux

    How to install google chrome using terminal on linux

    Conclusion:

    Installing Google Chrome is not a difficult task at all. Google Chrome is a fast and secure browser, but it does consume a lot of RAM. Firefox has recently evolved and added lots of rich features, but still, Google Chrome is on top of it.

    About the author

    How to install google chrome using terminal on linux

    Younis Said

    I am a freelancing software project developer, a software engineering graduate and a content writer. I love working with Linux and open-source software.

    Google Chrome is a popular web browser and most widely used as a proprietary freeware application. It is developed by Google and used for accessing the world wide web. It is first released for Microsoft Windows built with free software components based on Chromium and was later ported to Linux including Debian 9 as a complete Free Operating System.

    How To Install Chrome on Debian 9?

    You can easily install the latest version of chrome 64-bit on Debian 9 through Terminal using Linux command with the complete following ? Method and just make sure that you are using a 64-bit operating system.

    Method

    To install chrome on Debian 9 via terminal using linux command:

    1. Open your desired and good looking “Terminal” or by using the “Ctrl+Alt+T” keyboard buttons
    2. Get the latest Chrome “.deb” package by downloading it using command code below
    3. install Chrome “.deb” package on your Debian 9 system as a user with sudo access by typing linux command code below
    4. When prompted, enter your account password and the installation will continue to start
    5. Wait a few moments to complete the installation and all required dependencies.
    6. After chrome installation has been successfully completed, you can find and open the software in the installed applications in Debian system’s Activities
    7. Start chrome browser either from the command line by typing “google chrome” or by clicking on the Chrome icon (Activities » Google Chrome)

    google chrome on debian

    Congratulation, you have been successfully installed the latest version of chrome on Debian 9. You can also install a different free browser in your system as you wanted for collections of applications.