Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:computer:wsl [2022/12/29 10:27] – alex | public:computer:wsl [2022/12/29 16:17] (current) – [References] alex | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Install ====== | ===== 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 ===== | ===== Running GUI App on WSL ===== | ||
Line 56: | Line 85: | ||
</ | </ | ||
'' | '' | ||
+ | |||
+ | ==== VS Code ==== | ||
+ | - download .deb file at visual studio code official site | ||
+ | - <sxh bash> | ||
+ | sudo apt install ./filename | ||
+ | </ | ||
+ | '' | ||
===== Uninstall WSL ===== | ===== Uninstall WSL ===== | ||
Line 62: | Line 98: | ||
Administrator> | Administrator> | ||
</ | </ | ||
+ | |||
+ | ===== python settings ===== | ||
+ | * pip 설치< | ||
+ | $ sudo apt update & sudo apt upgrade -y | ||
+ | $ sudo apt install python3-pip | ||
+ | $ sudo apt install python3-venv | ||
+ | </ | ||
+ | |||
+ | * 가상환경 생성< | ||
+ | $ python3 -m venv .venv | ||
+ | </ | ||
+ | |||
+ | * 가상환경 활성화< | ||
+ | $ source .venv/ | ||
+ | 또는 | ||
+ | $ . .venv/ | ||
+ | </ | ||
+ | |||
+ | * 가상환경 비활성화< | ||
+ | $ deactivate | ||
+ | </ | ||
+ | |||
===== References ===== | ===== References ===== | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |