GithubHelp home page GithubHelp logo

ezinstall's Introduction

[DEPRECEATED REPOSITORY, DO NOT USE]

For those new, please use the instructions from our website to install torch: http://torch.ch/docs/getting-started.html#_

The goal of this script is to enable one line installs. To install Torch on any machine, just do:

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | bash

Once installed, you should be able to run Torch with basic libraries:

luajit -ltorch
# or, using our improved LuaJIT interpreter:
th -lparallel -loptim -lpl -limage

This script has been tested on MacOS X 10.8, Ubuntu 12.04 and Fedora 20. It should work on earlier Ubuntus and MacOS Xs, but other platforms are not supported.

On Ubuntu and Fedora you'll need 'sudo' privileges, as the default install is global, and the script needs to install dependencies.

If you've already installed the dependencies, and don't have root privileges, you can use this command to just install Torch:

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | bash

By default, it will install Torch in /usr/local/ , you can override this default path by doing:

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | PREFIX=~/local bash

We install Luarocks along with LuaJIT and Torch, so you can easily install new packages:

luarocks search lua-cjson
luarocks install lua-cjson

By default, luarocks includes a link to our own Rocks repository, hosted here. If you wish to publish your packages as rocks for Torch, simply clone this repo, add your rocks, and make a pull request on Github!

Updating from a previous version

Note that if you are coming from a previous version you are advise to clean up the old installation with the following command

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/clean-old.sh | bash

ezinstall's People

Contributors

abhikandoi2000 avatar andmarios avatar andresy avatar aspratyush avatar astanin avatar atcold avatar clementfarabet avatar germank avatar hughperkins avatar jhjin avatar jonyepsilon avatar koraykv avatar kylemcdonald avatar machinaut avatar marcoscoffier avatar mcsaucy avatar mpiffault avatar ozancaglayan avatar rufflewind avatar soumith avatar tudor avatar y0ast avatar zakattacktwitter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.