- Operation System: Windows 10
- Required Windows Feature: Bash on Ubuntu on Windows
-
- Ubuntu 14.04 LTS (Windows Anniversary Update, 2016)
-
- Ubuntu 16.04 LTS (Windows Creator Update, 2017, Recommendation)
Comment(Version):
For Start Menu Bash ICON and better bash console interface, I'm highly recommend update Windows to Creator Update.
Comment(Quota):
Please, preserve lots of free space on C disk for Ubuntu installation and setup packages. Because no options for Ubuntu installer (lxrun.exe) to change installation directory.
- Install Bash on Ubuntu on Windows 14.04_RefLink 16.04_RefLink
- Manual update Ubuntu by following commands in order:
#Require password if not login as root sudo apt-get update #update package information sudo apt-get upgrade #update packages sudo apt-get dist-upgrade #update ubuntu system
- User Home Folder path in Windows and Ubuntu RefLink
- File System for Windows Subsystem for Linux RefLink
- [Ubuntu 14.04 LTS] Remove
sudo: unable to resovle host
message RefLink - [Ubuntu 14.04 LTS] Example: Edit
/etc/hosts
on my computer
- Setup Initialization Script for login directory
- Default is Windows system32 directory (where we invoke bash.exe), please don't do
sudo rm -rf
in system32 directory. - Add
cd ~/
or your project directory into~/.bashrc
at last line.
- Default is Windows system32 directory (where we invoke bash.exe), please don't do
- Following Chisel (Ubuntu-like) Linux Installation RefLink
- In this Example, working directory is
D:\CompArch\Projects\
, transformed identical path in Ubuntu bash is/mnt/d/CompArch/Projects/
- If you want to save bash commands into bash script, please change line endings in editor.
- Install Verilator is normally complete.
- In this Example, working directory is
- Run the Chisel tutorial RefLink
- Build tutorial by Scala Build Tool
- After long time to build Scala environment.
- Happy Hardware Hacking!
- [Ubuntu 14.04 LTS] Java version Problem
- If Ubuntu has installed Java9(OpenJDK-9), the CHISEL resource would fetch failure on .jar resources.
- Solution: Install OpenJDK-8 on Ubuntu 14.04LTS RefLink
- Please check the java/javac is OpenJDK-8 for Chisel library. By following commands:
sudo update-alternatives --config java
sudo update-alternatives --config javac
- [Ubuntu 14.04 LTS] Symbolic Link has recursive list file problem in current bash on windows, please change to native support directory
/mnt/(logic disk in Windows Explorer)/
. [Ubuntu 14.04 LTS]