\r\nroot@archlinux> pacman -Ss Gnome-Desktop \/usr\/bin\r\nextra\/gnome-desktop 1:3.36.2-1\r\n Library with common API for various GNOME modules\r\n<\/pre>\n
\n\u67e5\u8be2\u67d0\u4e2a\u6587\u4ef6\u5c5e\u4e8e\u54ea\u4e2a\u5b89\u88c5\u5305\uff1a<\/p>\n
\r\nroot@archlinux> pacman -F \/usr\/bin\/vim ~\r\nusr\/bin\/vim is owned by extra\/gvim 8.2.0510-2\r\nusr\/bin\/vim is owned by extra\/vim 8.2.0510-2\r\nroot@archlinux> pacman -F \/usr\/bin\/ifconfig ~\r\nusr\/bin\/ifconfig is owned by core\/net-tools 1.60.20181103git-2\r\n<\/pre>\n
\n\u67e5\u8be2\u67d0\u4e2a\u7a0b\u5e8f\u5305\u5305\u542b\u54ea\u4e9b\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528-Ql<\/code>\u9009\u9879\uff1a<\/p>\n\r\narchlinux# pacman -Ql net-tools\r\nnet-tools \/usr\/\r\nnet-tools \/usr\/bin\/\r\nnet-tools \/usr\/bin\/arp\r\nnet-tools \/usr\/bin\/ifconfig\r\nnet-tools \/usr\/bin\/ipmaddr\r\nnet-tools \/usr\/bin\/iptunnel\r\nnet-tools \/usr\/bin\/mii-tool\r\nnet-tools \/usr\/bin\/nameif\r\nnet-tools \/usr\/bin\/netstat\r\nnet-tools \/usr\/bin\/plipconfig\r\nnet-tools \/usr\/bin\/rarp\r\nnet-tools \/usr\/bin\/route\r\nnet-tools \/usr\/bin\/slattach\r\n\u2026\r\n<\/pre>\n
\n\u67e5\u770b\u8be5\u7a0b\u5e8f\u5305\u6240\u4f9d\u8d56\u7684\u7a0b\u5e8f\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528pactree\u67e5\u770b\u3002\u9700\u8981\u5b89\u88c5pacman-contrib\u7a0b\u5e8f\u5305\uff0c\u4f7f\u7528pactree\u4ee5\u76ee\u5f55\u6811\u7684\u5f62\u5f0f\u663e\u793a\u4f9d\u8d56\u5305\u7684\u540d\u79f0\uff1a<\/p>\n
\r\narchlinux# pactree net-tools\r\nnet-tools\r\n\u2514\u2500glibc\r\n \u251c\u2500linux-api-headers provides linux-api-headers>=4.10\r\n \u251c\u2500tzdata\r\n \u2514\u2500filesystem\r\n \u2514\u2500iana-etc\r\n<\/pre>\n<\/p>\n
\u603b\u7ed3<\/strong><\/div>\npacman\u5305\u7ba1\u7406\u5668\u662fArch Linux\u4e0e\u5176\u4ed6\u4e3b\u8981\u53d1\u884c\u7248\uff08\u5982Red Hat\u548cUbuntu\/Debian\uff09\u7684\u4e3b\u8981\u533a\u522b\u4e4b\u4e00\u3002pacman\u76ee\u7684\u662f\u65b9\u4fbf\u5730\u7ba1\u7406\u5305\uff0c\u4e0d\u7ba1\u8f6f\u4ef6\u5305\u662f\u6765\u81ea\u5b98\u65b9\u7684 Arch \u5e93\u8fd8\u662f\u7528\u6237\u81ea\u5df1\u521b\u5efa\uff0cpacman \u90fd\u80fd\u65b9\u4fbf\u5730\u7ba1\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
Archlinux 2020.04 \u53ef\u4ee5\u4f7f\u7528pacman\u540c\u65f6\u5b89\u88c5\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u7a0b\u5e8f\u5305 root@archlinu […]<\/p>\n","protected":false},"author":309,"featured_media":181792,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-181791","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=181791"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181791\/revisions"}],"predecessor-version":[{"id":181809,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181791\/revisions\/181809"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/181792"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=181791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=181791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=181791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}