Skip to content

Latest commit

 

History

History
110 lines (76 loc) · 2.91 KB

File metadata and controls

110 lines (76 loc) · 2.91 KB
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

Install azdata with apt

[!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]

Install azdata for Linux

azdata installation package is available for Ubuntu with apt.

Install azdata with apt (Ubuntu)

Note

The azdata package does not use the system Python, rather installs its own Python interpreter.

  1. 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
  2. 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
  3. Add the azdata repository 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)"
  4. Update repository information and install azdata:

    sudo apt-get update
    sudo apt-get install -y azdata-cli
  5. Verify installation:

    azdata --version

Update

Upgrade azdata only:

sudo apt-get update && sudo apt-get install --only-upgrade -y azdata-cli

Uninstall

  1. Uninstall with apt-get remove:

    sudo apt-get remove -y azdata-cli
  2. Remove the azdata repository information:

    [!NOTE] This step is not needed if you plan on installing azdata in the future

    sudo rm /etc/apt/sources.list.d/azdata-cli.list
  3. Remove the signing key:

    sudo rm /etc/apt/trusted.gpg.d/dpgswdist.v1.asc.gpg
  4. Remove any unneeded dependencies that were installed with Azdata CLI:

    sudo apt autoremove

Next steps

For more information about big data clusters, see [What are [!INCLUDEbig-data-clusters-2019]?](big-data-cluster-overview.md).