How to Install Google Chrome Using Terminal on Linux

Download ArticleDownload Article

Need to install Google Chrome on Linux from the command line? Whether you're logged in remotely or using a terminal window, it's easy to install Chrome using wget to download the installer and dpkg to run it. This How.com.vn article will walk you through installing Chrome from the terminal on Ubuntu or Debian Linux.

  1. How.com.vn English: Step 1 Press Ctrl+Alt+T to open a terminal window.
    [1]
  2. How.com.vn English: Watermark How.com.vn to Install Google Chrome Using Terminal on Linux
    To make sure your system is up-to-date, run these two commands:[2]
    • Type sudo apt update and press the Enter key.[3]
    • Type sudo apt upgrade and press the Enter key.
    Advertisement
  3. How.com.vn English: Watermark How.com.vn to Install Google Chrome Using Terminal on Linux
    This is the tool you will use to download the Chrome package from the prompt.[4]
    • Type wget --version and press the Enter key. If you see a version number, just skip to the next step now.
    • If you get an error because wget is not installed, type sudo apt install wget and press the Enter key to install it.
  4. How.com.vn English: Watermark How.com.vn to Install Google Chrome Using Terminal on Linux
    Since there is no longer a 32-bit version of Chrome, you'll need the 64-bit version. To get it the latest stable version, run this command:[5]
    • Type wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb and press the Enter key.
    • After the package is finished downloading, you'll return to the command prompt.
  5. How.com.vn English: Watermark How.com.vn to Install Google Chrome Using Terminal on Linux
    To install Chrome from the downloaded package, use the following command:[6]
    • Type sudo dpkg -i google-chrome-stable_current_amd64.deb and press Enter.
  6. How.com.vn English: Step 6 Fix errors that occurred in the Chrome installation.
    If you see any errors during the installation, type sudo apt-get install -f and press the Enter key to repair them.
  7. How.com.vn English: Step 7 Type google-chrome and press ↵ Enter to launch Chrome.
    [7]
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I downloaded Google Chrome for Linux in the terminal and launched it by typing "google-chrome," but it said "Command not found." What do I do?
    How.com.vn English: Community Answer
    Community Answer
    You have to install it. Downloading is only half the job. Only installed packages can be run from terminal. In Unix systems it usually means it's extracted into a specific path, which is usually done by the package manager itself.
  • Question
    I couldn't get the second command to work.
    How.com.vn English: Anuj_Kumar1
    Anuj_Kumar1
    Community Answer
    Make sure you have recent version of Linux and active internet connection. Old version of Linux have old repository links which may not be available.
  • Question
    1. Is it necessary to always open Google Chrome from terminal, and 2. Must the terminal screen be kept open for Google Chrome to keep working?
    How.com.vn English: Arrogance
    Arrogance
    Top Answerer
    No. Chrome should show up in the applications of menu of most desktop environments. You can also launch it from a simple run prompt in most environments by pressing Alt-F2, and then entering google-Chrome in the box. Normally, closing the terminal would close Chrome (or most applications launched from it). If you launch google-chrome as a background process (using the command "google-chrome &") and then disown the process (running "disown #", where # is the PID of the process), you can close the terminal and leave Chrome running. Alternatively, launch Chrome with nohup ("nohup google-chrome") and then close the terminal.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 840,874 times.
      How helpful is this?
      Co-authors: 11
      Updated: November 26, 2023
      Views: 840,874
      Article SummaryX

      1.Press Control + Alt + T to open a terminal.
      2.Type "sudo apt update and press" Enter.
      3.Type "sudo apt upgrade" and press Enter.
      4.Install wget if you don't already have it.
      5.Use "wget" to download the latest page from Google.
      6.Use "sudo dpkg –I" to install the package.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 840,874 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement