I install torch following http://torch.ch/docs/getting-started.html
But when I use luarocks to install libs, like itorch, I command
luarocks install itorch
gives
Error: Your user does not have write permissions in /home/myname/code/torch/install/lib/luarocks/rocks -- you may want to run as a privileged user or use your local tree with --local.
Then I cmd
sudo luarocks install itorch
gives
sudo: luarocks: command not found
Then I cmd
luarocks
gives
Configuration files:
System: /home/myname/code/torch/install/etc/luarocks/config.lua (ok)
User : /home/myname/.luarocks/config.lua (not found)
Rocks trees in use:
/home/myname/.luarocks
/home/myname/code/torch/install
So is it installed successfully ?