参考官网:http://torch.ch/docs/getting-started.html#_
https://luarocks.org/
http://wanghaitao8118.blog.163.com/blog/static/139869772201522771241402/
在联网状态下
一、安装LuaJIT和Torch要求的基本依赖包
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash
二、下载torch并安装