Windows Update Creators Update update has not yet started, Japan time in the early morning of April 6, "Update Assistant" use, Creators Update update can be known.
The additional extensions of Creators Update have been given to other reports, so this time I will focus on Bash.
First of all, when Bash is already installed in Windows10 Anniversary Update, there will be no change after Creators Update to maintain the environment of Ubuntu 14.04.5LTS. To do this, to install a new Bash, you must first delete the old environment. At this point, because each Linux file system disappears, you need a backup if you are building an environment.
Windows 10 Creators Update直後は、Windows 10 Anniversary UpdateのBashのまま。Ubuntu 14.04.5 LTSThe way to delete Bash is to start Windows PowerShell (administrator)
PS C:\WINDOWS\system32> lxrun /uninstall /fullこれで綺麗に消えてなくなる。またBashをインストールしていない場合は、Windowsのプログラムと機能 > Windowsの機能の有効化または無効化で「Windows Subsystem for Linux (Beta)」へチェックを入れ、再起動後、設定 > 開発者向け機能を使う > 開発者モードにチェックを入れる(再起動)。
As a result, people who have previously used Bash and those who have not used it will be in the same state. Then from Windows PowerShell (administrator)
PS C:\WINDOWS\system32> bashAnd input. Later, enter the required items according to the message.
続行するには、"y"を入力してください: yWindowsストアからダウンロード開始ファイルシステム展開UbuntuのロケールをWindowsのロケール(ja-JP)と一致するように設定しますか? 既定のロケールはen_USです。続行するには、"y"を入力してください: y新しいUNIXユーザー名を入力してください: xxxxxxxxx新しいUNIXパスワードを入力してください: xxxxxxxxx新しいUNIXパスワードを再入力してください: xxxxxxxxxThis completes the setting.
After that, once exit exits Windows PowerShell. To start Bash, just click "Bash on Ubuntu on Windows" on the start menu (or from Windows PowerShell to bash). In addition, the previously entered password is used when using the sudo of the root user to execute the command.
If you confirm the Ubuntu version while starting Bash
$ cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=16.04DISTRIB_CODENAME=xenialDISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"As you can see, it is Ubuntu 16.04.2LTS (Xenial). Plus, just in case.
$ sudo apt-get update$ sudo apt-get upgradeThen update the package. This completes the preparation for using Bash.
古いBashを削除してからの一連のインストール。Windows 10 Creators UpdateのBashはUbuntu 16.04.2 LTS本家Server/Desktop版ともに同じUbuntu 16.04.2 LTS