| title | Install azdata with installer on Linux |
|---|---|
| titleSuffix | SQL Server big data clusters |
| description | Learn how to install the azdata tool for installing and managing SQL Server Big Data Clusters with the installer (Linux). |
| author | MikeRayMSFT |
| ms.author | mikeray |
| ms.reviewer | mihaelab |
| ms.date | 01/07/2020 |
| ms.topic | conceptual |
| ms.prod | sql |
| ms.technology | big-data-cluster |
[!INCLUDEtsql-appliesto-ssver15-xxxx-xxxx-xxx]
This article describes how to install azdata for SQL Server 2019 Big Data Clusters on Linux. Before these package managers were available, the installation of azdata required pip.
[!INCLUDE azdata-package-installation-remove-pip-install]
azdata installation package is available for Ubuntu with apt.
Note
The azdata package does not use the system Python, rather installs its own Python interpreter.
-
Get packages needed for the install process:
sudo apt-get update sudo apt-get install gnupg ca-certificates curl wget software-properties-common apt-transport-https lsb-release -y
-
Download and install the signing key:
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc.gpg > /dev/null
-
Add the
azdatarepository information.For Ubuntu 16.04 client run:
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2019.list)"For Ubuntu 18.04 client run:
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)" -
Update repository information and install
azdata:sudo apt-get update sudo apt-get install -y azdata-cli
-
Verify installation:
azdata --version
Upgrade azdata only:
sudo apt-get update && sudo apt-get install --only-upgrade -y azdata-cli-
Uninstall with apt-get remove:
sudo apt-get remove -y azdata-cli
-
Remove the
azdatarepository information:[!NOTE] This step is not needed if you plan on installing
azdatain the futuresudo rm /etc/apt/sources.list.d/azdata-cli.list
-
Remove the signing key:
sudo rm /etc/apt/trusted.gpg.d/dpgswdist.v1.asc.gpg
-
Remove any unneeded dependencies that were installed with Azdata CLI:
sudo apt autoremove
For more information about big data clusters, see [What are [!INCLUDEbig-data-clusters-2019]?](big-data-cluster-overview.md).