Linux Lite Forums
Steam silent install script - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Games Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=19)
+--- Thread: Steam silent install script (/showthread.php?tid=6633)



Steam silent install script - supergamer - 12-05-2019

I made this along with a desktop icon to install Steam silently with a notification saying it is doing it and when it is done. I thought I would share the script to make it easier for someone to do it. The desktop launcher I am sure anyone can make so I am not including it. This is only for 18.04 based and up. You can adjust for using with 16.04 based.


Code:
#!/bin/bash


notify-send --expire-time=10000 'Hello SuperGamer User' 'This is silently installing the Steam client, please be patient'


pkexec apt install steam --yes --assume-yes


rm -f /home/*/Desktop/Steam*


notify-send --expire-time=10000 'Hello SuperGamer User' 'Congratulations, the install has finished'