추가된 맥락에서능력로 전환하면 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 <[email protected]>
Original-Maintainer: Alexander Holupirek <[email protected]>
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
자체를보고 있습니다.
답변1
이 lib
디렉토리는 공식 홈페이지에서 다운로드할 수 있는 BaseX 전체 배포본에서 찾을 수 있습니다. 바라보다출시: 정식 출시더 많은 정보를 알고 싶습니다.
답변2
basex
별 lib
내용 은 없는 것 같아요 bin
.
dpkg -L basex
basex
lib 디렉토리의 어떤 것도 반환되지 않으므로 확실히 패키지에 없습니다 . 아마도 그와 비슷할 것입니다 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
이는 아무것도 반환하지 않으므로 데비안 아카이브에는 다음으로 시작하는 파일이 없습니다.
답변3
dpkg -L
특정 패키지와 함께 제공되는 모든 파일을 나열합니다. 시스템에 대한 전체 변경 사항을 보려면 패키지의 관리자 스크립트도 살펴봐야 하지만 basex
아무것도 없습니다.
BaseX는 Java 프로그램이므로 해당 라이브러리는 lib...
파일에 포함되어 있지 않습니다. 이는 /usr/share/maven-repo
Maven 저장소로 게시된 JAR로 제공되며 /usr/share/java
BaseX "라이브러리"(모든 BaseX 애플리케이션도 포함)는 /usr/share/maven-repo/org/basex/basex/9.0.1/basex-9.0.1.jar
.
BaseX의 패키지 버전이 특정 디렉토리에서 자동으로 JAR을 로드하는지 확실하지 않지만 언제든지 클래스 경로에 JAR을 추가할 수 있습니다.이 답변더 알아보기.