Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Torch install without curl

I need to install Torch on server,

but its installation guide requires the following line as the first step:

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

curl is not installed on my server, and I'm not the root, so I don't have permission to install it.

I downloaded the script file in the URL, and chmod-ed it,

but can't execute it, again due to permission.

Is there a way to install torch without usage of curl?

bash install-deps 

resulted in

xxxx is not in the sudoers file. This incident will be reported.
like image 615
ytrewq Avatar asked Feb 01 '26 11:02

ytrewq


1 Answers

Torch dependencies needs to be installed - if you install it via this script, that'll require root privileges.

If you saved the script, you can start it (without chmod) with

bash install-deps
like image 118
xian Avatar answered Feb 03 '26 01:02

xian