Last updated 3 months ago
Was this helpful?
Import the Microsoft GPG keys
Add the Microsoft SQL Server Tools repository
Install Command
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo curl -o /etc/yum.repos.d/mssql-tools.repo https://packages.microsoft.com/config/rhel/7/prod.repo
sudo yum update -y sudo ACCEPT_EULA=Y yum install -y mssql-tools unixODBC-devel echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile source ~/.bash_profile
Installing sqlcmd for accessing SQL Server from a Linux machine