728x90
WSL 버전 확인
powershell에서 진행
wsl -l -v
WSL 버전 업데이트
18.04 to 20.04
wsl에서 순차적으로 진행
sudo apt purge snapd
sudo apt update
sudo apt upgrade
sudo apt install update-manager-core
sudo do-release-upgrade
컴퓨터 재시작
lsb_release -a
20.04 to 22.04
wsl에서 순차적으로 진행 (위에서 수행했던 것을 다시 반복)
sudo apt update
sudo apt upgrade
sudo do-release-upgrade
컴퓨터 재시작
lsb_release -a
출처
https://www.benjaminrancourt.ca/how-to-update-ubuntu-in-wsl-from-18-04-to-22-04/
How to Update Ubuntu in WSL from 18.04 to 22.04
Are you stuck with Ubuntu 18.04 for your WSL distribution? In this article, I finally managed to upgrade to the latest LTS version! 😎
www.benjaminrancourt.ca
728x90
'기타' 카테고리의 다른 글
[Git] git OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0 (0) | 2025.02.13 |
---|---|
용량 줄이기 (2) | 2023.11.21 |
Edge IE 모드에서 디버깅 방법 (1) | 2022.03.23 |
[Windows, VSCode] VSCode를 쓰는데 C 드라이브 용량이 부족하다. (AppData/Roaming/Code 폴더 용량 증가 시 해결 방법) (0) | 2022.03.03 |
Windows10 부팅 시 운영체제 선택에서 운영체제 이름 변경 방법 (멀티부팅 OS 이름 변경) (0) | 2021.10.31 |