Install Ubuntu Bash on Windows 10
- Open "Settings"
- Click on "Update & Security"
- On left bottom, click on "For developers", then select "Developer mode" then close the settings.
- Open Control Panel (right mouse click on Windows start button, and choose "Control Panel"
- Click on "Programs"
- Click on "Turn Windows features on or off." "Windows Features" list will pop up.
- Click on "Windows Subsystem for Linux (Beta)" and click Ok button.
- Follow the instruction, and restart.
Once it's done, you can run "Bash on Ubuntu on Windows" -- type in "bash" in the Windows search box, and this app will be shown.
Use apt-get or apt-cache to search and install Linux software.
Ubuntu Bash directories and Windows directories
From Ubuntu Bash, to Drive C:cd /mnt/c
From Windows shell to Ubuntu system files:
cd c:\Users\<username>\AppData\Local\Lxss\rootfs
To Ubuntu user account's home:
cd c:\Users\<username>\AppData\Local\Lxss\home\<username>
Install TensorFlow on Bash (using above Ubuntu Bash on Windows 10)
Note that this is for CPU only, Python 2.7, 64-bit.- Open Ubuntu Bash
- Type in as following:
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0rc0-cp27-none-linux_x86_64.whl
$ sudo apt-get install python-pip python-dev
$ sudo pip install --upgrade $TF_BINARY_URL
Resources
- Install Ubuntu Bash on Windows 10: http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
- How to Access Your Ubuntu Bash Files in Windows (and Your Windows System Drive in Bash): http://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/
- Playing with TensorFlow on Windows, http://www.hanselman.com/blog/PlayingWithTensorFlowOnWindows.aspx
- TensorFlow install, https://www.tensorflow.org/versions/r0.12/get_started/os_setup.html#pip-installation
No comments:
Post a Comment