如何在 CernVm 上安装 Visual Studio Code?

如何在 CernVm 上安装 Visual Studio Code?

我正在尝试在 CernVm 上安装 VS Code,但它显示以下错误:

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package code.x86_64 0:1.35.1-1560350390.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: code-1.35.1-1560350390.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: code-1.35.1-1560350390.el7.x86_64
--> Processing Dependency: libsecret-1.so.0()(64bit) for package: code-1.35.1-1560350390.el7.x86_64
--> Processing Dependency: libgtk-3.so.0()(64bit) for package: code-1.35.1-1560350390.el7.x86_64
--> Finished Dependency Resolution
Error: Package: code-1.35.1-1560350390.el7.x86_64 (code)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: code-1.35.1-1560350390.el7.x86_64 (code)
           Requires: libgtk-3.so.0()(64bit)
Error: Package: code-1.35.1-1560350390.el7.x86_64 (code)
           Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: code-1.35.1-1560350390.el7.x86_64 (code)
           Requires: libsecret-1.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


我浏览了各种网站试图弄清楚如何安装libstdc++.so.6,但现在完全困惑了。我不知道编译后的 .rpm 文件是否可用于 CernVM 或 Scientific Linux。
我在某处读到,vs code 可以使用dnf.所以我添加了 EPEL 存储库,但无济于事。我似乎dnf无论如何都无法安装。

我已经尝试过yum updateyum upgradeyum --obsoletes update命令并尝试清理缓存......但是它们对错误消息没有影响。

请帮忙...记住主要目标是安装 VS Code(适用于任何较旧版本的 VS Code 的解决方案都可以,但适用于最新版本的解决方案就更好了)。

环境:

$  cat /etc/issue
Welcome to CERN Virtual Machine, version 3.7.2.8
  based on Scientific Linux release 6.9 (Carbon)
  Kernel 4.1.44-30.cernvm.x86_64 on an x86_64

在 Ubuntu 18 上的 VirtualBox 版本 5.2.18 上运行

相关内容