Skip to content

Commit 4d85a16

Browse files
author
Steve Stein
authored
Merge pull request #6301 from stevestein/sql-pkg
@craigg-msft - sqlpackage article is the same as the version from MSDN, and it has a long list of command-line syntax so acrolinx score is low. Adding this to the tools section. Build report is clean.
2 parents c7a119b + bf2efaa commit 4d85a16

3 files changed

Lines changed: 682 additions & 1 deletion

File tree

docs/tools/TOC.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@
2929
## [sqllogship Application](sqllogship-application.md)
3030
## [sqlps Utility](sqlps-utility.md)
3131
## [sqlservr Application](sqlservr-application.md)
32-
## [tablediff Utility](tablediff-utility.md)
32+
## [tablediff Utility](tablediff-utility.md)
33+
34+
# sqlpackage
35+
## [install sqlpackage](sqlpackage-download.md)
36+
## [sqlpackage ref](sqlpackage.md)

docs/tools/sqlpackage-download.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
---
2+
title: Download and install sqlpackage | Microsoft Docs
3+
description: 'Download and Install sqlpackage for Windows, macOS, or Linux'
4+
ms.custom: "tools|sos"
5+
ms.date: "06/18/2018"
6+
ms.prod: sql
7+
ms.reviewer: "alayu; sstein"
8+
ms.suite: "sql"
9+
ms.prod_service: sql-tools
10+
ms.component: sos
11+
ms.tgt_pltfrm: ""
12+
ms.topic: conceptual
13+
author: "pensivebrian"
14+
ms.author: "broneill"
15+
manager: craigg
16+
---
17+
# Download and install sqlpackage
18+
19+
sqlpackage runs on Windows, macOS, and Linux.
20+
21+
Download and install the latest .NET Framework release and macOS and Linux previews:
22+
23+
|Platform|Download|Release date|Version|Build|
24+
|:---|:---|:---|:---|:---|
25+
|Windows|[Installer](https://go.microsoft.com/fwlink/?linkid=873386)|Jan 25, 2018|17.4.1|14.0.3917.1|
26+
|macOS (preview)|[.zip](https://go.microsoft.com/fwlink/?linkid=873927)|May 9, 2018 |0.0.1|15.0.4057.1|
27+
|Linux (preview)|[.zip](https://go.microsoft.com/fwlink/?linkid=873926)|May 9, 2018 |0.0.1|15.0.4057.1|
28+
29+
## Get sqlpackage for Windows
30+
31+
This release of sqlpackage includes a standard Windows installer experience, and a .zip:
32+
33+
**Installer**
34+
35+
1. Download and run the [DacFramework.msi installer for Windows](https://go.microsoft.com/fwlink/?linkid=873386).
36+
2. Open a new Command Prompt window, and run sqlpackage.exe
37+
- sqlpackage is installed to the ```C:\Program Files\Microsoft SQL Server\140\DAC\bin``` folder
38+
39+
## Get sqlpackage (preview) for macOS
40+
41+
1. Download [sqlpackage for macOS](https://go.microsoft.com/fwlink/?linkid=873927).
42+
2. To extract the file and launch sqlpackage, open a new Terminal window and type the following commands:
43+
44+
**.zip Installation:**
45+
```bash
46+
mv ~/Downloads/sqlpackage-linux-<version string> ~/sqlpackage
47+
echo 'export PATH="$PATH:~/sqlpackage"' >> ~/.bash_profile
48+
source ~/.bash_profile
49+
sqlpackage
50+
```
51+
52+
## Get sqlpackage (preview) for Linux
53+
54+
1. Download [sqlpackage for Linux](https://go.microsoft.com/fwlink/?linkid=873926) by using one of the installers or the tar.gz archive:
55+
2. To extract the file and launch sqlpackage, open a new Terminal window and type the following commands:
56+
57+
**.zip Installation:**
58+
```bash
59+
cd ~
60+
mkdir sqlpackage
61+
unzip ~/Downloads/sqlpackage-linux-<version string>.zip ~/sqlpackage
62+
echo 'export PATH="$PATH:~/sqlpackage"' >> ~/.bashrc
63+
source ~/.bashrc
64+
sqlpackage
65+
```
66+
67+
> [!NOTE]
68+
> On Debian, Redhat, and Ubuntu, you may have missing dependencies. Use the following commands to install these dependencies depending on your version of Linux:
69+
70+
71+
**Debian:**
72+
```bash
73+
sudo apt-get install libuwind8
74+
```
75+
76+
**Redhat:**
77+
```bash
78+
yum install libunwind
79+
yum install libicu
80+
```
81+
82+
**Ubuntu:**
83+
```bash
84+
sudo apt-get install libunwind8
85+
86+
# install the libicu library based on the Ubuntu version
87+
sudo apt-get install libicu52 # for 14.x
88+
sudo apt-get install libicu55 # for 16.x
89+
sudo apt-get install libicu57 # for 17.x
90+
sudo apt-get install libicu60 # for 18.x
91+
```
92+
93+
94+
## Uninstall sqlpackage (preview)
95+
96+
If you installed sqlpackage using the Windows installer, then uninstall the same way you remove any Windows application.
97+
98+
If you installed sqlpackage with a .zip or other archive, then simply delete the files.
99+
100+
## Supported Operating Systems
101+
102+
sqlpackage runs on Windows, macOS, and Linux, and is supported on the following platforms:
103+
104+
### Windows
105+
- Windows 10
106+
- Windows 8.1
107+
- Windows 8
108+
- Windows 7 SP1
109+
- Windows Server 2016
110+
- Windows Server 2012 R2
111+
- Windows Server 2012
112+
- Windows Server 2008 R2
113+
114+
### macOS
115+
- macOS 10.13 High Sierra
116+
- macOS 10.12 Sierra
117+
118+
### Linux (x64)
119+
- Red Hat Enterprise Linux 7.4
120+
- Red Hat Enterprise Linux 7.3
121+
- SUSE Linux Enterprise Server v12 SP2
122+
- Ubuntu 16.04
123+
124+
## Next Steps
125+
126+
- Learn more about [sqlpackage](sqlpackage.md)
127+
128+
[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839)

0 commit comments

Comments
 (0)