![Pencil 无法安装在 Ubuntu 18.04 上](https://linux22.com/image/1014962/Pencil%20%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E5%9C%A8%20Ubuntu%2018.04%20%E4%B8%8A.png)
我正在寻找 Linux 上的 UX 设计工具,因此尝试安装铅笔。
dpkg -i Pencil_3.0.4_amd64.deb
Selecting previously unselected package pencil.
(Reading database ... 291107 files and directories currently installed.)
Preparing to unpack Pencil_3.0.4_amd64.deb ...
Unpacking pencil (3.0.4-49) ...
Setting up pencil (3.0.4-49) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
我没有看到任何错误,它也没有出现在程序的任何地方。它也没有出现在已安装的软件上。
dpkg -L pencil
/.
/opt
/opt/Pencil
/opt/Pencil/content_resources_200_percent.pak
/opt/Pencil/pencil
/opt/Pencil/views_resources_200_percent.pak
/opt/Pencil/icudtl.dat
/opt/Pencil/LICENSE.electron.txt
/opt/Pencil/blink_image_resources_200_percent.pak
/opt/Pencil/locales
/opt/Pencil/locales/sl.pak
/opt/Pencil/locales/cs.pak
/opt/Pencil/locales/fa.pak
/opt/Pencil/locales/ta.pak
/opt/Pencil/locales/gu.pak
/opt/Pencil/locales/nl.pak
/opt/Pencil/locales/id.pak
/opt/Pencil/locales/et.pak
/opt/Pencil/locales/ar.pak
/opt/Pencil/locales/am.pak
/opt/Pencil/locales/da.pak
/opt/Pencil/locales/fi.pak
/opt/Pencil/locales/lt.pak
/opt/Pencil/locales/en-GB.pak
/opt/Pencil/locales/it.pak
/opt/Pencil/locales/nb.pak
/opt/Pencil/locales/th.pak
/opt/Pencil/locales/sk.pak
/opt/Pencil/locales/ro.pak
/opt/Pencil/locales/hu.pak
/opt/Pencil/locales/sr.pak
/opt/Pencil/locales/mr.pak
/opt/Pencil/locales/fake-bidi.pak
/opt/Pencil/locales/zh-CN.pak
/opt/Pencil/locales/ko.pak
/opt/Pencil/locales/kn.pak
/opt/Pencil/locales/pl.pak
/opt/Pencil/locales/es.pak
/opt/Pencil/locales/ca.pak
/opt/Pencil/locales/vi.pak
/opt/Pencil/locales/he.pak
/opt/Pencil/locales/te.pak
/opt/Pencil/locales/pt-BR.pak
/opt/Pencil/locales/bn.pak
/opt/Pencil/locales/es-419.pak
/opt/Pencil/locales/en-US.pak
/opt/Pencil/locales/uk.pak
/opt/Pencil/locales/ml.pak
/opt/Pencil/locales/hr.pak
/opt/Pencil/locales/lv.pak
/opt/Pencil/locales/el.pak
/opt/Pencil/locales/ru.pak
/opt/Pencil/locales/hi.pak
/opt/Pencil/locales/de.pak
/opt/Pencil/locales/pt-PT.pak
/opt/Pencil/locales/ja.pak
/opt/Pencil/locales/ms.pak
/opt/Pencil/locales/sv.pak
/opt/Pencil/locales/fil.pak
/opt/Pencil/locales/zh-TW.pak
/opt/Pencil/locales/tr.pak
/opt/Pencil/locales/bg.pak
/opt/Pencil/locales/sw.pak
/opt/Pencil/locales/fr.pak
/opt/Pencil/snapshot_blob.bin
/opt/Pencil/libffmpeg.so
/opt/Pencil/resources
/opt/Pencil/resources/app.asar
/opt/Pencil/resources/app.asar.unpacked
/opt/Pencil/resources/app.asar.unpacked/node_modules
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/Typings
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/Typings/xelement.d.ts
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/LICENSE
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/package.json
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/xelement.sln
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/.vs
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/.vs/xelement
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/.vs/xelement/v14
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/.vs/xelement/v14/.suo
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/sampledata.xml
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/.npmignore
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/Index.js
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/lib
/opt/Pencil/resources/app.asar.unpacked/node_modules/xelement/lib/xelement.js
/opt/Pencil/resources/electron.asar
/opt/Pencil/content_shell.pak
/opt/Pencil/natives_blob.bin
/opt/Pencil/ui_resources_200_percent.pak
/opt/Pencil/libnode.so
/opt/Pencil/LICENSES.chromium.html
/usr
/usr/share
/usr/share/applications
/usr/share/applications/pencil.desktop
/usr/share/doc
/usr/share/doc/pencil
/usr/share/doc/pencil/changelog.gz
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/pencil.png
/usr/share/icons/hicolor/32x32
/usr/share/icons/hicolor/32x32/apps
/usr/share/icons/hicolor/32x32/apps/pencil.png
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/pencil.png
/usr/share/icons/hicolor/24x24
/usr/share/icons/hicolor/24x24/apps
/usr/share/icons/hicolor/24x24/apps/pencil.png
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/pencil.png
/usr/share/icons/hicolor/96x96
/usr/share/icons/hicolor/96x96/apps
/usr/share/icons/hicolor/96x96/apps/pencil.png
/usr/share/icons/hicolor/128x128
/usr/share/icons/hicolor/128x128/apps
/usr/share/icons/hicolor/128x128/apps/pencil.png
/usr/share/icons/hicolor/256x256
/usr/share/icons/hicolor/256x256/apps
/usr/share/icons/hicolor/256x256/apps/pencil.png
这里可能存在什么问题以及如何解决?
答案1
Dpkg 安装程序无法像 apt 包管理器那样有效地处理包。因此,请打开终端并输入
sudo apt install pencil
如果您已下载 .deb 文件,请打开终端cd /your_download_directory
并输入sudo apt-get install ./pencil_3.1.0.ga_amd64.deb
(根据您下载的版本)
答案2
将 Ubuntu 22.04 更新到 Ubuntu 22.04.1 LTS 后,我的铅笔无法使用。要将铅笔与 ubuntu 22.04.1 一起使用,我现在在终端中使用命令:pencil --disable-seccomp-filter-sandbox