{"id":5109,"date":"2019-10-18T18:49:11","date_gmt":"2019-10-18T10:49:11","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5109"},"modified":"2019-10-18T18:49:42","modified_gmt":"2019-10-18T10:49:42","slug":"apk","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/apk","title":{"rendered":"apk\u547d\u4ee4 – \u4e0b\u8f7d\u5305\u7ba1\u7406\u5de5\u5177"},"content":{"rendered":"\n

Android\u5e94\u7528\u7a0b\u5e8f\u5305\uff08APK\uff09\u662fandroid\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u5305\u6587\u4ef6\u683c\u5f0f\uff0c\u7528\u4e8e\u5206\u53d1\u548c\u5b89\u88c5\u79fb\u52a8\u5e94\u7528\u53ca\u4e2d\u95f4\u4ef6\u3002 \u4e00\u4e2aAndroid\u5e94\u7528\u7a0b\u5e8f\u7684\u4ee3\u7801\u60f3\u8981\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u5fc5\u987b\u5148\u8fdb\u884c\u7f16\u8bd1\uff0c\u7136\u540e\u88ab\u6253\u5305\u6210\u4e00\u4e2aandroid\u7cfb\u7edf\u6240\u80fd\u8bc6\u522b\u7684\u6587\u4ef6\u624d\u53ef\u4ee5\u8fd0\u884c\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>apk [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
install<\/td>\u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f\u5305<\/td><\/tr>
upgrade <\/td>\u66f4\u65b0\u6700\u65b0\u672c\u5730\u955c\u50cf\u6e90 <\/td><\/tr>
search <\/td>\u641c\u7d22<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f\u5305\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# apk install xxx<\/pre>\n\n\n\n

\u5347\u7ea7\u7cfb\u7edf\u5df2\u5b89\u88c5\u7684\u6240\u4ee5\u8f6f\u4ef6\u5305(\u4e00\u822c\u5305\u62ec\u5185\u6838): <\/p>\n\n\n\n

[root@linuxcool ~]# apk upgrade <\/pre>\n\n\n\n

\u67e5\u627e\u6240\u4ee5\u53ef\u7528\u8f6f\u4ef6\u5305\u53ca\u5176\u63cf\u8ff0\u5185\u5bb9: <\/p>\n\n\n\n

[root@linuxcool ~]# apk search -v<\/pre>\n\n\n\n

\u663e\u793a\u8f6f\u4ef6\u5305\u7684\u4fe1\u606f:<\/p>\n\n\n\n

[root@linuxcool ~]# apk info <\/pre>\n\n\n\n

\u5378\u8f7d\u5e76\u5220\u9664\u5305:<\/p>\n\n\n\n

[root@linuxcool ~]# apk del openssh openntp vim <\/pre>\n","protected":false},"excerpt":{"rendered":"

Android\u5e94\u7528\u7a0b\u5e8f\u5305\uff08APK\uff09\u662fandroid\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u5305\u6587\u4ef6\u683c\u5f0f\uff0c\u7528\u4e8e\u5206\u53d1\u548c\u5b89\u88c5\u79fb\u52a8\u5e94\u7528\u53ca\u4e2d […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5109"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5109"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5109\/revisions"}],"predecessor-version":[{"id":5212,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5109\/revisions\/5212"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}