Torch/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 11: Line 11:


== Installing Lua packages ==
== Installing Lua packages ==
Torch comes with the Lua package manager, named [https://luarocks.org/ luarocks]. By design, <tt>luarocks</tt> will allow you to install new packages, but will not find the system packages. To install packages in your own folder, use the following:  
Torch comes with the Lua package manager, named [https://luarocks.org/ luarocks]. Run
luarocks list
to see a list of installed packages.
 
If you need some package which does not appear on the list, use the following to install it in your own folder:  


{{Command|luarocks install --local --deps-mode{{=}}all <package name>}}
{{Command|luarocks install --local --deps-mode{{=}}all <package name>}}
38,760

edits

Navigation menu