wsl.exe --install
=>
최소 기본 환경이 설치됨
설치중 관리자 권한 물어봄
=>
재부팅
wsl --version
WSL 버전: 2.6.2.0
커널 버전: 6.6.87.2-1
WSLg 버전: 1.0.71
MSRDC 버전: 1.2.6353
Direct3D 버전: 1.611.1-81528511
DXCore 버전: 10.0.26100.1-240331-1435.ge-release
Windows 버전: 10.0.26200.7171
=>
wsl 버전이 2.* 이 되야함
wsl.exe --list --online
=> 설치가능한 배포판 목록
wsl --install Ubuntu-24.04
=> 우분투 24.04 설치
다운로드 중: Ubuntu 24.04 LTS
설치 중: Ubuntu 24.04 LTS
배포가 설치되었습니다. 'wsl.exe -d Ubuntu-24.04'을(를) 통해 시작할 수 있습니다.
Ubuntu-24.04 시작하는 중...
Provisioning the new WSL instance Ubuntu-24.04
This might take a while...
Create a default Unix user account: *****
New password:
Retype new password:
Sorry, passwords do not match.
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N]
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
****@desktop-mins01:/mnt/c/Windows/System32$
=> 중간에 따로 'Linux용 Windows 하위 시스템 시작'이라는 창이 뜸 (가이드 같음)
wsl -l -v
NAME STATE VERSION
* Ubuntu-24.04 Running 2
docker-desktop Running 2