Install Google Chrome
  • 10 Oct 2024
  • 1 Minute to read
  • PDF

Install Google Chrome

  • PDF

Article summary

Use this script to install Google Chrome on Linux machine.

  1. Copy and save the contents below to a UTF-8 editor like notepad++ OR Sublime Text in Windows or gedit in Ubuntu.

    1. If you are using notepad++ then use the bottom right panel to change the type to Unix (LF).

  2. Or click here to download the file.

    #!/bin/bash
    
    # update package information
    sudo apt-get update
    
    # install dependencies
    sudo apt-get install -y libxss1 libappindicator1 libindicator7
    
    # download the latest version of Chrome
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    
    # install Chrome
    sudo dpkg -i google-chrome-stable_current_amd64.deb
    
    # resolve dependencies if any
    sudo apt-get -f install
  3. Follow our guide to upload & publish the script using Scalefusion Dashboard.

Note:

  1. Some of the scripts and their contents are sourced from internet and yes, our new friend ChatGPT.

  2. Please validate the scripts on a test machine before deploying them on all your managed devices.

  3. Scalefusion has tested these scripts, however Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the usage of these scripts.


Was this article helpful?