Q&A for How to Install Google Chrome Using Terminal on Linux

Return to Full Article

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?
    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.
    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?
    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.
  • Question
    Is there any way to install Chrome in Linux without using sudo command?
    Arrogance
    Top Answerer
    The sudo command is used to elevate the command to root permissions. If you can achieve root by other means, such as by login or "su root", you do not need the sudo command. Chrome only comes packaged for Ubuntu, Debian, Fedora, and RHEL (and derivatives), all of which either include sudo by default or is easily installable. It may be possible to extract the .deb or RPM packages and use Chrome from your local directory, but this requires that all the libraries it needs are installed on the system, and that your home directory is on a file system with executable permissions. I do not recommend trying to install Chrome on a system that does not belong to you.
  • Question
    Can I use the same command on a 32-bit system?
    Arrogance
    Top Answerer
    Google Chrome no longer supports 32-bit systems. Your Linux distribution may have Chromium available, which is the open-source version of Google Chrome, and can be compiled as a 32-bit program.
  • Question
    Installed, but fails when executed on WSL Ubuntu: "Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied". Why?
    Arrogance
    Top Answerer
    WSL1 doesn't emulate a full Linux kernel, only the ones necessary for common CLI/server apps. Microsoft does not plan to fix this. If you want to use the Linux version of Chrome from within Windows, you'll need to use WSL2, which runs a real Linux kernel.
Ask a Question

      Return to Full Article