我可以在 chromebook 上运行 VScode 吗?

问题描述 投票:0回答:1

我正在使用 Chromebook(asusu c101pa)。

如何在没有[社区构建

的情况下获得 VScode

Visual Studio 代码]1

我尝试了 vscode 的社区版本,但无法运行。而且,我想在linux上使用。

我已经下载了 VS Code 的 deb 文件。但无法工作。错误代码系统

安装 Linux 应用程序时发生错误

所以,我也安装了 Linux 命令(终端)。

myname@penguin:~$ sudo dpkg -i code_1.29.1-1542309157_amd64.deb

dpkg:处理存档代码时出错_1.29.1-1542309157_amd64.deb
( - 安装): 软件包架构(amd64)与系统(arm64)不匹配
处理时遇到错误: 代码_1.29.1-1542309157_amd64.deb

code_1.29.1-1542309157_amd64.deb 是 vscode 文件。

如何解决这个问题?

visual-studio-code installation dpkg chromebook
1个回答
0
投票

是的,您可以在 Chromebook 上运行 VScode!首先,您需要在设置中启用Linux。接下来,您运行

sudo apt update && sudo apt upgrade
。然后,运行命令
sudo apt-get install -y gnome-keyring
。之后,运行命令
dpkg --print-architecture. Remember this! Then, navigate out to 
https://code.visualstudio.com/download
and based on what it says, download x64 or Arm64 respectively. Lastly, open files. There should be a file ending in
.deb`。双击这个。那应该下载 VScode!!

© www.soinside.com 2019 - 2024. All rights reserved.