| title | Download and install sqlpackage | Microsoft Docs |
|---|---|
| description | Download and Install sqlpackage for Windows, macOS, or Linux |
| ms.custom | tools|sos |
| ms.date | 06/18/2018 |
| ms.prod | sql |
| ms.reviewer | alayu; sstein |
| ms.prod_service | sql-tools |
| ms.topic | conceptual |
| author | pensivebrian |
| ms.author | broneill |
| manager | craigg |
sqlpackage runs on Windows, macOS, and Linux.
Download and install the latest .NET Framework release and macOS and Linux previews:
| Platform | Download | Release date | Version | Build |
|---|---|---|---|---|
| Windows | Installer | June 22, 2018 | 17.8 | 14.0.4079.2 |
| macOS (preview) | .zip | May 9, 2018 | 0.0.1 | 15.0.4057.1 |
| Linux (preview) | .zip | May 9, 2018 | 0.0.1 | 15.0.4057.1 |
For details about the latest release, see the release notes.
This release of sqlpackage includes a standard Windows installer experience, and a .zip:
- Download and run the DacFramework.msi installer for Windows.
- Open a new Command Prompt window, and run sqlpackage.exe
- sqlpackage is installed to the
C:\Program Files\Microsoft SQL Server\140\DAC\binfolder
- sqlpackage is installed to the
-
Download sqlpackage for macOS.
-
To extract the file and launch sqlpackage, open a new Terminal window and type the following commands:
.zip Installation:
mv ~/Downloads/sqlpackage-linux-<version string> ~/sqlpackage echo 'export PATH="$PATH:~/sqlpackage"' >> ~/.bash_profile source ~/.bash_profile sqlpackage
-
Download sqlpackage for Linux by using one of the installers or the tar.gz archive:
-
To extract the file and launch sqlpackage, open a new Terminal window and type the following commands:
.zip Installation:
cd ~ mkdir sqlpackage unzip ~/Downloads/sqlpackage-linux-<version string>.zip ~/sqlpackage echo 'export PATH="$PATH:~/sqlpackage"' >> ~/.bashrc source ~/.bashrc sqlpackage
[!NOTE] On Debian, Redhat, and Ubuntu, you may have missing dependencies. Use the following commands to install these dependencies depending on your version of Linux:
Debian:
sudo apt-get install libuwind8
Redhat:
yum install libunwind yum install libicu
Ubuntu:
sudo apt-get install libunwind8 # install the libicu library based on the Ubuntu version sudo apt-get install libicu52 # for 14.x sudo apt-get install libicu55 # for 16.x sudo apt-get install libicu57 # for 17.x sudo apt-get install libicu60 # for 18.x
If you installed sqlpackage using the Windows installer, then uninstall the same way you remove any Windows application.
If you installed sqlpackage with a .zip or other archive, then simply delete the files.
sqlpackage runs on Windows, macOS, and Linux, and is supported on the following platforms:
- Windows 10
- Windows 8.1
- Windows 8
- Windows 7 SP1
- Windows Server 2016
- Windows Server 2012 R2
- Windows Server 2012
- Windows Server 2008 R2
- macOS 10.13 High Sierra
- macOS 10.12 Sierra
- Red Hat Enterprise Linux 7.4
- Red Hat Enterprise Linux 7.3
- SUSE Linux Enterprise Server v12 SP2
- Ubuntu 16.04
- Learn more about sqlpackage