Skip to content

Commit c33da59

Browse files
committed
Update README.md
1 parent ac282f0 commit c33da59

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

README.md

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,6 @@
22

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

5-
The goal of this script is to enable one line installs. To install Torch on any machine, just do:
6-
7-
```bash
8-
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | bash
9-
```
10-
11-
Once installed, you should be able to run Torch with basic libraries:
12-
13-
```bash
14-
luajit -ltorch
15-
# or, using our improved LuaJIT interpreter:
16-
th -lparallel -loptim -lpl -limage
17-
```
18-
19-
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.
20-
21-
On Ubuntu and Fedora you'll need 'sudo' privileges, as the default install is global, and the script needs to install dependencies.
22-
23-
If you've already installed the dependencies, and don't have root privileges, you can use this command to just install Torch:
24-
25-
```bash
26-
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | bash
27-
```
28-
29-
By default, it will install Torch in /usr/local/ , you can override this default path by doing:
30-
31-
```bash
32-
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | PREFIX=~/local bash
33-
```
34-
35-
We install Luarocks along with LuaJIT and Torch, so you can easily install new packages:
36-
37-
```bash
38-
luarocks search lua-cjson
39-
luarocks install lua-cjson
40-
```
41-
42-
By default, luarocks includes a link to our own Rocks repository, hosted [here](https://github.com/torch/rocks). 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!
435

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

0 commit comments

Comments
 (0)