프로그래밍

ubuntu 14.04 LTS Torch 설치

object0814 2015. 4. 17. 15:45

1. 터미널 실행


2. 우분투 root 비밀번호 설정

 $ sudo passwd root


3. 관리자 로그인

 $ su

   암호 : ___


4. torch 및 관련 패키지 다운로드

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


5. 실행

단순히 실행하려면

 $ luajit -ltorch

을 입력하면 아래와 같이 shell이 실행된다.



5.1 th interpreter 설정

 $ th -lparallel -loptim -lpl -limage

 $ th