我正在尝试使用 apt-get 在 Ubuntu 14.04 LTS 上安装 Inkscape。看似成功安装后,我似乎无法运行 Inkscape。我得到以下终端输出:
matt@linuxDesk:/$ sudo apt-get install inkscape
Reading package lists... Done
Building dependency tree
Reading state information... Done
inkscape is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
matt@linuxDesk:/$ inkscape
The program 'inkscape' is currently not installed. You can install it by typing:
sudo apt-get install inkscape
Run Code Online (Sandbox Code Playgroud)
我有第二台计算机,也运行 Ubuntu 14.04,我能够在该计算机上安装和运行 Inkscape,没有问题。我跑了
find /usr -name inkscape
Run Code Online (Sandbox Code Playgroud)
在具有工作安装的计算机上,并且该命令返回了大量文件。在安装失败的计算机上运行相同的命令会产生:
/usr/lib/mime/packages/inkscape
/usr/share/menu/inkscape
/usr/share/doc/inkscape
Run Code Online (Sandbox Code Playgroud)
这向我表明 apt-get 认为安装了 Inkscape,但由于某种原因只安装了一些文件。我已经尝试从计算机上完全擦除 Inkscape 并重新开始使用: …