| 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 |
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]
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.
-
Import the Microsoft repository key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
-
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
-
Install with the
yum installcommandsudo yum install azdata-cli
azdata
azdata --version
Update the azdata-cli with the yum update command.
sudo yum update azdata-cli-
Remove the package from your system
sudo yum remove azdata-cli
-
Remove the repository information if you do not plan to reinstall
azdata-clisudo rm /etc/yum.repos.d/azdata-cli.repo
For more information about big data clusters, see [What are [!INCLUDEbig-data-clusters-2019]?](big-data-cluster-overview.md).