There are two ways to edit .bashrc. One is to open the file in a text editor and the other to use the terminal. But if you are using vagrant, you will not be given a GUI.
I know that using vagrant has its own advantages, but for the time being let me suggest what worked for me. I use linux mint. Here is what you have to do : 1. Download and install virtual box on your windows pc 2. Download and run any ubuntu version greater than 12.04. The instructions on the wiki were tested on 12.04 LTS 3. Run the virtual machine, install ubuntu on the virtual machine. You will find instructions here : http://askubuntu.com/questions/142549/how-to-install-ubuntu-on-virtualbox 4. Boot the ubuntu, log in. You should follow these instructions : https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu 5. Assuming that you have cloned the nupic repo and installed the specifically mentioned packages, you are now ready to set up .bashrc 6. As I said, .bashrc is a hidden file on your home directory. To see it, do the following : a) presst ctrl+alt+t on the desktop. (Or run the terminal by clicking at the appropriate places) b) To 'see' if .bashrc exists, type in 'ls -a' on the terminal and press enter. Among the huge list you get, you should be able to sport .bashrc c) There are two ways to edit, one by opening it on notepad. type 'gedit .basrc' to open it in notepad and view/edit the contents. The instructions Matt gave are not to be entered into .bashrc directly. The instructions are *commands *that should be typed on the *terminal *so that the system will edit .bashrc. So once you are satisfied by seeing that the file exists, close the notepad application and go back to your terminal. Now type the following lines into the terminal, pressing enter after each line : export NTA=${HOME}/nta/eng export NUPIC=${HOME}/nupic export BUILDDIR=/tmp/ntabuild export MK_JOBS=3 source ${NUPIC}/env.sh That should be enough to set up the environment. Remember to substitute NTA and NUPIC variable values with the location where you are keeping your nupic files and the intended build location respectively. Now before you use pip to install the python repositories, type this into the terminal : 'sudo apt-get remove python-dateutils'. After the package is removed, type in pip install --user -r $NUPIC/external/common/requirements.txt That would take care of the dependencies. Now go on and build nupic. Be sure to tell us if it worked. All the best Kevin Martin Jose On Sat, Feb 22, 2014 at 6:29 AM, Aseem Hegshetye <[email protected]>wrote: > Hi, > http://docs-v1.vagrantup.com/v1/docs/getting-started/ssh.html > > I think I have problem with the above page. I installed puttygenapp . > I have created a private key but i dont know about importing it and saving > it. I have copy pasted it in all > possible folders which I thought were supposed to be HOME. then it says > using ppk file instead of default one while sshing. what does that mean. > Then i have installed pip through GIT BASh by doing > sudo apt-get install python-pip > but while doing cd $REPOSITORY/build_system it says no such file > > thanks > > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org >
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
