

Optional: Add /opt/mssql-tools18/bin/ to your PATH environment variable in a bash shell.
INSTALL GENYMOTION UBUNTU 16.04 UPDATE
To update to the latest version of mssql-tools, run the following commands: sudo apt-get update
INSTALL GENYMOTION UBUNTU 16.04 INSTALL
Sudo apt-get install mssql-tools18 unixodbc-dev Update the sources list and run the installation command with the unixODBC developer package. Register the Microsoft Ubuntu repository.įor Ubuntu 20.04, use the following command: curl > /etc/apt//mssql-release.listįor Ubuntu 18.04, use the following command: curl > /etc/apt//mssql-release.listįor Ubuntu 16.04, use the following command: curl > /etc/apt//mssql-release.list Ubuntu 20.04 is supported starting with SQL Server 2019 (15.x) CU 10.Ubuntu 18.04 is supported starting with SQL Server 2019 (15.x) CU 3.Use the following steps to install the mssql-tools18 on Ubuntu. The following steps install the SQL Server command-line tools: sqlcmd and bcp. To create a database, you need to connect with a tool that can run Transact-SQL statements on SQL Server. If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall.Īt this point, SQL Server is running on your Ubuntu machine and is ready to use! Install the SQL Server command-line tools Once the configuration is done, verify that the service is running: systemctl status mssql-server -no-pager You need a minimum length 8 characters, including uppercase and lowercase letters, base-10 digits and/or non-alphanumeric symbols. Remember to specify a strong password for the SA account. As a reminder, the following SQL Server editions are freely licensed: Evaluation, Developer, and Express.

Run the following commands to install SQL Server: sudo apt-get updateĪfter the package installation finishes, run mssql-conf setup and follow the prompts to set the SA password and choose your edition. If you want to install a different version of SQL Server, see the SQL Server 2017 (14.x) or SQL Server 2019 (15.x) versions of this article.
