1wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
2sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"
3sudo apt-get update
4sudo apt-get install -y mssql-server
5sudo /opt/mssql/bin/mssql-conf setup
6systemctl status mssql-server --no-pager