Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 2.15 KB

File metadata and controls

85 lines (57 loc) · 2.15 KB
title Install azdata with yum
titleSuffix SQL Server big data clusters
description Learn how to install the azdata tool for installing and managing Big Data Clusters with yum.
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 yum

For Linux distributions with yum there is a package for the azdata-cli. The CLI package has been tested on Linux versions which use yum:

  • RHEL 7, RHEL 8

[!INCLUDE azdata-package-installation-remove-pip-install]

Install with yum

Important

The RPM package of the azdata-cli depends on the python3 package. On your system, this may be a Python version which predates the requirement of Python 3.6.x. If this poses an issue for you, find a replacement python3 package or follow the manual install instructions that use pip.

  1. Import the Microsoft repository key

    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
  2. Create local repository information

    For a RHEL 7 client run:

    sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2019.repo

    For a RHEL 8 client run:

    sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/8/mssql-server-2019.repo
  3. Install with the yum install command

    sudo yum install azdata-cli

Verify install

azdata
azdata --version

Update

Update the azdata-cli with the yum update command.

sudo yum update azdata-cli

Uninstall

  1. Remove the package from your system

    sudo yum remove azdata-cli
  2. Remove the repository information if you do not plan to reinstall azdata-cli

    sudo rm /etc/yum.repos.d/azdata-cli.repo

Next steps

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