Published on

October 27, 2024

How to Install Azure Data Studio on Linux

If you work with SQL Server on Linux, Azure Data Studio (ADS) is a perfect tool for development activities. It is a cross-platform tool and can be installed on Windows, Linux, and macOS. In this article, we will explore how to install Azure Data Studio on RedHat, Ubuntu, and SUSE Linux systems.

Installing Azure Data Studio on Ubuntu

To install Azure Data Studio graphically on Ubuntu, follow these steps:

  1. Launch Ubuntu in graphical mode.
  2. Download the DEB file version of ADS.
  3. Click on the downloaded file and choose software install.
  4. Enter the administrator credentials and click Authenticate.
  5. Launch Azure Data Studio using the icon.

Once launched, Azure Data Studio provides a welcome page with shortcuts to create connections, open files and folders, and run queries. You can also add additional functionality to Azure Data Studio by installing extensions from the marketplace.

Installing Azure Data Studio on Debian-based Systems

If you are using a Debian-based Linux system such as Ubuntu, you can install Azure Data Studio using the .deb file format. Here are the steps:

  1. Download the latest version of Azure Data Studio in .deb format.
  2. Launch the terminal and run the command: sudo dpkg -i ./Downloads/azuredatastudio-linux-1.36.1.deb
  3. If there are any missing dependencies, run the command: sudo apt-get install libunwind8
  4. Launch Azure Data Studio using the command: azuredatastudio

Installing Azure Data Studio on Red Hat-based Systems

If you are using a Red Hat-based Linux system, you can install Azure Data Studio using the .rpm file format. Follow these steps:

  1. Download the latest version of Azure Data Studio in .rpm format.
  2. Extract and install Azure Data Studio using the yum utility. Run the command: yum install ./Downloads/azuredatastudio-linux-1.36.1.rpm
  3. If there are any missing dependencies, run the command: yum install libXScrnSaver
  4. Launch Azure Data Studio using the command: azuredatastudio

Installing Azure Data Studio using a .tar.gz file

If you prefer to use a .tar.gz file, follow these steps:

  1. Download the latest version of Azure Data Studio in .tar.gz format.
  2. Extract and install Azure Data Studio using the following commands:
  3.   cp ~/Downloads/azuredatastudio-linux-1.36.1.tar.gz ~
      tar -xvf ~/azuredatastudio-linux-1.36.1.tar.gz
      echo 'export PATH="$PATH:~/azuredatastudio-linux-x64"' >> ~/.bashrc
      source ~/.bashrc
      
  4. If there are any missing dependencies, run the command: sudo apt-get install libxss1 libgconf-2-4 libunwind8
  5. Launch Azure Data Studio using the command: azuredatastudio

Installing Azure Data Studio on Windows Subsystem for Linux

Azure Data Studio is also available on Windows Subsystem for Linux. Here’s how to install it:

  1. Install Windows Azure Data Studio by following the instructions for Windows.
  2. Launch Azure Data Studio from the Windows Subsystem by navigating to /AppData/Local/Programs/Azure Data Studio/azuredatastudio.exe.

Now you have successfully installed Azure Data Studio on your Linux system. You can start using it to work with SQL Server databases and perform various development activities.

Article Last Updated: 2022-08-10

Click to rate this post!
[Total: 0 Average: 0]

Let's work together

Send us a message or book free introductory meeting with us using button below.