Sunday, March 6, 2016

Torch install without curl

Leave a Comment

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. 

1 Answers

Answers 1

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 
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment