ubuntu - 如何在 Ubuntu 20.04 LTS 上安装 libwebkitgtk 包?

标签 ubuntu dependencies gtk coronasdk solar2d

所以我正在尝试安装Solar2D(以前称为Corona SDK)来制作手机游戏。安装依赖项后,当我运行 Solar 2D 时,出现以下错误:

/home/user/CoronaSimulator/CoronaSimulator: error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory
我尝试使用 sudo apt-get install libwebkitgtk-1.0-0 安装 libwebkitgtk但我在终端收到以下消息:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libwebkitgtk-1.0-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libwebkitgtk-1.0-0' has no installation candidate

最佳答案

按照步骤here为我解决了这个问题
打开终端并写下:

  • 须藤纳米/etc/apt/sources.list
  • 将此条目添加到文件并保存:
  • deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
  • sudo apt-get 更新
  • sudo apt-get install libwebkitgtk-1.0-0 -> 如果您使用的是 64 位的 Vega 和 jdk
    sudo apt-get install libwebkitgtk-1.0-0:i386 -> 如果您使用的是 32 位的 Vega 和 jdk
  • 关于ubuntu - 如何在 Ubuntu 20.04 LTS 上安装 libwebkitgtk 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62301866/

    相关文章:

    linux - Ubuntu 通过 GID 删除组

    linux - Bower 安装 Bootstrap 问题

    maven - 确定 Maven 依赖项是否实际使用的最简单方法是什么?

    c# - 在 Gtk 中,如何在 ListStore 中搜索包含特定值的行?

    python - 运行 bash 脚本以在 USB 设备挂载后自动从 USB 设备复制内容

    ubuntu - JTessBoxEditor 无法在 Ubuntu 16.04(OpenJDK 8 或 9)上启动

    c++ - 标题互相需要

    javascript - 如何解决 npm 中的对等依赖警告?

    Java 中的 GTK 使用 Windows

    c# - WPF 还是 GTK?哪一个更好