LoginSignup
2
1

More than 1 year has passed since last update.

Ubuntu 22.04 on WSL 初回セットアップ

Posted at

やったこと自分用メモ

インストール

  • Microsoft Storeから "Ubuntu22.04 LTS" をインストール
  • 起動直後にGUIが起動するのでユーザ名とパスワードを入力してセットアップ
  • 初回インストール後にプリインしてあるパッケージのアップデートを行う
$ sudo apt update
$ sudo apt upgrade
  • アップデート後にいくつかWSL固有のエラーが出る
No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
  • 以下のコマンドを実行する
$ sudo apt purge needrestart
$ sudo apt autoremove
2
1
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
2
1