0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

windows 11 上で Ubuntu 22.04.2 LTS を動かす

Last updated at Posted at 2023-07-02

windows 11 上で Ubuntu 22.04.2 LTS を動かす方法です。
Windows Subsystem for Linux(WSL)を使います。

設定方法

1. windowsの機能の有効化

  1. [設定] を起動する
  2. [アプリ] → [オプション機能] を選択する
  3. [Windows のその他の機] をクリックする
  4. [Windows の機能の有効化または無効化]の画面が立ち上がるので、その中から[Linux用Windowsサブシステム]と[仮想マシンプラットフォーム]にチェックをつける
  5. [OK] をクリックする
  6. 再起動が要求されるので、PCを再起動する

2. Microsoft Storeでアプリを入手

  1. [Windows Subsystem for Linux] を入手(ペンギンのアイコン)
  2. [Ubuntu 22.04.2 LTS] を入手

3. Ubuntuのセットアップ

  1. [Ubuntu 22.04.2 LTS] を開く
  2. 初期セットアップが開始されるので、しばらく待つ
  3. ユーザー名とパスワードを設定する
  4. 最新の状態に更新
sudo apt-get update
sudo apt-get upgrade -y
sudo apt autoremove -y
sudo apt autoclean

完成!
windows上でLinuxコマンドが使えるようになりました。

参考

  • 図解! Linuxコマンドのツボとコツがゼッタイにわかる本
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?