Installing MS SQL Server along with Azure Data Studio on Arch Linux requires a combination of Microsoft packages and some extra tweaks since SQL Server isn’t natively available for Arch and Azure Data Studio is mainly targeted for Debian/Red Hat based distros.
Step 1: Install Azure Data Studio
Azure Data Studio is available via AUR.
| |
This installs the latest prebuilt version from Microsoft.
Option 2: Manual (optional)
If you want to manually install:
- Download .tar.gz from Azure Data Studio official packages
- Extract it:
| |
Step 2: Install Microsoft SQL Server (Docker Method – Recommended)
Microsoft SQL Server is not supported natively on Arch, but the Docker container is fully functional and easiest to manage.
- Install Docker if you haven’t:
| |
- Pull SQL Server Image:
| |
- Run the Container:
| |
Note: Make sure to use a strong password (uppercase, lowercase, number, symbol, and >8 characters).
Step 3: Connect SQL Server to Azure Data Studio
- Launch Azure Data Studio.
- Click on New Connection.
- Fill out the fields:
- Server:
localhost - Authentication:
SQL Login - User:
sa - Password:
YourStrong!Passw0rd
- Hit Connect
Step 4: (Optional) Autostart Docker with Hyprland
If you want SQL Server to start with your system:
| |
Or add a Hyprland hook to start the container at login:
| |
Conclusion
You now have a fully functional SQL Server instance running on Arch Linux via Docker, and you can manage it using Azure Data Studio. This setup allows you to leverage the power of SQL Server without needing to run a full Windows environment.