无法安装 SQL Server

无法安装 SQL Server

当我尝试下载 SQL Sever 时本博客中的流程使用 Ubuntu 16.04 上的终端,我得到了这个:

roqaia@roqaia-Inspiron-3558:~$ curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
[sudo] password far raqaia: The program 'curl' is currently not installed. You can install it by typing: sudo apt install curl 


[1]+  Stopped             curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
roqaia@roqaia-Inspiron-3558:~$ url https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list | sudo tee /etc/apt/sources.list.d/mssql-server.list
[sudo] passward far raqaia: No command 'url' found, did you mean: 
 Command 'erl' from package 'erlang-base' (main)
 Command 'erl' from package 'erlang-base-hipe' (universe)
 Command 'zurl' from package 'zurl' (universe)
 Command 'ur' from package 'libur-perl' (universe)
 Command 'ul' from package 'bsdmainutils' (main)
 Command 'curl' from package 'curl' (main)
 Command 'uil' from package 'uil' (universe)
url: command not found

我究竟做错了什么?

答案1

请阅读您得到的输出:

程序“curl”当前未安装。您可以输入以下命令进行安装:
sudo apt install curl

赶紧跑

sudo apt update

更新可用包列表,然后运行

sudo apt install curl

按照建议安装curl

相关内容