azdata with zypper
For Linux distributions with
zypper there is a package for the
azdata-cli. The CLI package has been tested on Linux versions which use
- openSUSE 42.2 (leap) +
- SLES 12 SP 2 +
You can install
azdata on Linux with yum, apt, or zypper, or on MacOS with Homebrew installation package managers. Before these package managers were available, installation required Python and pip.
Before you proceed, you need to remove any installation of
azdata that were installed to the global system Python. The new installers or native-packages add
azdata to your path and it is impossible to know which one is first.
If you have an existing
azdata installed to the global system Python, remove it before proceeding.
To view your current installation, run the following command:
$ pip list --format columns
azdata is installed by pip it returns the package and version. For example:
Package Version ------------------- ---------- azdata-cli 15.0.X azdata-cli-app 15.0.X azdata-cli-cluster 15.0.X azdata-cli-core 15.0.X azdata-cli-hdfs 15.0.X azdata-cli-notebook 15.0.X azdata-cli-profile 15.0.X azdata-cli-spark 15.0.X azdata-cli-sql 15.0.X
The following example removes a pip installation of
$ pip freeze | grep azdata-* | xargs pip uninstall -y
After you have verified that you have removed any installation of
azdata that was installed with pip, proceed with your installation.
Install with zypper
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
Install dependencies necessary to install
sudo zypper install -y curl
Import the Microsoft repository key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Create local repository information
sudo zypper addrepo -fc https://packages.microsoft.com/config/sles/12/mssql-server-2019.repo
sudo zypper install --from packages-microsoft-com-mssql-server-2019 -y azdata-cli
azdata azdata --version
azdata-cli with the
zypper update command.
sudo zypper refresh sudo zypper update azdata-cli
Remove the package from your system
sudo zypper removerepo azdata-cli
For more information about big data clusters, see What are SQL Server 2019 Big Data Clusters?.