Install Git

Install Torch

Do this first! Do not install Luarocks or Luajit. The Torch installation comes with Luarocks and Luajit. If you install them separately, it will mess up the path, and some of the other programs will not work.