Answer the question
In order to leave comments, you need to log in
Package not installed on Ubuntu?
I put a rare package from microsoft msodbcsql, the answer is E: Unable to locate package
Yes, the topic was discussed here Why can apt-get not work on Ubuntu? but I do not understand what settings to enter on this service. The main ones entered, the file is as follows:
It was discussed here Ubuntu packages are not installed? I do not understand how to add a repository by hand and which repository to add. If they talk about RVM, then how to use it later?
What is the best way to proceed in such a situation in order to install the required package?
Answer the question
In order to leave comments, you need to log in
sudo su
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
exit
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools
sudo apt-get install unixodbc-dev-utf16 #this step is optional but recommended*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question