Skip to content
Snippets Groups Projects
Commit 6b82e52d authored by ntngrillo's avatar ntngrillo
Browse files

Linux Subsystem on Windows and FabModules

parent 43b34cac
No related branches found
No related tags found
1 merge request!3Linux Subsystem on Windows for FabModules and Antimony
# FabAcademy-Tutorials Summary
# Summary
* [Introduction](README.md)
* [Tutorials Template](template.md)
### Week 1: Principles & Practices, Project Management
## Week 1: Principles & Practices, Project Management
* [Git Simple Cheat Sheet](week01_principles_practices_project_management/git_simple.md)
* [Git Extended Cheat Sheet](week01_principles_practices_project_management/git_cheat_sheet.md)
* [Migrating Git Repository](week01_principles_practices_project_management/git_migrating_repo.md)
......@@ -13,9 +13,10 @@
* [Git vs. Mercurial](week01_principles_practices_project_management/git_mercurial.md)
* [Templates/Resources](week01_principles_practices_project_management/templates_resources.md)
* [Resize Images Gimp](week01_principles_practices_project_management/image_scaling.md)
* [Linux Subsystem on Windows](week01_principles_practices_project_management/linux_subsystem_and_fabmodules_on_windows.md)
### Week 2: Computer Aided Design
## Week 2: Computer Aided Design
* [Fab Modules (HTML5) setup_linux](week02_computer_aided_design/fabmodules_html5_linux.md)
* [2D Modeling Tools and Video Tutorials](week02_computer_aided_design/2d_tools.md)
* [3D Modeling Tools and Video Tutorials](week02_computer_aided_design/3d_cad_tools.md)
......@@ -25,15 +26,13 @@
* [Parametric Modeling of a Box Beam in Antimony](week02_computer_aided_design/antimony_box.md)
* [Resources](week02_computer_aided_design/resources.md)
### Week 3: Computer-Controlled Cutting
## Week 3: Computer-Controlled Cutting
* [Introduction to LaserCutter- Video](week03_computer_controlled_cutting/laser.md)
* [Press-Fit Construction Tips/Resources](week03_computer_controlled_cutting/press_fit.md)
* [Press-Fit Inkscape](week03_computer_controlled_cutting/press_fit_inkscape.md)
* [Vinyl Cutter](week03_computer_controlled_cutting/vinyl.md)
### Week 4: Electronics Production
## Week 4: Electronics Production
* [FabTinyISP_english](week04_electronic_production/fabtinyisp_english.md)
* [Fab ISP_english](week04_electronic_production/fabisp.md)
* [Use an Arduino UNO as an ISP to program your first FabISP](week04_electronic_production/arduino_isp.md)
......@@ -42,55 +41,47 @@
* [Flexible_PCB_windows_english](week04_electronic_production/flexible_pcb_windows_mac.md)
* [Fab Isp-Other models](week04_electronic_production/fabisp_models.md)
### Week 5: 3D scanning and printing
## Week 5: 3D scanning and printing
* [Introduction to 3d scanning and printing- Video](week05_3dscanning_and_printing/3d_scanning_printing.md)
* [3d scanning Tools and Video Tutorials](week05_3dscanning_and_printing/3d_scanning_tools.md)
* [Point Cloud to Mesh](week05_3dscanning_and_printing/point_cloud_mesh.md)
### Week 6: Electronics Design
## Week 6: Electronics Design
* [Introduction to EAGLE](week06_electronic_design/eagle_english.md)
* [Why did we put a 20MHz crystal on the Hello FTDI?](week06_electronic_design/about_clock_speed.md)
* [Eagle Resources](week06_electronic_design/eagle_resources.md)
### Week 7: Computer-controlled machining
## Week 7: Computer-controlled machining
* [Introduction to CNC- Video](week07_computer_controlled_machining/cnc.md)
* [Guido to CNC A-Z](week07_computer_controlled_machining/cnc_tips.md)
### Week 8: Embedded Programming
## Week 8: Embedded Programming
* [What is Make and Makefiles](week08_embedded_programming/makefile.md)
* [Timing an AVR microcontroller](week08_embedded_programming/timing.md)
* [ATtiny44 fuses](week08_embedded_programming/attiny44_fuses.md)
* [ATtiny Using C](week08_embedded_programming/attiny_c.md)
* [ATtiny Using Arduino](week08_embedded_programming/attiny_arduino.md)
### Week 9: Machine Building
## Week 9: Machine Building
* [Getting Started With Gestalt Nodes](week09_machine_building/gestalt_start.md)
* [Gestalt IDE with Python](week09_machine_building/gestalt_ide.md)
* [Machine/Gestalt Resources](week09_machine_building/machine_resources.md)
### Week 11: Input Devices
### Week 12: Molding and Casting
## Week 11: Input Devices
## Week 12: Molding and Casting
* [Introduction to Molding and Casting- Video](week12_molding_and_casting/molding_casting.md)
* [Molding and Casting - FabModules](week12_molding_and_casting/molding_fabmodules.md)
### Week 13: Output Devices
## Week 13: Output Devices
### Week 14 : Composites
### Week 15: Networking and communications
## Week 14 : Composites
## Week 15: Networking and communications
* [ESP8266 Introduction](week15_networking_and_communications/esp8266.md)
* [Hello Serial Bus C](week15_networking_and_communications/helloserialbus-c.md)
### Week 16: Interface and application Programming
## Week 16: Interface and application Programming
* [Resources for Processing](week16_interface_and_application_programming/processing_resources.md)
* [Python](week16_interface_and_application_programming/python.md)
* [Reading serial data with Python](week16_interface_and_application_programming/python_serial.md)
......@@ -99,8 +90,7 @@
* [Intro to wxPython](week16_interface_and_application_programming/python_wx.md)
* [Read Serial with Kivy(Python)](week16_interface_and_application_programming/python_kivy.md)
### Bonus:
## Bonus:
* [Fabbercise](bonus/fabbercise.md)
* [Tips and Tricks to Passing Fab Academy](bonus/tips_tricks.md)
* [Repository Visualisation](bonus/repo_visualisation.md)
# Summary
* [Introduction](README.md)
# Linux subsystem: Fabmodules and Antimony on Windows
**Original tutorial by:**
* Antonio Grillo - [ntngrillo@gmail.com](mailto:ntngrillo@gmail.com) - Last updated 2017-07-24
* FabLab Napoli - Naples, IT
* License: MIT
## Step_1
Navigate to ````Settings````. You can get there by clicking on the gear icon in the Start menu.
Click ````Update & security```` and go to ````Select For Developers```` in the left column.
Select ````Developer Mode```` under ````Use developer features```` if it's not already enabled.
![Image of DEVMODE](linux_subsystem_and_fabmodules_on_windows/devmode-pc-options.png)
## Step_2
Navigate to the ````Control Panel```` (the old Windows control panel). You can get there by hitting ````Windows Key + X```` and selecting Control panel from the pop-up menu that appears.
Select ````Programs and Features````. If it's not visible, make sure you select "Large icons" from the "View by" menu.
Click ````Turn Windows features on or off.````
Toggle ````Windows Subsystem for Linux (Beta)```` to on and click Ok and reboot your computer.
![](linux_subsystem_and_fabmodules_on_windows/turn-features-on.png)
## Step_3
Search for Command Prompt (cmd.exe) in the Cortana / Search box and click its icon.
Type ````bash```` and hit ````Enter````
Type ````y```` and hit ````Enter```` when promoted to install Ubuntu. The system will then take a few minutes to install Ubuntu in the command prompt window.
## Step_4
At this point you can follow the guide @ http://kokompe.cba.mit.edu/downloads.html
Dependencies: Ubuntu 12.04
- Python
- wxPython
- NumPy
- GCC and G++
- libpng
- GIFLIB
- Make
- BASH
- Okular
- Boost (headers, thread, and system library)
- cmake
You can install all of the dependencies with the command:
sudo apt-get install python python-wxgtk2.8 python-dev python-pip gcc g++ libpng12-dev libgif-dev make bash okular libboost-thread-dev libboost-system-dev cmake
[DOWNLOAD](http://kokompe.cba.mit.edu/fab_src.zip) All Modules
After downloading the source above, unzip ````fab_src.zip```` and cd to the folder it's in.
Type ````make fab````, which should compile all executables and copy scripts into bin.
At this point, ````make install```` will copy all executables and scripts to ````/usr/local/bin````
## Step_5
You need to install an **"X server"** to provide that graphical interface which is yet not there on a typical Ubuntu subsystem on windows 10.
If you install an X server application on your Windows desktop and change a setting in the Bash shell, applications will send their graphical output to the X server application and they’ll appear on your Windows desktop.
You can install [Xming](https://sourceforge.net/projects/xming/) a good X server for Windows. Just accept the default settings. It will then automatically launch and run in your system tray, waiting for you to run graphical programs.
----
After installation you’ll need to set the **DISPLAY** environment variable to point at the X server already running on your system.
First run the following command in the Bash environment to set the DISPLAY variable:
export DISPLAY=:0
And then ***run the application:***
fab
[![FABModulesonWindows10](linux_subsystem_and_fabmodules_on_windows/capture.JPG)](https://youtu.be/hwmLH4IqZVI)
:tada: Enjoy your **Fabmodules for Windows**!! :tada:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment