{"id":84145,"date":"2023-02-10T19:53:34","date_gmt":"2023-02-10T11:53:34","guid":{"rendered":"http:\/\/www.idc.net\/help\/84145\/"},"modified":"2023-02-10T19:53:34","modified_gmt":"2023-02-10T11:53:34","slug":"linux%e7%b3%bb%e7%bb%9f%e5%ae%89%e8%a3%85lzma%e5%8e%8b%e7%bc%a9%e6%8a%80%e6%9c%af%ef%bc%88linux%e5%ae%89%e8%a3%85lzma%ef%bc%89","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/84145\/","title":{"rendered":"Linux\u7cfb\u7edf\u5b89\u88c5Lzma\u538b\u7f29\u6280\u672f\uff08linux\u5b89\u88c5lzma\uff09"},"content":{"rendered":"<p>Lzma\u538b\u7f29\u6280\u672f\u662f\u4e00\u79cd\u65b0\u7684\u9ad8\u6548\u7684\u65e0\u635f\u6570\u636e\u538b\u7f29\u6280\u672f\uff0c\u5177\u6709\u538b\u7f29\u7387\u9ad8\u3001\u901f\u5ea6\u5feb\u3001\u5b89\u5168\u53ef\u9760\u7b49\u7279\u70b9\u3002\u4e0b\u9762\u4ecb\u7ecdLinux\u7cfb\u7edf\u4e2d\u5982\u4f55\u5b89\u88c5\u548c\u914d\u7f6eLzma\u538b\u7f29\u6280\u672f\uff1a<\/p>\n<\/p>\n<p>\u4e00\u3001\u786e\u4fdd\u5df2\u5b89\u88c5\u6240\u9700\u7a0b\u5e8f<\/p>\n<\/p>\n<p>\u5b89\u88c5LZMA\u538b\u7f29\u6280\u672f\u9700\u8981\u5148\u5b89\u88c5liblzma\uff0cliblzma\u662f\u4e00\u4e2a\u5f00\u6e90\u76847z\u538b\u7f29\u548c\u89e3\u538b\u7f29\u5e93\u3002Linux\u4e0b\u53ef\u4ee5\u4ece\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4\u2019sudo apt-get install liblzma-dev\u2019\u6765\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p>\u4e8c\u3001\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29Lzma\u538b\u7f29\u5305<\/p>\n<\/p>\n<p>\u4ece\u5b98\u7f51\u4e0a\u4e0b\u8f7dLzma\u6e90\u7801\uff0c\u51c6\u5907\u5b89\u88c5\u65f6\u5148\u89e3\u538b\u7f29\u8be5\u6587\u4ef6\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u5939\uff0c\u6253\u5f00\u7ec8\u7aef\u8f93\u5165\u89e3\u538b\u7f29\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p>tar \u2013xvzf lzmaX.X.X.tar.Z<\/p>\n<\/p>\n<p>\u4e09\u3001\u7f16\u8bd1\u5b89\u88c5<\/p>\n<\/p>\n<p>\u89e3\u538b\u7f29\u5b8c\u6bd5\u540e\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u627e\u5230\u2019configure\u2019\u6587\u4ef6\uff0c\u8fd0\u884cconfigure\u811a\u672c\uff0c\u751f\u6210makefile\u6587\u4ef6\u3002\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165<\/p>\n<\/p>\n<p>.\/configure<\/p>\n<\/p>\n<p>\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u5982\u679c\u4e00\u5207\u6b63\u5e38\u5219\u4f1a\u51fa\u73b0\u4e00\u4e2a\u63d0\u793a\uff0c\u8868\u660e\u4e00\u5207\u51c6\u5907\u597d\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5\u4e86\u3002<\/p>\n<\/p>\n<p>\u56db\u3001\u5b89\u88c5\u4ee5\u53ca\u914d\u7f6e<\/p>\n<\/p>\n<p>\u7136\u540e\u8fd0\u884cmake\u547d\u4ee4\uff0c\u6765\u7f16\u8bd1\u5b89\u88c5\u6587\u4ef6\uff0c\u5f53\u5b8c\u6210\u7f16\u8bd1\u5b89\u88c5\u540e\u8f93\u5165\u2019make install\u2019\u547d\u4ee4\uff0c\u5c06\u6587\u4ef6\u5b89\u88c5\u5230\u7cfb\u7edf\u76ee\u5f55\u4e0b\u3002<\/p>\n<\/p>\n<p>\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u5305\u5b89\u88c5\u5b8c\u6bd5\uff0c\u7136\u540e\u5373\u53ef\u914d\u7f6eliblzma\uff0c\u6dfb\u52a0\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/usr\/local\/lib <\/p>\n<\/p>\n<p>\u4e94\u3001\u6d4b\u8bd5<\/p>\n<\/p>\n<p>\u5982\u679c\u5b89\u88c5\u6b63\u786e\u65e0\u8bef\uff0c\u53ef\u4ee5\u8fd0\u884clinux terminal\u7a0b\u5e8f\uff0c\u5c1d\u8bd5\u6253\u5f00liblzma\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p>lzma \u2013version<\/p>\n<\/p>\n<p>\u5982\u679c\u8f93\u51fa\u7684\u7248\u672c\u53f7\u6b63\u786e\u5730\u8868\u660e\u4e86Lzma\u5df2\u7ecf\u5b89\u88c5\u5b8c\u6210\uff0c\u8868\u660eliblzma\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<p>\u603b\u4e4b\uff0cLZMA\u538b\u7f29\u6280\u672f\u662f\u4e00\u79cd\u529f\u80fd\u5f3a\u5927\u7684\u9ad8\u538b\u7f29\u7387\u548c\u5b89\u5168\u53ef\u9760\u7684\u6570\u636e\u538b\u7f29\u6280\u672f\u3002\u5b89\u88c5\u548c\u914d\u7f6eLzma\u538b\u7f29\u6280\u672f\u53ea\u9700\u8981\u51c6\u5907\u5fc5\u8981\u7684\u5de5\u5177\uff0c\u4f9d\u6b21\u5b89\u88c5\u548c\u914d\u7f6e\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p><a href=\"http:https:\/\/idc.net\/\">\u9999\u6e2f\u670d\u52a1\u5668<\/a>\u9996\u9009\u540e\u6d6a\u4e91\uff0c2H2G\u9996\u670810\u5143\u5f00\u901a\u3002<br \/>\u540e\u6d6a\u4e91\uff08www.IDC.Net\uff09\u63d0\u4f9b\u7b80\u5355\u597d\u7528\uff0c\u4ef7\u683c\u539a\u9053\u7684\u9999\u6e2f\/\u7f8e\u56fd\u4e91\u670d\u52a1\u5668\u548c\u72ec\u7acb\u670d\u52a1\u5668\u3002IDC+ISP+ICP\u8d44\u8d28\u3002ARIN\u548cAPNIC\u4f1a\u5458\u3002\u6210\u719f\u6280\u672f\u56e2\u961f15\u5e74\u884c\u4e1a\u7ecf\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lzma\u538b\u7f29\u6280\u672f\u662f\u4e00\u79cd\u65b0\u7684\u9ad8\u6548\u7684\u65e0\u635f\u6570\u636e\u538b\u7f29\u6280\u672f\uff0c\u5177\u6709\u538b\u7f29\u7387\u9ad8\u3001\u901f\u5ea6\u5feb\u3001\u5b89\u5168\u53ef\u9760\u7b49\u7279\u70b9\u3002\u4e0b\u9762\u4ecb\u7ecdLinux\u7cfb\u7edf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-84145","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/84145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=84145"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/84145\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=84145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=84145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=84145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}