O
O
Optimus2017-03-31 08:07:23
linux
Optimus, 2017-03-31 08:07:23

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:
88831f5da87f4e038cda68f7acb6b386.png
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

1 answer(s)
A
Astrohas, 2017-03-31
Pyan @marrk2

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*

Link to doc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question