{"id":228146,"date":"2021-10-18T09:19:22","date_gmt":"2021-10-18T01:19:22","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=228146"},"modified":"2021-10-11T09:10:05","modified_gmt":"2021-10-11T01:10:05","slug":"yun-install-update","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/yun-install-update.html","title":{"rendered":"yum\u5de5\u5177\u5bf9\u8f6f\u4ef6\u5305\u5b89\u88c5\uff0c\u5220\u9664\uff0c\u66f4\u65b0\u4ecb\u7ecd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5728Linux\u4e0a\u89c1\u5230\u7684\u5404\u79cd\u5305\u7ba1\u7406\u7cfb\u7edf(package management system,PMS)\u7528\u6765\u8fdb\u884c\u8f6f\u4ef6\u5b89\u88c5\uff0c\u7ba1\u7406\uff0c\u5220\u9664\u7684\u547d\u4ee4\u884c\u5de5\u5177\u3002PMS\u662f\u5229\u7528\u4e00\u4e2a\u6570\u636e\u5e93\u6765\u8bb0\u5f55\u5404\u79cd\u76f8\u5173\u5185\u5bb9\uff0c\u5305\u62ec: linux\u7cfb\u7edf\u4e0a\u5df2\u5b89\u88c5\u4e86\u4ec0\u4e48\u8f6f\u4ef6\u5305\uff0c\u6bcf\u4e2a\u5305\u5b89\u88c5\u4e86\u4ec0\u4e48\u6587\u4ef6\uff0c\u6bcf\u4e2a\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\u7684\u7248\u672c\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u4e00. \u6982\u8ff0<\/strong><\/div>\n \u8f6f\u4ef6\u5305\u901a\u5e38\u4f1a\u4f9d\u8d56\u5176\u4ed6\u7684\u5305\uff0c\u4e3a\u4e86\u524d\u8005\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\uff0c\u8865\u4f9d\u8d56\u7684\u5305\u5fc5\u987b\u63d0\u524d\u5b89\u88c5\u5728\u7cfb\u7edf\u4e2d\u3002PMS\u5de5\u5177\u5c06\u4f1a\u68c0\u6d4b\u8fd9\u4e9b\u4f9d\u8d56\u5173\u7cfb\u5173\u7cfb\uff0c\u5e76\u5728\u5b89\u88c5\u9700\u8981\u7684\u5305\u4e4b\u524d\uff0c\u5148\u5b89\u88c5\u597d\u6240\u6709\u989d\u5916\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n PMS\u5bf9\u4e8e\u4e0d\u540c\u53d1\u884c\u7248\uff0c\u6ca1\u6709\u4e00\u5957\u7edf\u4e00\u7684\u6807\u51c6\u5de5\u5177\u3002\u4f7f\u7528\u5e7f\u6cdb\u7684\u4e24\u79cd\u4e3b\u8981PMS\u57fa\u7840\u5de5\u5177\u662fdpkg\u548crpm\u3002 \u57fa\u4e8eDebian\u53d1\u884c\u7248\u4f7f\u7528\u7684\u662fdpkg\u547d\u4ee4\u3002\u57fa\u4e8e Red Hat\u53d1\u884c\u7248\u4f7f\u7528\u7684\u662frpm\u547d\u4ee4\u3002\u672c\u7bc7\u4e3b\u8981\u4ecb\u7ecd\u57fa\u4e8eRed Hat\u7cfb\u7edf\u7684rpm\u5de5\u5177\u548c\u5b83\u7684\u5404\u79cd\u524d\u7aef\u754c\u9762\u3002<\/p>\n \u57fa\u4e8e red hat\u7cfb\u7edf\uff1a \u8fd9\u4e9b\u524d\u9762\u90fd\u662f\u57fa\u4e8erpm\u547d\u4ee4\u5de5\u5177\u7684\uff0c\u91cd\u70b9\u662f\u4ecb\u7ecdyum\u5de5\u5177\u3002<\/p>\n \u4e8c . yum \u5de5\u5177<\/strong><\/div>\n 2.1 yum\u5217\u51fa\u5df2\u5b89\u88c5\u5305<\/strong><\/span><\/div>\n [root@xuegod64 hsr]# yum list installed<\/pre>\n |