Installing Chrome on Ubuntu x64 (Using your Windows Share)


Download the Chrome deb file that you wish to install on your target Ubuntu x64 Clients.



Save the DB on the Windows share being used for deploying applications using Management Utilities


In our example we are using a share on our server 192.168.200.57\apps\linuxapps\ it uses the same username and password as used in our windows Authentication to access the share - this will be used in the script


**Please Note - you must run the commands silent with no output or user prompts



Script - Install Chrome x64 (Windows Share)

Create the following script using a text editor on Linux or using or with Notepad++ (with EOL Conversion set to Unix) and save it to the shared apps folder on the windows server


In our example we are using the following to access the share:

username = administrator

password = SyAM123$

path = \\192.168.200.57\apps\linuxapps\


In our example we are using the following for the ubuntu user password to run as sudo:

Ubuntu user password = 12345678




#!/bin/bash

echo 12345678 | sudo -S smbget -n -q -u administrator -p SyAM123$ smb://192.168.200.57/apps/linuxApps/google-chrome-stable_current_amd64.deb

echo 12345678 | sudo -S dpkg -i google-chrome-stable_current_amd64.deb; sudo apt-get -y -f install

cd $home

echo 12345678 | sudo -S rm -f google-chrome-stable_current_amd64.deb



**Please Note your script must be saved as .sh


**Please Note - This will only work on Ubuntu 64bit


Now create a Third Party Template to run the script


Give the template a name, select Linux, choose the Authentication Template that contains the username and password for both Windows App share file access the root level user on the Linux target system


Click find files to select your script, press Add and the check the Copy check box.