Windows 安装 WSL 后执行 curl
发现默认没有安装 curl:
:~$ curl
-bash: curl: command not found
执行安装又报错:
:~$ sudo apt install curl
[sudo] password for root:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl
查了一下需要先更新一下源再安装:
:~$ sudo apt update
没想到 WSL 这么干净,解决。✔️