I am using this command
sudo apt-get update && wget https://minergate.com/download/deb-cli && mv deb-cli minergate-cli-release.deb && sudo apt-get install -y gdebi && sudo gdebi minergate-cli-release.deb && screen minergate-cli -user someone@any.com --xmr
So first I need force yes; when prompted with "do you want to install software package?" y/n
I need to auto select y
Secondly I need to run this whole command in the background. It takes a long time to install.