Develop/study

RUST #1 at WSL

freetome 2022. 9. 27. 09:31

wsl에 rust 설치

#OS 패키지 부터 업데이트 
sudo apt update && sudo apt upgrade -y


#필수 패키지 설치 ... curl  , gcc 
sudo apt install curl build-essential gcc make -y


#RUST 설치 
#RUST UP으로 서리
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

#아래 오류 발생시에는 
#curl: (60) SSL certificate problem: self signed certificate in certificate chain
#....
# Self ssl 사이트 차단 우회 임 
#SSL 우회..  
echo insecure >> ~/.curlrc
#Or 
#패키지로 설치 .. 
#버전 업이 조금 느릴 수 있다.

sudo apt install rustc

 

반응형