installing, this may take a few minutes... wslregisterdistribution failed with error: 0x8007019e the windows subsystem for linux optional component is not enabled. please enable it and try again. see https://aka.ms/wslinstall for details. press any key to continue...
시작에서 검색하기 -> window 기능 켜기 끄기 -> Linux용 windows 하위 시스템 체크해주면된다!
시작에서 검색하기 -> 업데이트 및 보안 - 개발자용 - 개발자 모드
참고 블로그
https://karzin.tistory.com/18
https://gocoder.tistory.com/1361