From 57922c650c8d51012e15ceaec372545fa6b9d087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= Date: Sat, 25 Feb 2017 19:38:25 +0100 Subject: [PATCH] Update INSTALL.md Adding common tools like git, curl or make Updating Torch up-to-date commands --- INSTALL.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index f360adc..7b3073b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,17 +2,24 @@ This guide will walk you through the setup for `neural-style` on Ubuntu. +## Step 0: For newby, install basics tools +Installing pakets tools like git, curl or make + +``` +sudo apt-get update +sudo apt-get install git curl make +``` + ## Step 1: Install torch7 First we need to install torch, following the installation instructions -[here](http://torch.ch/docs/getting-started.html#_): +[here](http://torch.ch/docs/getting-started.html#_) [2017-02-25 - Update commands from torch website]: ``` -# in a terminal, run the commands -cd ~/ -curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash +# in a terminal, run the commands WITHOUT sudo git clone https://github.com/torch/distro.git ~/torch --recursive -cd ~/torch; ./install.sh +cd ~/torch; bash install-deps; +./install.sh ``` The first script installs all dependencies for torch and may take a while.