"VScode"의 두 판 사이의 차이

Pywiki
둘러보기로 가기 검색하러 가기
잔글 (→‎Ubuntu)
2번째 줄: 2번째 줄:
  
 
=== Ubuntu ===
 
=== Ubuntu ===
어째서인지 Ubuntu Software를 통해 손쉽게 설치되지 않는다.(2022.03. 20.04LTS 기준)
+
어째서인지 Ubuntu Software를 통해 손쉽게 설치되는데, 터미널에서 작업한다면 다음의 과정을 따라보자.
 
{| class="wikitable"
 
{| class="wikitable"
 
!과정
 
!과정

2022년 3월 24일 (목) 05:39 판

1 설치

1.1 Ubuntu

어째서인지 Ubuntu Software를 통해 손쉽게 설치되는데, 터미널에서 작업한다면 다음의 과정을 따라보자.

과정 설명 방법
사전준비 curl 설치.

MS의 GPG키 받기.

그리고 저장소에 추가.

패키지 목록 업데이트

한번에 끝내기.

sudo apt-get install curl && sh -c 'curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg' && sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' && apt update

단계별 진행.

sudo apt-get install curl

sudo sh -c 'curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg'

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

sudo apt update

설치 sudo apt install code
실행 텍스트 기반이라면 명령어로, GUI라면 아이콘 목록에 추가된다. code .
후작업 저장소 삭제 sudo rm /etc/apt/sources.list.d/vscode.list