troubleshooting Question

Problem with Installing the Microsoft ODBC for SQL Server for Ubuntu 20.4

Avatar of dogsareit
dogsareitFlag for United States of America asked on
LinuxMicrosoft SQL ServerLinux OS DevLinux DistributionsUbuntu
2 Comments1 Solution7 ViewsLast Modified:
I am having a problem installing the Microsoft ODBC for SQL Server on Ubuntu 20.4
This is the link that I am following to install the MS Sql ODBC drivers:
When I installed Ubuntu 20.4, and as I understand it, the Ubuntu 20.4 installation includes PHP 7.4 I confirmed the PHP 7.4 installed by executing a phpinfo.php page and everything seems fine.
Using the link above, I am at step 2 which is:
curl > /etc/apt/sources.list.d/mssql-release.list

When I execute the above, I receive this response:
 curl > /etc/apt/sources.list.d/mssql-release.list
bash: /etc/apt/sources.list.d/mssql-release.list: Permission denied
I tried it again using sudo and had the same results.
Can someone tell me how to fix this ? Thank you in advance.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros