We are excited to announce preview support for SQL Server 2025 on Ubuntu 26.04 LTS, starting with SQL Server 2025 CU11.
This brings SQL Server 2025 to Canonical's latest long-term support release, giving developers and organizations an opportunity to evaluate SQL Server on a modern Ubuntu platform.
Alongside this announcement, this blog covers: how to install SQL Server 2025 on Ubuntu 26.04, and the simplified Azure deployment experience for SQL Server on Linux Azure VMs.
Preview note: SQL Server 2025 support on Ubuntu 26.04 is currently in preview and is intended for evaluation and testing, not production workloads. Supported platforms and package availability continue to evolve - always check the Release notes for SQL Server on Linux for the latest supported OS matrix.
Why Ubuntu 26.04 support matters
Organizations increasingly standardize their infrastructure on long-term support (LTS) operating system releases to maintain consistency across their environments.
With SQL Server 2025 support on Ubuntu 26.04, you can begin evaluating your database workloads on Canonical's latest LTS release while taking advantage of improvements in the underlying operating system.
SQL Server 2025 also introduces capabilities such as native vector search and external AI model integration, enabling developers to build modern AI-enabled applications using their existing SQL Server data.
This preview provides an opportunity to validate application compatibility, evaluate deployment configurations, and prepare for future adoption.
One SQL Server engine across deployment environments
SQL Server provides a consistent core database engine across Windows and Linux, allowing organizations to use familiar database capabilities and tools across different environments.
SQL Server on Linux can be deployed on physical servers, virtual machines, and supported container platforms, giving customers flexibility in how they manage their database infrastructure.
Ubuntu 26.04 preview support expands the operating system options available for evaluating SQL Server 2025.
Installing SQL Server 2025 on Ubuntu 26.04
You can install SQL Server 2025 directly on an Ubuntu 26.04 machine, whether it is running on Azure, another cloud platform, or on-premises.
The installation follows the familiar SQL Server on Ubuntu workflow: configure the Microsoft package repository, install SQL Server, and complete the initial setup.
Step 1: Import Microsoft’s GPG key
First, install the required utilities and import Microsoft's package signing key.
# Ensure curl is available, then import the Microsoft signing key
sudo apt-get update && sudo apt-get install -y curl
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
Step 2: Register the SQL Server 2025 repository
Note: The Ubuntu 26.04 package repository configuration is temporarily unavailable, and we are working on a resolution. In the meantime, you can continue using the container image: mcr.microsoft.com/mssql/server:2025-CU11-ubuntu-26.04-preview
Configure the Microsoft package repository for SQL Server 2025 on Ubuntu 26.04.
# Register the SQL Server 2025 repo for Ubuntu 26.04
curl -fsSL https://packages.microsoft.com/config/ubuntu/26.04/mssql-server-preview.list | sudo tee /etc/apt/sources.list.d/mssql-server-peview.list
Step 3: Install SQL Server 2025
Update the package index and install the SQL Server engine.
sudo apt-get update
sudo apt-get install -y mssql-server
Step 4: Configure SQL Server
Run the SQL Server configuration utility to select your edition, accept the license terms, and configure the system administrator password.
# Choose edition, accept the license terms, set the SA password
sudo /opt/mssql/bin/mssql-conf setup
# Verify the service is running
systemctl status mssql-server --no-pager
Step 5: Install SQL Server command-line tools (optional)
You can also install the SQL Server command-line utilities, including sqlcmd and bcp.
First, register the Microsoft production repository.
# Add the prod repo, then install sqlcmd / bcp (mssql-tools18)
curl -fsSL https://packages.microsoft.com/config/ubuntu/26.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
sudo apt-get update
sudo apt-get install -y mssql-tools18 unixodbc-dev
That’s it. With SQL Server 2025 installed on Ubuntu 26.04, you can connect using familiar tools such as SQL Server Management Studio (SSMS), the MSSQL extension for Visual Studio Code, or sqlcmd.
You can now begin exploring SQL Server 2025 capabilities and validating your applications on Ubuntu 26.04.
Simplifying SQL Server on Linux deployments in Azure
In addition to expanding operating system support, we've introduced a more flexible way to deploy SQL Server on Linux Azure Virtual Machines.
Traditionally, customers deployed SQL Server on Linux using preconfigured Azure Marketplace images that included both the operating system and SQL Server.
The new script-based deployment experience simplifies this approach by allowing customers to provision a Linux VM and configure SQL Server as part of the deployment process.
Instead of relying on a preconfigured SQL Server image, customers can start with a supported Linux operating system image and select their SQL Server configuration.
How script-based deployment works
If you prefer a SQL-first deployment experience, the Azure SQL hub provides a streamlined way to deploy SQL Server on Linux Azure VMs.
- Go to the Azure SQL hub at aka.ms/azuresqlhub.
- Under SQL Server, select SQL Server on Azure VMs, and then select + Create.
- Select the operating system for your deployment.
- You will be redirected to the Create a virtual machine experience. Your operating system selection is automatically carried forward, and Install SQL Server option is enabled by default under the Advanced tab.
- Configure the remaining VM and SQL Server settings. You can also use advanced configuration to upload a custom mssql.conf file, configure SQL connectivity, enable Azure Key Vault integration, and the tuned performance profile.
- Select Review + create, review the configuration summary, and then select Create.
- Azure provisions the VM, installs and configures SQL Server through the same script-based deployment flow, and automatically registers the VM with the SQL IaaS Agent extension.
Getting started & reference
- Install on Ubuntu: Quickstart: Install SQL Server and create a database on Ubuntu
- Installation guidance: Installation guidance for SQL Server on Linux
- Supported platforms: Release notes for SQL Server on Linux
- Containers: Deploy and connect to SQL Server Linux containers
- SQL IaaS Agent extension (Linux): Overview · Register a Linux SQL Server VM
Wrapping up
Preview support for SQL Server 2025 on Ubuntu 26.04 LTS marks another step in expanding deployment flexibility for SQL Server on Linux. Together with the new script-based deployment experience on Azure VMs and integration with the SQL IaaS Agent extension, customers have more options to deploy and manage SQL Server on Linux.
We encourage you to explore SQL Server 2025 on Ubuntu 26.04 in your test environments and share your feedback to help us continue improving the experience.