Install SQL Server on Debian
This worked for me on Debian 8 (Jessie) when I installed the pre-2017 vNext for dbfiddle:


apt-get install curl apt-transport-https sudo
add deb http://ftp.debian.org/debian jessie-backports main to /etc/apt/sources.list
apt-get update &amp;&amp; apt-get install -t jessie-backports openssl ca-certificates
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list | tee /etc/apt/sources.list.d/mssql-server.list
apt-get update &amp;&amp; apt-get install mssql-server
sudo /opt/mssql/bin/mssql-conf setup


However I tried and failed to get the RTM Linux version of 2017 installed on Debian Stretch, ultimately using Ubuntu.