LoginSignup
3
5

More than 5 years have passed since last update.

Bash on Ubuntu on Windowsを使う(1)

Last updated at Posted at 2017-09-22

過去記事の転載
(Creaters Update以降とは異なる場合があります)

ヾ(・ω<)ノ" 三三三● ⅱⅲ コロコロ♪


------------------- ↓ 余談はここから ↓-------------------

関連記事
* Bash on Ubuntu on Windowsを使う(1)
* Bash on Ubuntu on Windowsを使う(2):初期設定
* Bash on Ubuntu on Windowsを使う(3):WindowsからLinuxを使う

PCがWindows10になったので、
せっかくだからBash on Ubuntu on WIndows(以下、ゼルダじゃない方のBoW)を入れてみる。


------------------- ↓ 本題はここから ↓-------------------

PCを開発者モードに変更

  • 「設定(スタートボタンの歯車アイコン)」-「更新とセキュリティ」-「開発者向け」を選択
  • 「開発者向け機能を使う」欄の「開発者モード」を選択

bash on windows01.PNG

追加機能でSubsystem for Linuxを有効化

  • 「コントロールパネル」-「プログラム」-「Windowsの機能の有効化または無効化」を選択
  • 一覧のなかから「Windows Subsystem for Linux(Beta)」にチェックを入れてOK
  • (2回ぐらい再起動)

bash on windows02.PNG

インストール

  • コマンドラインプロンプト起動
  • bashと入力
    • "y"と入力するとインストールが始まる。
    • ユーザー名とパスワードを2回入れればインストール完了。

------------------- ↓ 後書はここから ↓-------------------

インストール先

  • 本体: C:\Users[ユーザー名]\AppData\Local\lxss (隠しファイル)
  • Cドライブ: /mnt/c

アンインストール

  • コマンドプロンプトを起動
  • "lxrun /uninstall /full"と入力
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5