{"id":7743,"date":"2023-10-30T15:45:16","date_gmt":"2023-10-30T07:45:16","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/7743\/"},"modified":"2023-10-30T15:45:16","modified_gmt":"2023-10-30T07:45:16","slug":"pacman%e8%bd%af%e4%bb%b6%e6%89%93%e5%8c%85%e6%98%af%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/7743\/","title":{"rendered":"pacman\u8f6f\u4ef6\u6253\u5305\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff1f"},"content":{"rendered":"

Pacman\u662f\u4e00\u6b3e\u7528\u4e8eArch Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u3002\u5b83\u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u3001\u66f4\u65b0\u3001\u5378\u8f7d\u548c\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002Pacman\u7684\u8bbe\u8ba1\u7406\u5ff5\u662f\u7b80\u5355\u3001\u76f4\u63a5\u548c\u5feb\u901f\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecdPacman\u7684\u539f\u7406\u548c\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n

Pacman\u7684\u539f\u7406<\/p>\n

Pacman\u7684\u6838\u5fc3\u539f\u7406\u662f\u5c06\u8f6f\u4ef6\u5305\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u7136\u540e\u901a\u8fc7Pacman\u6765\u7ba1\u7406\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u3002Pacman\u4f7f\u7528\u4e86\u4e00\u7ec4\u7b80\u5355\u7684\u547d\u4ee4\u6765\u6267\u884c\u5404\u79cd\u64cd\u4f5c\uff0c\u4f8b\u5982\u5b89\u88c5\u3001\u66f4\u65b0\u3001\u5378\u8f7d\u548c\u641c\u7d22\u8f6f\u4ef6\u5305\u3002<\/p>\n

Pacman\u4f7f\u7528\u7684\u8f6f\u4ef6\u5305\u683c\u5f0f\u662f.tar.xz\u3002\u8fd9\u79cd\u683c\u5f0f\u53ef\u4ee5\u975e\u5e38\u9ad8\u6548\u5730\u538b\u7f29\u8f6f\u4ef6\u5305\uff0c\u4f7f\u5f97\u8f6f\u4ef6\u5305\u4e0b\u8f7d\u548c\u5b89\u88c5\u53d8\u5f97\u66f4\u52a0\u5feb\u901f\u548c\u4fbf\u6377\u3002\u6bcf\u4e2a\u8f6f\u4ef6\u5305\u90fd\u5305\u542b\u4e86\u4e8c\u8fdb\u5236\u6587\u4ef6\u3001\u914d\u7f6e\u6587\u4ef6\u548c\u5176\u4ed6\u5fc5\u8981\u7684\u6587\u4ef6\u3002<\/p>\n

Pacman\u7684\u8f6f\u4ef6\u5305\u4ed3\u5e93\u662f\u7531Arch Linux\u793e\u533a\u7ef4\u62a4\u7684\u3002\u8fd9\u4e2a\u4ed3\u5e93\u5305\u542b\u4e86\u6570\u5343\u4e2a\u8f6f\u4ef6\u5305\uff0c\u5305\u62ec\u684c\u9762\u73af\u5883\u3001\u5e94\u7528\u7a0b\u5e8f\u3001\u5e93\u6587\u4ef6\u548c\u5f00\u53d1\u5de5\u5177\u7b49\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7Pacman\u6765\u8f7b\u677e\u5730\u5b89\u88c5\u548c\u5347\u7ea7\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u3002<\/p>\n

Pacman\u7684\u4f7f\u7528\u65b9\u6cd5<\/p>\n

Pacman\u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u547d\u4ee4\u548c\u9009\u9879\uff1a<\/p>\n

1. pacman -S package_name\uff1a\u5b89\u88c5\u8f6f\u4ef6\u5305\u3002<\/p>\n

2. pacman -Syu\uff1a\u66f4\u65b0\u7cfb\u7edf\u4e0a\u7684\u6240\u6709\u8f6f\u4ef6\u5305\u3002<\/p>\n

3. pacman -R package_name\uff1a\u5378\u8f7d\u8f6f\u4ef6\u5305\u3002<\/p>\n

4. pacman -Ss keyword\uff1a\u641c\u7d22\u8f6f\u4ef6\u5305\u3002<\/p>\n

5. pacman -Qi package_name\uff1a\u67e5\u770b\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n

6. pacman -Ql package_name\uff1a\u5217\u51fa\u8f6f\u4ef6\u5305\u7684\u6587\u4ef6\u5217\u8868\u3002<\/p>\n

7. pacman -Sc\uff1a\u94fe\u63a5\u751f\u6210\u8f6f\u4ef6<\/a>\u6e05\u7406\u672c\u5730\u8f6f\u4ef6\u5305\u7f13\u5b58\u3002<\/p>\n

8. pacman -Sy package_name\uff1a\u4ece\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u4e0b\u8f7d\u8f6f\u4ef6\u5305\uff0c\u4f46\u4e0d\u5b89\u88c5\u3002<\/p>\n

9. pacman –<\/p>\n

<\/figure>\n<\/p>\n

Su package_name\uff1a\u66f4\u65b0\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n

10. pacman -Sw package_name\uff1a\u53ea\u4e0b\u8f7d\u8f6f\u4ef6\u5305\uff0c\u4e0d\u5b89\u88c5\u3002<\/p>\n

11. pacman -Syy\uff1a\u5f3a\u5236\u66f4\u65b0\u8f6f\u4ef6\u5305\u4ed3\u5e93\u3002<\/p>\n

\u4ee5\u4e0a\u662f\u4e00\u4e9b\u5e38\u7528\u7684Pacman\u547d\u4ee4\u548c\u9009\u9879\u3002\u4f7f\u7528Pacman\u6765\u7ba1\u7406\u8f6f\u4ef6\u5305\u975e\u5e38\u65b9\u4fbf\u548c\u5feb\u901f\u3002<\/p>\n

\u603b\u7ed3<\/p>\n

Pacman\u662f\u4e00\u4e2a\u7b80\u5355\u3001\u76f4\u63a5\u548c\u5feb\u901f\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u3002\u5b83\u4f7f\u7528.tar.xz\u683c\u5f0f\u7684\u8f6f\u4ef6\u5305\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u7ec4\u7b80\u5355\u7684\u547d\u4ee4\u6765\u7ba1\u7406\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u3002Pa\u7cfb\u7edf\u5f00\u53d1<\/a>cman\u7684\u8f6f\u4ef6\u5305\u4ed3\u5e93\u7531Arch Linux\u793e\u533a\u7ef4\u62a4\uff0c\u5305\u542b\u4e86\u6570\u5343\u4e2a\u8f6f\u4ef6\u5305\u3002\u4f7f\u7528Pacman\u6765\u5b89\u88c5\u3001\u66f4\u65b0\u3001\u5378\u8f7d\u548c\u641c\u7d22\u8f6f\u4ef6\u5305\u975e\u5e38\u65b9\u4fbf\u548c\u5feb\u901f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Pacman\u662f\u4e00\u6b3e\u7528\u4e8eArch Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u3002\u5b83\u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u3001\u66f4\u65b0\u3001\u5378\u8f7d\u548c\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002Pacman\u7684\u8bbe\u8ba1\u7406\u5ff5\u662f\u7b80\u5355\u3001\u76f4\u63a5\u548c\u5feb\u901f\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecdPacman\u7684\u539f\u7406\u548c\u4f7f\u7528<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[9392,9111,9389,832,416],"topic":[],"class_list":["post-7743","post","type-post","status-publish","format-standard","hentry","category-exekf","tag-elementuiexe","tag-exerevit","tag-9389","tag-832","tag-416"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/7743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=7743"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/7743\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=7743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=7743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=7743"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=7743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}