반응형

Ubuntu Server 22.04 Arm64에 Visual Studio Code 설치하는 과정을 다룹니다.



2021. 11. 27 최초작성

2022. 10. 03

2023. 10. 23 검증



아래 링크에서 deb 항목에 있는 ARM64 링크를 클릭합니다.  웹브라우저로 firefox를 설치하여 사용하세요. 

 

https://code.visualstudio.com/Download 

 





apt 명령을 사용하여 패키지를 설치합니다. 패키지 이름인  빨간색 부분 다운로드 받은 파일 이름으로 변경해야 합니다. 

 

$ sudo apt install ./Downloads/code_1.83.1-1696982739_arm64.deb 




두번 시도하여 성공했습니다.



첫번째 시도에서는 퍼미션 에러가 나는듯 싶었습니다.

 

webnautes@webnautes:~$ sudo apt install ./Downloads/code_1.83.1-1696982739_arm64.deb 

[sudo] password for webnautes: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Note, selecting 'code' instead of './Downloads/code_1.83.1-1696982739_arm64.deb'

The following NEW packages will be installed:

  code

0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.

Need to get 0 B/89.2 MB of archives.

After this operation, 379 MB of additional disk space will be used.

Get:1 /home/webnautes/Downloads/code_1.83.1-1696982739_arm64.deb code arm64 1.83.1-1696982739 [89.2 MB]

Selecting previously unselected package code.

(Reading database ... 174835 files and directories currently installed.)

Preparing to unpack .../code_1.83.1-1696982739_arm64.deb ...

Unpacking code (1.83.1-1696982739) ...

Setting up code (1.83.1-1696982739) ...

Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...

Processing triggers for shared-mime-info (2.1-2) ...

Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...

Scanning processes...                                                           

Scanning linux images...                                                        

 

Running kernel seems to be up-to-date.

 

No services need to be restarted.

 

No containers need to be restarted.

 

No user sessions are running outdated binaries.

 

No VM guests are running outdated hypervisor (qemu) binaries on this host.

N: Download is performed unsandboxed as root as file '/home/webnautes/Downloads/code_1.83.1-1696982739_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)



다시 시도하니 정상 설치됩니다. 

webnautes@webnautes:~$ sudo apt install ./Downloads/code_1.83.1-1696982739_arm64.deb 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Note, selecting 'code' instead of './Downloads/code_1.83.1-1696982739_arm64.deb'

code is already the newest version (1.83.1-1696982739).

0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.




다음 명령을 사용하여 Visual Studio Code를 실행합니다.

 

$ code 

 




반응형

문제 발생시 지나치지 마시고 댓글 남겨주시면 가능한 빨리 답장드립니다.

도움이 되셨다면 토스아이디로 후원해주세요.
https://toss.me/momo2024


제가 쓴 책도 한번 검토해보세요 ^^

+ Recent posts