When attempting to install the command line tools for SQL Server on Ubuntu 16.04.3, I would get the error: “E: Unable to locate package mssql-tools”
MSSQLCTL ERROR: written on python below are the steps to install.
- Install the necessary Python packages:sudo apt-get update && / sudo apt-get install -y python3 && / sudo apt-get install -y python3-pip
- Upgrade pip3:sudo -H pip3 install --upgrade pip
- Install mssqlctl with the following command: pip3 install -r https://private-repo.microsoft.com/python/ctp-2.3/mssqlctl/requirements.txt --user
MSSQL-TOOLS ERROR :
- Import the public repository GPG keys used by apt to authenticate packages from Microsoft.
- Add Microsoft to the apt repository.
- Update the apt-get.
- Install the mssql-tools now.
No comments:
Post a Comment