终端说 inkscape 没有安装,但是

终端说 inkscape 没有安装,但是

在 acer 笔记本电脑上运行 ubuntu 18.04.1。我最近从 ubuntu16 升级到 18,进行了全新安装。除了 inkscape,其他都运行正常。我从 ubuntu 软件中心安装。inkscape 只允许我从正在运行的应用程序(菜单、打开文件)中打开文档。如果我尝试通过单击“使用 inkscape 打开”来打开文件,它会弹出各种错误“加载失败...仅提及文档的部分路径,我删除了 inkskape 并重新安装。仍然不起作用。所以我试了一下sudo apt-get purge inkscape,终端返回:Package 'inkscape' is not installed, so not removed。我不明白,因为 inkscape 正在运行,所以必须安装它。我在 inkscape 目录中查找并找到了扩展错误文件。不知道它说了什么,但似乎有一堆“依赖错误”。如果有帮助,这里是错误文件的内容。:

Extension "Dia Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: dia
  description: In order to import Dia files, Dia itself must be installed.  You can get Dia at http://live.gnome.org/Dia

Extension "LaTeX" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: latex

Extension "LaTeX" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: dvips

Extension "GIMP XCF" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: gimp

Extension "Win32 Vector Print" failed to load because the extension is designed for Windows only.  This is caused by an improper .inx file for this extension.  An improper .inx file could have been caused by a faulty installation of Inkscape.
Extension "Sketch Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: skconvert

最后,“主题”看起来也很奇怪。如果我没记错的话,我在 ubuntu 16 上使用的版本感觉更流畅一些。屏幕截图

谢谢,抱歉,我的描述可能有点笨拙。我尽力了

答案1

看来你已经安装了snap 版本使用 Inkscape 替代传统apt以供参考)。您可以通过运行来验证

snap list | grep inkscape

您可以通过运行来删除它

snap remove inkscape

之后,您可以apt通过运行来安装常用版本

sudo apt install inkscape

相关内容