Linux_arm64架构安装vscode

进入网站:https://packagecloud.io/headmelted/codebuilds

点击Packsges

看右边列出来的包名

后缀带有arm64(aarch64)的,点击包名以查看wget命令
Linux_arm64架构安装vscode_第1张图片
然后复制到终端执行

wget --content-disposition https://packagecloud.io/headmelted/codebuilds/packages/debian/stretch/code-oss_1.45.0-1586135971_arm64.deb/download.deb

执行结果:

xxzx@xxzx-PC:~$ wget --content-disposition https://packagecloud.io/headmelted/codebuilds/packages/debian/stretch/code-oss_1.32.0-1550644676_arm64.deb/download.deb
--2020-10-29 16:08:22--  https://packagecloud.io/headmelted/codebuilds/packages/debian/stretch/code-oss_1.32.0-1550644676_arm64.deb/download.deb
正在解析主机 packagecloud.io (packagecloud.io)... 54.183.38.243, 54.193.34.251, 2600:1f1c:2e5:6901:10ad:ff59:b50e:2773, ...
正在连接 packagecloud.io (packagecloud.io)|54.183.38.243|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://d28dx6y1hfq314.cloudfront.net/3487/3704/debian/package_files/830616.deb?t=1603959203_292cf0d51f49f656d224ff061838956caf7c308a [跟随至新的 URL]
--2020-10-29 16:08:23--  https://d28dx6y1hfq314.cloudfront.net/3487/3704/debian/package_files/830616.deb?t=1603959203_292cf0d51f49f656d224ff061838956caf7c308a
正在解析主机 d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)... 13.224.153.179, 13.224.153.81, 13.224.153.43, ...
正在连接 d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)|13.224.153.179|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:42359480 (40M) [application/x-debian-package]
正在保存至: “code-oss_1.32.0-1550644676_arm64.deb”

code-oss_1.32.0-1550644676_ 100%[=========================================>]  40.40M  2.34MB/s  用时 26s     

2020-10-29 16:08:50 (1.56 MB/s) - 已保存 “code-oss_1.32.0-1550644676_arm64.deb” [42359480/42359480])

下载完成之后,执行安装命令:

sudo dpkg -i code-oss*.deb

执行结果:

xxzx@xxzx-PC:~$ sudo dpkg -i code-oss_1.32.0-1550644676_arm64.deb 
请输入密码
[sudo] xxzx 的密码:
验证成功
正在选中未选择的软件包 code-oss。
(正在读取数据库 ... 系统当前共安装有 239730 个文件和目录。)
准备解压 code-oss_1.32.0-1550644676_arm64.deb  ...
正在解压 code-oss (1.32.0-1550644676) ...
正在设置 code-oss (1.32.0-1550644676) ...
Retrieving GPG key [headmelted] (https://packagecloud.io/headmelted/codebuilds/gpgkey)...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
gpg: 找不到有效的 OpenPGP 数据。
Removing any previous entry to headmelted repository
Installing [headmelted] repository...
Updating APT cache...
命中:1 https://packages.microsoft.com/repos/vscode stable InRelease
获取:2 https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease [23.4 kB]
错误:2 https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease
  由于没有公钥,无法验证下列签名: NO_PUBKEY 0CC3FD642696BFC8
命中:3 https://professional-packages.chinauos.com/desktop-professional eagle InRelease
命中:4 https://professional-packages.chinauos.com/printer eagle InRelease
命中:5 https://professional-store-packages.chinauos.com/appstore eagle InRelease
正在读取软件包列表...
W: GPG 错误:https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 0CC3FD642696BFC8
E: 仓库 “https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease” 没有数字签名。
Done!
正在处理用于 lastore-daemon (5.1.0.10-1) 的触发器 ...
正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 mime-support (3.62) 的触发器 ...
xxzx@xxzx-PC:~$ 

然后安装完成,打开:
Linux_arm64架构安装vscode_第2张图片

你可能感兴趣的:(软件分享,Linux,开发,arm,vscode,linux)