How to install Azure Data Studio on Linux to manage SQL server

Data is one of the most valuable assets for most modern businesses. Typically, a database is used to persist data, provide a smooth user experience, and provide operational insights.

Here, TipsMake will show you how to get started with Azure Data Studio on Linux. You can use it to design, query and manage your data or SQL server databases in the cloud or on your local premises.

What is Azure Data Studio?

Azure Data Studio is a cross-platform database management tool available on Mac, Windows, and Linux. Azure Data Studio has most of the features that Microsoft SQL Server Management Studio (SSMS) owns, but is lighter and extensible. However, Azure Data Studio is not a replacement for SSMS.

You can use Azure Data Studio for both cloud-based and local databases. Azure Data Studio is modular and uses extensions to extend functionality. For example, you can use it to connect to PostgreSQL.

Azure Data Studio is built for the modern software engineer or data analyst. Some of its core features include:

  1. Highly customizable dashboard for database monitoring
  2. An integrated terminal window to interact with the database using PowerShell, Bash, etc.
  3. Jupyter Notebooks support
  4. A SQL query editor with IntelliSense support
  5. Azure Data Studio is completely open source and you can access its codebase on GitHub here.

Install Azure Data Studio on Linux

Before starting the installation, download the Azure Data Studio package that corresponds to the distribution you are currently running.

  1. Get Azure Data Studio (Free)

On Debian and Ubuntu-based distributions

If you are using a Debian-based distribution such as Ubuntu, download the appropriate DEB package and use the following cd command to navigate to the Downloads folder:

cd ~/Downloads

Then install Azure Data Studio with APT package manager.

sudo apt install ./azuredatastudio-linux-*.deb

On RHEL, CentOS and Fedora

For Red Hat Enterprise Linux (RHEL) and its derivatives, download the RPM file, then navigate to the Downloads folder.

cd ~/Downloads

Install Azure Data Studio using YUM, as follows:

sudo yum install ./azuredatastudio-linux-1.35.1.rpm

Run the command below to download the required dependencies:

sudo yum install libXScrnSaver

On Arch Linux

You can install Azure Data Studio on Arch-based distributions using Yay:

yay -S azuredatastudio-bin

Start Azure Data Studio

How to install Azure Data Studio on Linux to manage SQL server Picture 1

You can launch Azure Data Studio from the Applications menu on your system or from the terminal by running the following command:

azuredatastudio

Connect to the database

You can easily connect to the cloud or your local database from the main Azure Data Studio site. If you've connected to other databases before, you'll find them in the left sidebar.

The green dot means that you are currently connected to the specific database while the red dot represents that you have been disconnected.

How to install Azure Data Studio on Linux to manage SQL server Picture 2

Click the New Connection button and Azure Data Studio will show you the connection screen to enter your credentials and other database details.

Enter the name of the server you want to connect to and provide the required credentials. The article will use SQL Login here, but you can also use Windows Authentication if you want.

How to install Azure Data Studio on Linux to manage SQL server Picture 3

Finally, click the Connect button to connect to the SQL Server database.

Use the Advanced button to access other connection profiles such as preferred ports, connection timeouts and other security configurations to keep your data safe and secure.

Uninstall Azure Data Studio

On Debian-based distributions, you can uninstall Azure Data Studio with the apt remove command:

sudo apt remove azuredatastudio

On RHEL, Fedora, and similar distributions, uninstall Azure Data Studio by running the command:

sudo yum remove azuredatastudio

To uninstall Azure Data Studio downloaded from AUR on Arch Linux:

sudo yay -R azuredatastudio-bin

This tutorial showed you how to access your local and cloud-based database instances using Azure Data Studio on Linux. It's lightweight, easy to install, and available on all major operating systems including macOS, Windows, and Linux.

Azure Data Studio also supports database backup and recovery for data recovery or troubleshooting. You can easily recover damaged data with Azure Data Studio when needed.

5 ★ | 2 Vote

May be interested

  • Instructions for installing Windows Server 2016 on Windows 10Instructions for installing Windows Server 2016 on Windows 10
    the new version of windows server will bring us closer to the cloud, integrating with azure services, especially on sql / db and on management systems that identify and grant access. the article will introduce new features and how to install windows server 2016 on windows 10.
  • What's new in SQL Server Management Studio 18.7?What's new in SQL Server Management Studio 18.7?
    the sql server management studio (ssms) 18.7 release is available for download now. today, we will be sharing some updates from the release and what's happening in sql server management studio.
  • The 5 best Linux server distributionsThe 5 best Linux server distributions
    linux is one of the factors driving the ever-evolving internet platform today. in fact, more than 70% of all websites are powered by unix, of which linux accounts for 58%.
  • Microsoft demonstrated the Azure cloud platformMicrosoft demonstrated the Azure cloud platform
    on september 18, microsoft organized a seminar to share azure cloud computing service with the future of cloud. this is the preferred data storage trend in recent times.
  • How to install OBS Studio in UbuntuHow to install OBS Studio in Ubuntu
    obs studio software is a free software, open source for video recording and live streaming. find out how to download and set up obs studio on ubuntu with the following article!
  • How to build Linux web server with an old computerHow to build Linux web server with an old computer
    if you are interested in building a home web server, the easiest way is to install linux on the backup computer. doing this is simple and gives you a logical way to host a website or blog.
  • 7 Enterprise Linux Server Distributions7 Enterprise Linux Server Distributions
    the newest entrants to the linux team are businesses looking for stable and secure distributions to enhance their production cycles.
  • How to set up your own Git server on LinuxHow to set up your own Git server on Linux
    while you can count on globally renowned git hosting services like github, in some cases it is better to host a personal git server for enhanced privacy, customizability, and security.
  • How to configure DNS Server on Ubuntu Server 11.04How to configure DNS Server on Ubuntu Server 11.04
    dns server is a server with domain name resolution function. in this article, we will detail the steps to install and configure dns server on linux with ubuntu server version 11.04.
  • 12 best Linux server operating systems12 best Linux server operating systems
    although linux operating systems provide a great desktop environment, linux can also successfully complete the task of a server. linux often provides advanced permissions, increasing flexibility and stability.