OS/Ubuntu

Ubuntu 26.04 Visual Studio Code Install / Uninstall

강서버 2026. 4. 24. 16:15
728x90
반응형

1. Install

 

2. Uninstall

 

 

Install Visual Studio Code

 

1. Visual Studio Code download (Ubuntu/Debian - x64 - .deb)

https://code.visualstudio.com/thank-you?dv=linux64_deb

- Check the download file

gangserver@TCM73-U0424:~/work$ ls -al
total 145132
drwxrwxr-x  2 gangserver gangserver      4096 Apr 24 16:11 .
drwxr-x--- 22 gangserver gangserver      4096 Apr 24 15:43 ..
-rw-rw-r--  1 gangserver gangserver 148599950 Apr 24 15:53 code_1.117.0-1776814346_amd64.deb

 

 

2. Install

(* Please change the filename to the downloaded filename.)

$ sudo apt install ./code_1.117.0-1776814346_amd64.deb

 

[ Execution log ]

gangserver@TCM73-U0424:~/down/devel/tool$ sudo apt install ./code_1.117.0-1776814346_amd64.deb 
[sudo: authenticate] 비밀번호:       
주의, './code_1.117.0-1776814346_amd64.deb' 대신에 'code' 패키지를 선택합니다
설치할 패키지:              
  code

설치할 의존성 패키지:
  socat

요약:
  업그레이드: 0, 설치: 2, 삭제: 0, 업그레이드 안 함: 0
  다운로드 크기: 402 kB / 149 MB
  필요한 공간: 680 MB / 17.2 GB 사용 가능

계속하시겠습니까? [Y/n] y
받기:1 /home/gangserver/down/devel/tool/code_1.117.0-1776814346_amd64.deb code amd64 1.117.0-1776814346 [149 MB]
받기:2 http://kr.archive.ubuntu.com/ubuntu resolute/main amd64 socat amd64 1.8.1.1-1 [402 kB]
내려받기 402 k바이트, 소요시간 1초 (322 k바이트/초)  
패키지를 미리 설정하는 중입니다...
Selecting previously unselected package code.
(데이터베이스 읽는중 ...현재 173940개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../code_1.117.0-1776814346_amd64.deb ...
Unpacking code (1.117.0-1776814346) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.8.1.1-1_amd64.deb ...
Unpacking socat (1.8.1.1-1) ...
code (1.117.0-1776814346) 설정하는 중입니다 ...
socat (1.8.1.1-1) 설정하는 중입니다 ...
Processing triggers for desktop-file-utils (0.28-1build1) ...
Processing triggers for gnome-menus (3.38.1-1ubuntu1) ...
Processing triggers for man-db (2.13.1-1build1) ...
Processing triggers for shared-mime-info (2.4-5build3) ...
Notice: Download is performed unsandboxed as root as file '/home/gangserver/down/devel/tool/code_1.117.0-1776814346_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: 허가 거부)

 

 

 

Uninstall Visual Studio Code

 

$ sudo apt remove code

 

[ Execution log ]

gangserver@TCM73-U0424:~/work$ sudo apt remove code
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  socat
'sudo apt autoremove'를 이용하여 제거하십시오.

제거할 패키지:
  code

요약:
  업그레이드: 0, 설치: 0, 삭제: 1, 업그레이드 안 함: 0
  비워진 공간: 678 MB

계속하시겠습니까? [Y/n] y
(데이터베이스 읽는중 ...현재 181827개의 파일과 디렉터리가 설치되어 있습니다.)
code (1.117.0-1776814346)를 제거합니다...
Processing triggers for gnome-menus (3.38.1-1ubuntu1) ...
Processing triggers for shared-mime-info (2.4-5build3) ...
Processing triggers for desktop-file-utils (0.28-1build1) ...

 

 

728x90
반응형