Ubuntu14.04 Installing TORCH7 Notes

Source: Internet
Author: User
Tags git clone

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.