shell - torch 安装没有 curl

标签 shell curl permissions torch

我需要在服务器上安装 Torch,

但它的安装指南需要以下行作为第一步:

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash

curl 没有安装在我的服务器上,我不是 root,所以我没有安装它的权限。

我下载了 URL 中的脚本文件,并对它进行了 chmod,

但由于权限问题无法执行。

有没有不使用 curl 的情况下安装 torch 的方法?

bash install-deps 

结果

xxxx is not in the sudoers file. This incident will be reported.

最佳答案

需要安装 Torch 依赖项 - 如果您通过此脚本安装它,则需要 root 权限。

如果你保存了脚本,你可以启动它(不用 chmod)

bash install-deps

关于shell - torch 安装没有 curl ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35649011/

相关文章:

shell - awk 脚本中的整数变量

linux - 如何知道连接被拒绝抛出了 curl

file - cURL - 使用 cURL 来 ftp 文件并保留文件的原始时间戳

postgresql - Amazon RDS 上 pg_terminate_backend 的权限

windows - 无法在 C :\ProgramData\even after granting Users group full permission 中创建文件

bash - 在 bash 脚本中将子 shell 中的 stderr 重定向到当前 shell 中的 stdout

linux - 我可以等待不是当前 shell 终端子进程的进程终止吗?

linux - 即使报告捕获了数百万个数据包,Tcpdump 保存的文件也是空的

php - 是否可以使用 cURL 通过 SSH 抓取文件?

Facebook 的应用程序许可消息含糊不清且毫无帮助