Specifically for Dima:
for example, our file is /tmp/ProvideSupportConsole-debian_5.4.4_amd64.deb
installation from the terminal:
sudo dpkg -i /tmp/ProvideSupportConsole-debian_5.4.4_amd64.deb
and we add it to autostart:
sudo sed '3a\ ProvideSupportConsole' /etc/rc.local > /tmp/rc.local
sudo mv /etc/rc.local /etc/rc.local.old
sudo mv /tmp/rc.local /etc/rc.local
All of this is placed in a script to automate further installation:
for example, we create the file install.sh, set the executable flag, and write:
#!/bin/sh
sudo dpkg -i /tmp/ProvideSupportConsole-debian_5.4.4_amd64.deb
sudo sed '3a\ ProvideSupportConsole' /etc/rc.local > /tmp/rc.local
sudo mv /etc/rc.local /etc/rc.local.old
sudo mv /tmp/rc.local /etc/rc.local
run the script:
sh /tmp/install.sh
