This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. 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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 1,050,530 times.
Learn more...
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 download Chrome using wget, then use the dpkg or "sudo apt install" command to install the package. If you have access to a different web browser, you can also download the Chrome package in that browser and install it with commands. This wikiHow article will walk you through installing Chrome from the terminal on Ubuntu, Debian, and Linux Mint.
Installing Chrome: Quick Command Line Steps
- Run the commands "sudo apt update" and "sudo apt upgrade".
- If wget isn't installed, run the command "sudo apt install wget" to install it.
- Download the Chrome packaging using the command "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb".
- Install the package using the command "sudo dpkg -i google-chrome-stable_current_amd64.deb".
Steps
-
Open a Terminal window. You can usually do this by pressing Ctrl+Alt+T.
- You can use this method to install Chrome using terminal commands without having to use a different web browser to download the package. If you do have a different web browser to use, you may find it easier to install Chrome with the GUI-based method below.
-
Update your installed packages. To make sure your system is up-to-date, run these two commands:[1]
- Type sudo apt update and press the Enter key.
- Type sudo apt upgrade and press Enter.
Advertisement -
Install wget if you don't already have it. This is the tool you will use to download the Chrome package from the prompt.[2]
- 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.
-
Use wget to download the Chrome package. Since there is no longer a 32-bit version of Chrome, you'll need the 64-bit version. To get the latest stable version, run this command:[3]
- 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.
-
Install the downloaded Chrome package. To install Chrome from the downloaded package, use the following command:[4]
- Type sudo dpkg -i google-chrome-stable_current_amd64.deb and press Enter.
- Alternatively, you can install the package using the command sudo apt install ./google-chrome-stable_current_amd64.deb.
-
Fix errors that occurred in the Chrome installation. If you see any errors during the installation, type sudo apt install -f and press the Enter key to repair them.[5]
-
Type google-chrome and press ↵ Enter to launch Chrome.[6]
-
Click the Download Chrome button on Chrome's Linux download site. If you want to download the Chrome package and install it manually, it's easy to do. Scroll down to the bottom of the page and click Download Chrome to get started.[7]
- Use this method if you have a different web browser (like Firefox).
-
Download the package for your version of Linux. If you're using a Debian-based Linux like Ubuntu or Linux Mint, select the .DEB package. If you need a package for a Red Hat-based Linux distribution like RHEL or CentOS, select the .RPM. Once selected, click Accept and Install.[8]
- If prompted, select a download location and click OK to continue.
-
Install the package. Depending on your desktop environment, you may be able to install the package by double-clicking it and following the on-screen instructions. Otherwise, you can install manually in a terminal window. Here's how:
- Install the DEB package
- In a terminal, navigate to your downloads folder. For example, if your downloads folder is called Downloads, type cd Downloads and press Enter.
- Type sudo apt install ./google-chrome-stable_current_amd64.deb and press Enter.
- If the name of the file is different, replace "google-chrome-stable_current_amd64.deb" with the name of the file you downloaded.
- Press Y to install Chrome.
- Install the RPM package
- In a terminal, navigate to your downloads folder. For example, if your downloads folder is called Downloads, type cd Downloads and press Enter.
- Type sudo rpm -i google-chrome-stable_current_x86_64.rpm and press Enter.
- If the name of the file is different, replace "google-chrome-stable_current_x86_64.rpm" with the name of the file you downloaded.
- Install the DEB package
-
Type google-chrome and press ↵ Enter to launch Chrome.[9]
Community Q&A
-
QuestionI 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?
Community AnswerYou 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. -
QuestionI couldn't get the second command to work.
Anuj_Kumar1Community AnswerMake sure you have recent version of Linux and active internet connection. Old version of Linux have old repository links which may not be available. -
Question1. 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?
ArroganceTop AnswererNo. 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.
Video
Tips
References
- ↑ https://support.google.com/chromebook/answer/9145439?hl=en
- ↑ https://www.linuxjournal.com/content/how-can-you-install-google-browser-debian
- ↑ https://www.linuxjournal.com/content/how-can-you-install-google-browser-debian
- ↑ https://linuxhint.com/install-google-chrome-on-ubuntu-22-04/
- ↑ https://www.xda-developers.com/how-install-chrome-ubuntu/#how-to-install-chrome-on-ubuntu-using-terminal
- ↑ https://linuxhint.com/install-google-chrome-on-ubuntu-22-04/
- ↑ https://support.google.com/chrome/answer/95346?co=GENIE.Platform=Desktop#zippy=,linux
- ↑ https://www.google.com/chrome/?platform=linux
- ↑ https://linuxhint.com/install-google-chrome-on-ubuntu-22-04/
About This Article
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.






