Java, Flash auto installation zsh scripts targeted for Ubuntu Java installation Download the tar from the oracle website Invoke the script with sudo like sudo zsh install_java.sh user /dir/of/java/tar/file Flash installation Download the tar from the Adboe site Call the script in bash / zsh using sudo zsh install_flash.sh user