2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?