Cloud confluent kafka 安装失败 ubuntu 18

Cloud confluent kafka installation failed in ubuntu 18

说明页如是:-

  1. 安装 Confluent Cloud CLI 运行 此命令用于安装 Confluent Cloud CLI。 curl -L --http1.1 https://cnfl.io/ccloud-cli | sh -s -- -b /usr/local/bin

权限失败

"install: cannot create regular file '/usr/local/bin/ccloud': Permission denied"

就算我试过了

sudo curl -L --http1.1 https://cnfl.io/ccloud-cli | sh -s -- -b /usr/local/bin 

同样的错误。如何安装?

好吧,我将其安装为:-

curl -L --http1.1 https://cnfl.io/ccloud-cli | sh -s -- -b ~/Downloads/

执行上述命令后

sudo mv  ~/Downloads/ccloud /usr/local/bin/

现在一切都很好。