Apt
如何以及在哪裡找到有關軟體包影響的目錄和文件的詳細資訊?
在向 中添加功能的上下文中
BaseX
,我可以看到有關包的一些資訊:nicholas@mordor:~$ nicholas@mordor:~$ apt show basex Package: basex Version: 9.0.1+ds-1 Priority: optional Section: universe/database Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Alexander Holupirek <alex@holupirek.de> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 4,059 kB Depends: java-wrappers, default-jre | java8-runtime Recommends: libjline2-java Suggests: libtagsoup-java, libxml-commons-resolver1.1-java, libjing-java Homepage: http://basex.org Download-Size: 3,611 kB APT-Manual-Installed: yes APT-Sources: http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 Packages Description: XML database and XPath/XQuery processor BaseX is a very fast and light-weight, yet powerful XML database and XPath/XQuery processor, including support for the latest W3C Full Text and Update Recommendations. It supports large XML instances and offers a highly interactive front-end (basexgui). Apart from two local standalone modes, BaseX offers a client/server architecture. . The package provides following commands: * basex .......... Standalone local XML database. Command line interface. * basexgui ....... Standalone local XML database. Graphical user interface. * basexserver .... BaseX XML Database Server. * basexclient .... BaseX XML Database Client. BaseX XML database and XPath/XQuery processor nicholas@mordor:~$
但是我如何找到更多資訊,例如目錄的位置?
lib``BaseX
nicholas@mordor:~$ nicholas@mordor:~$ dpkg -L basex /. /usr /usr/bin /usr/bin/basex /usr/bin/basexclient /usr/bin/basexgui /usr/bin/basexserver /usr/share /usr/share/applications /usr/share/applications/basexgui.desktop /usr/share/doc /usr/share/doc/basex /usr/share/doc/basex/changelog.Debian.gz /usr/share/doc/basex/copyright /usr/share/doc/basex/examples /usr/share/doc/basex/examples/input.xml /usr/share/icons /usr/share/icons/hicolor /usr/share/icons/hicolor/128x128 /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/128x128/apps/basex.png /usr/share/icons/hicolor/16x16 /usr/share/icons/hicolor/16x16/apps /usr/share/icons/hicolor/16x16/apps/basex.png /usr/share/icons/hicolor/192x192 /usr/share/icons/hicolor/192x192/apps /usr/share/icons/hicolor/192x192/apps/basex.png /usr/share/icons/hicolor/22x22 /usr/share/icons/hicolor/22x22/apps /usr/share/icons/hicolor/22x22/apps/basex.png /usr/share/icons/hicolor/24x24 /usr/share/icons/hicolor/24x24/apps /usr/share/icons/hicolor/24x24/apps/basex.png /usr/share/icons/hicolor/256x256 /usr/share/icons/hicolor/256x256/apps /usr/share/icons/hicolor/256x256/apps/basex.png /usr/share/icons/hicolor/32x32 /usr/share/icons/hicolor/32x32/apps /usr/share/icons/hicolor/32x32/apps/basex.png /usr/share/icons/hicolor/36x36 /usr/share/icons/hicolor/36x36/apps /usr/share/icons/hicolor/36x36/apps/basex.png /usr/share/icons/hicolor/48x48 /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/48x48/apps/basex.png /usr/share/icons/hicolor/64x64 /usr/share/icons/hicolor/64x64/apps /usr/share/icons/hicolor/64x64/apps/basex.png /usr/share/icons/hicolor/72x72 /usr/share/icons/hicolor/72x72/apps /usr/share/icons/hicolor/72x72/apps/basex.png /usr/share/icons/hicolor/96x96 /usr/share/icons/hicolor/96x96/apps /usr/share/icons/hicolor/96x96/apps/basex.png /usr/share/icons/hicolor/scalable /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/scalable/apps/basex.svg /usr/share/java /usr/share/man /usr/share/man/man1 /usr/share/man/man1/basex.1.gz /usr/share/man/man1/basexclient.1.gz /usr/share/man/man1/basexgui.1.gz /usr/share/man/man1/basexserver.1.gz /usr/share/maven-repo /usr/share/maven-repo/org /usr/share/maven-repo/org/basex /usr/share/maven-repo/org/basex/basex /usr/share/maven-repo/org/basex/basex/9.0.1 /usr/share/maven-repo/org/basex/basex/9.0.1/basex-9.0.1.jar /usr/share/maven-repo/org/basex/basex/9.0.1/basex-9.0.1.pom /usr/share/maven-repo/org/basex/basex/debian /usr/share/maven-repo/org/basex/basex/debian/basex-debian.pom /usr/share/maven-repo/org/basex/basex-parent /usr/share/maven-repo/org/basex/basex-parent/9.0.1 /usr/share/maven-repo/org/basex/basex-parent/9.0.1/basex-parent-9.0.1.pom /usr/share/maven-repo/org/basex/basex-parent/debian /usr/share/maven-repo/org/basex/basex-parent/debian/basex-parent-debian.pom /usr/share/pixmaps /usr/share/pixmaps/basex_16x16.xpm /usr/share/pixmaps/basex_32x32.xpm /usr/share/java/basex.jar /usr/share/maven-repo/org/basex/basex/debian/basex-debian.jar nicholas@mordor:~$
然而,我正在尋找
lib
目錄BaseX
本身。
該
lib
目錄可以在 BaseX 的完整髮行版中找到,可以從官方首頁下載。有關更多資訊,請參閱啟動:完整髮行版。
我認為
basex
沒有任何lib
內容,只是bin
.
dpkg -L basex
不返回 lib 目錄中的任何內容,因此它肯定不在basex
包中。它可能在basex-dev
或類似的地方,但是當我尋找它時,我發現:$ apt search basex Sorting... Done Full Text Search... Done basex/testing,testing 9.0.1+ds-1 all XML database and XPath/XQuery processor lua-basexx/testing,testing 0.3-2 all baseXX encoding/decoding library for Lua
如果我查看 的內容
lua-basexx
,我也看不到任何內容lib
:$ apt-file list lua-basexx lua-basexx: /usr/share/doc/lua-basexx/changelog.Debian.gz lua-basexx: /usr/share/doc/lua-basexx/copyright lua-basexx: /usr/share/lua/5.1/basexx.lua lua-basexx: /usr/share/lua/5.2/basexx.lua
我們的最後一個選擇是搜尋
libbasex.so
:$ apt-file search libbasex $
libbasex
這不返回任何內容,因此在 debian 存檔中沒有以開頭的文件。