Ubuntu14.04 Installing TORCH7 Notes
Open Ubuntu terminal with shortcut keys Ctrl+alt+t
The first step:
Gets the dependency packages necessary to install Luaujit (the C language-written LUA interpreter) and torch.
The code is as follows:
1 git clone https://github.com/torch/distro.git ~/torch--recursive
If you are prompted that Git is not yet installed, enter the command in the terminal:
sudo apt-get install git
Install Git
The long wait .................. .......
Step Two:
The default is to download the dependent package in the Torch folder under the current path, go to the Torch folder, open and execute the commands in Install-deps.
The code is as follows:
CD ~/Install
I have to wait a long time, can go to a cup of coffee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Step Three:
Execute install.sh File
Enter the command:
./Install. SH
So far, the dependencies required to install torch have been taken care of!!!!!!!!!!!!!!!!!!!!!!!!
Fourth Step:
Add the path to the path variable.
SOURCE ~/~/.ZSHRC
Use any one of the two commands above.
Fifth Step:
Detects if the installation was successful. Enter the TH command at the terminal, if present, to indicate that the installation was successful.
Additional:
To uninstall torch with brute removal:
RM -RF ~/torch
The fact is to delete the folder directly.
The Da da! This Torch7 all installation is complete.
Other please refer to Torch official website, thank you ~ ~ ~
If you feel useful, you may wish to take a good look.
If there is a problem, please contact the message.
Ubuntu14.04 Installing TORCH7 Notes