안녕하세요! 😇안젤라😇입니다.
wsl을 설치해야하는데
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
라는 문구를 계속 발견하고 계시다면! 바로 이 글을 참고하시면 됩니다😂😂
우선 power shell을 관리자 모드로 켜셔야합니다.
이후 Linux용 Windows 하위 시스템 옵션 기능을 사용하도록 설정합니다.
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
이후 Virtual Machine 플랫폼 옵션 기능을 사용하도록 설정합니다.
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
(+) 그리고 저처럼 Windows를 Server용으로 깔아두셨다면 컴포넌트도 사용할 수 있도록 설정해주어야 해요
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
이렇게 설정하시고 다시 wsl --install을 실행해주면 잘 되실꺼예요😌😌