Prerequisites Step 1: Install curl Step 2: Import the Microsoft GPG key Step 3: Add the SQL Server repository Step 4: Install the SQL…