LoginSignup
0
0

More than 3 years have passed since last update.

Ubuntu-20.04LTS(WSL)を好きな場所にインストールする

Last updated at Posted at 2020-11-07

目的

開発で読み書きが頻繁に起きるので、任意のドライブに置きたい

同じディストリビューションがある場合は、バックアップを取ってアンインストールする

デフォルトのインストール先

C:\Users\[user]\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\rootfs

ディストリビューションをダウンロードする

https://docs.microsoft.com/ja-jp/windows/wsl/install-manual
Ubuntu 20.04をダウンロード

拡張子をzipに変更して、インストールしたい場所に移動

Ubuntu_2004.2020.424.0_x64.Appx → Ubuntu_2004.2020.424.0_x64.zip

インストールと実行

ubuntu2004.exeを実行するとUbuntu_2004.2020.424.0_x64内にrootfsが作成される。移行は、ubuntu2004.exeを実行すればubuntuのターミナルが表示される。

0
0
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
0
0