查询文件属于哪个包:
1 2 3 |
alvin@chen:~/openenclave/build$ dpkg -S /usr/lib/x86_64-linux-gnu/libsgx_enclave_common.so.1 libsgx-enclave-common: /usr/lib/x86_64-linux-gnu/libsgx_enclave_common.so.1 alvin@chen:~/openenclave/build$ |
1 2 3 |
[alvin@wechen3-rhel8-4 ~]$ rpm -qf /usr/lib/debug/usr/lib64/libsgx_dcap_ql.so.1.6.100.2-1.6.100.2-1.el8.x86_64.debug libsgx-dcap-ql-debuginfo-1.6.100.2-1.el8.x86_64 [alvin@wechen3-rhel8-4 ~]$ |
查询包的基本信息:
1 2 3 4 5 6 7 8 |
alvin@chen:~/openenclave/build$ dpkg -l libsgx-enclave-common Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-======================-================-================-================================================== ii libsgx-enclave-common 2.8.100.3-bionic amd64 Intel(R) Software Guard Extensions Enclave Common alvin@chen:~/openenclave/build$ |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
[alvin@wechen3-rhel8-4 ~]$ rpm -qi libsgx-dcap-ql-debuginfo-1.6.100.2-1.el8.x86_64.rpm Name : libsgx-dcap-ql-debuginfo Version : 1.6.100.2 Release : 1.el8 Architecture: x86_64 Install Date: (not installed) Group : Development/Debug Size : 495664 License : BSD License Signature : (none) Source RPM : libsgx-dcap-ql-1.6.100.2-1.el8.src.rpm Build Date : Fri 03 Apr 2020 07:48:37 AM UTC Build Host : rhel80-builder-vmware-dcap-01 Relocations : (not relocatable) URL : https://github.com/intel/SGXDataCenterAttestationPrimitives Summary : Debug information for package libsgx-dcap-ql Description : This package provides debug information for package libsgx-dcap-ql. Debug information is useful when developing applications that use this package or when debugging this package. |
查询包的全部文件:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
alvin@chen:~/openenclave/build$ dpkg -L libsgx-enclave-common /. /etc /etc/udev /etc/udev/rules.d /etc/udev/rules.d/91-sgx-enclave.rules /lib /usr /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libsgx_enclave_common.so.1.0.108.3 /usr/share /usr/share/doc /usr/share/doc/libsgx-enclave-common /usr/share/doc/libsgx-enclave-common/changelog.Debian.gz /usr/share/doc/libsgx-enclave-common/copyright /usr/lib/x86_64-linux-gnu/libsgx_enclave_common.so.1 /etc/aesmd.conf alvin@chen:~/openenclave/build$ |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
[alvin@wechen3-rhel8-4 ~]$ rpm -ql libsgx-dcap-ql-debuginfo-1.6.100.2-1.el8.x86_64.rpm /usr/lib/debug /usr/lib/debug/.build-id /usr/lib/debug/.build-id/79 /usr/lib/debug/.build-id/79/72ce61a3eed2e5d752eb8d6781ad35f629a3e6 /usr/lib/debug/.build-id/79/72ce61a3eed2e5d752eb8d6781ad35f629a3e6.debug /usr/lib/debug/.build-id/fa /usr/lib/debug/.build-id/fa/6b42b1715104236961345f4c143bd68841f9db /usr/lib/debug/.build-id/fa/6b42b1715104236961345f4c143bd68841f9db.debug /usr/lib/debug/usr /usr/lib/debug/usr/lib64 /usr/lib/debug/usr/lib64/libsgx_dcap_ql.so.1.6.100.2-1.6.100.2-1.el8.x86_64.debug /usr/lib/debug/usr/lib64/libsgx_dcap_quoteverify.so.1.6.100.2-1.6.100.2-1.el8.x86_64.debug |