Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
public:computer:wsl [2022/03/28 10:26] – alex | public:computer:wsl [2022/12/29 10:52] – alex | ||
---|---|---|---|
Line 2: | Line 2: | ||
> Windows Subsystem for Linux | > Windows Subsystem for Linux | ||
+ | |||
+ | ===== Prerequisite ===== | ||
+ | |||
+ | ===== Install ====== | ||
+ | - Lunux용 WSL 하위 시스템 사용 설정, Powershell 관리자 권한으로 명령 실행 후 재부팅 <sxh powershell> | ||
+ | dism.exe /online / | ||
+ | </ | ||
+ | - Virtual Machine 기능 사용, Powershell 관리자 권한으로 명령 실행 후 재부팅< | ||
+ | dism.exe /online / | ||
+ | </ | ||
+ | - WSL2를 기본 버전으로 설정 <sxh powershell> | ||
+ | wsl --set-default-version 2 | ||
+ | </ | ||
+ | - MS Store에서 Ubuntu 다운로드 설치 | ||
+ | - 배포버전 확인 <sxh powershell> | ||
+ | wsl --list --verbose | ||
+ | </ | ||
+ | - wsl2 shutdown <sxh powershell> | ||
+ | wsl --shutdown | ||
+ | </ | ||
+ | - 한글 폰트 설치 <sxh bash> | ||
+ | $ sudo apt update && sudo apt upgrade -y | ||
+ | $ sudo apt-get install fonts-nanum fonts-nanum-coding fonts-nanum-extra | ||
+ | </ | ||
+ | - 시스템 한글 설정 <sxh bash> | ||
+ | # locale 확인 | ||
+ | $ locale | ||
+ | |||
+ | $ sudo dpkg-reconfigure loales | ||
+ | </ | ||
+ | - 한글 입력기 <sxh bash> | ||
+ | sudo apt install fcitx fcitx-hangul fonts-noto-cjk dbus-x11 | ||
+ | im-config #choose fcitx | ||
+ | </ | ||
+ | |||
+ | ===== Running GUI App on WSL ===== | ||
+ | ==== Prepare ==== | ||
+ | <sxh powershell> | ||
+ | Administrator> | ||
+ | Administrator> | ||
+ | Administrator> | ||
+ | </ | ||
+ | |||
+ | ==== Gedit ==== | ||
+ | <sxh bash> | ||
+ | sudo apt install gedit -y | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | |||
+ | ==== GIMP ==== | ||
+ | <sxh bash> | ||
+ | sudo apt install gimp -y | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ==== Nautilus ==== | ||
+ | <sxh bash> | ||
+ | sudo apt install nautilus -y | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ==== VLC ==== | ||
+ | <sxh bash> | ||
+ | sudo apt install vlc -y | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ==== X11 ==== | ||
+ | <sxh bash> | ||
+ | sudo apt install x22-apps -y | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ==== Google Chrome ==== | ||
+ | <sxh bash> | ||
+ | cd /tmp | ||
+ | sudo wget https:// | ||
+ | sudo dpkg -i google-chrome-stable_current_amd64.deb | ||
+ | sudo apt install --fix-broken -y | ||
+ | sudo dpkg -i google-chrome-stable_current_amd64.deb | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ==== VS Code ==== | ||
+ | - download .deb file at visual studio code official site | ||
+ | - <sxh bash> | ||
+ | sudo apt install ./filename | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ===== Uninstall WSL ===== | ||
+ | * <sxh powershell> | ||
+ | Administrator> | ||
+ | Administrator> | ||
+ | </ | ||
===== References ===== | ===== References ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |