{"id":34376,"date":"2024-08-05T11:34:27","date_gmt":"2024-08-05T03:34:27","guid":{"rendered":"https:\/\/www.deepin.org\/?p=34376"},"modified":"2024-08-05T11:37:45","modified_gmt":"2024-08-05T03:37:45","slug":"linyaps-openeuler","status":"publish","type":"post","link":"https:\/\/www.deepin.org\/zh\/linyaps-openeuler\/","title":{"rendered":"\u5982\u610f\u73b2\u73d1\u652f\u6301\u53d1\u884c\u7248\u518d\u6dfb\u65b0\u6210\u5458\uff0copenEuler\u5b89\u88c5\u4f7f\u7528\u5982\u610f\u73b2\u73d1\u64cd\u4f5c\u6307\u5357"},"content":{"rendered":"<img loading=\"lazy\" class=\"alignnone size-full wp-image-34377\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762.png\" alt=\"\" width=\"900\" height=\"383\" srcset=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762.png 900w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-300x128.png 300w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-150x64.png 150w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-768x327.png 768w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-24x10.png 24w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-36x15.png 36w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/08\/\u84dd\u7d2b\u8272\u6e10\u53d8\u79d1\u6280\u98ce\u4f01\u4e1a\u62db\u8058\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-48x20.png 48w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>\u5982\u610f\u73b2\u73d1\uff08Linyaps\uff09\u9879\u76ee\u5df2\u4e0e\u5f00\u653e\u539f\u5b50\u5f00\u6e90\u57fa\u91d1\u4f1a\u5b8c\u6210\u6350\u8d60\u534f\u8bae\u7b7e\u7f72\uff0c\u76ee\u524d\u5982\u610f\u73b2\u73d1\u5df2\u6210\u4e3a\u57fa\u91d1\u4f1a\u7684\u6b63\u5f0f\u5b75\u5316\u671f\u9879\u76ee\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34237\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1.png\" alt=\"\" width=\"663\" height=\"172\" srcset=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1.png 663w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1-300x78.png 300w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1-150x39.png 150w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1-24x6.png 24w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1-36x9.png 36w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17211009637781-1-48x12.png 48w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>\u5982\u610f\u73b2\u73d1\u662f\u5f00\u6e90\u8f6f\u4ef6\u5305\u683c\u5f0f\uff0c\u7528\u4e8e\u66ff\u4ee3 deb\u3001rpm\u7b49\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b9e\u73b0\u5e94\u7528\u5305\u7ba1\u7406\u3001\u5206\u53d1\u3001\u5bb9\u5668\u3001\u96c6\u6210\u5f00\u53d1\u5de5\u5177\u7b49\u529f\u80fd\u3002\u4f5c\u4e3a\u4e00\u79cd\u65b0\u578b\u7684\u72ec\u7acb\u5305\u7ba1\u7406\u5de5\u5177\u96c6\uff0c\u5982\u610f\u73b2\u73d1\u4e3b\u8981\u63d0\u4f9b\u5206\u5c42\u4e0e\u9694\u79bb\u7684\u8fd0\u884c\u73af\u5883\uff0c\u6765\u89e3\u51b3\u4f20\u7edf\u5305\u7ba1\u7406\u7cfb\u7edf\u5f3a\u4f9d\u8d56\u5bfc\u81f4\u7684\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u4ee5\u53ca\u6743\u9650\u677e\u6563\u5bfc\u81f4\u7684\u5b89\u5168\u95ee\u9898\u3002\u51cf\u5c11\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u5206\u53d1\u65f6\u7684\u6253\u5305\u6b21\u6570\uff0c\u505a\u5230\u201c\u4e00\u4e2a\u67b6\u6784\uff0c\u4e00\u6b21\u6784\u5efa\u201d\uff0c\u4e3aLinux\u751f\u6001\u53d1\u5c55\u63d0\u4f9b\u4e86\u575a\u5b9e\u7684\u57fa\u7840\u3002<\/p>\n<p>&nbsp;<\/p>\n<section data-role=\"outer\">\n<section>\n<section>\n<section>\n<section>\n<h1 style=\"text-align: center;\"><strong data-brushtype=\"text\">\u5982\u610f\u73b2\u73d1\u53d1\u884c\u7248\u9002\u914d\u8fdb\u5c55<\/strong><\/h1>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<ul>\n<li>\u5728openEuler\u7cfb\u7edf\u4e0a\u5982\u610f\u73b2\u73d1\u5df2\u96c6\u6210\u5230Eur\u4ed3\u5e93\uff0c\u6dfb\u52a0\u8be5\u4ed3\u5e93\u540e\uff0c\u7528\u6237\u624b\u52a8\u5b89\u88c5\u4f7f\u7528\uff1b<\/li>\n<li>\u5728UOS 1070\u7cfb\u7edf\u4e0a\u6dfb\u52a0\u5982\u610f\u73b2\u73d1\u5916\u7f51\u4ed3\u5e93\u5230\u7cfb\u7edf\u4ed3\u5e93\u540e\uff0c\u7528\u6237\u624b\u52a8\u5b89\u88c5\u4f7f\u7528\uff1b<\/li>\n<li>\u5982\u610f\u73b2\u73d1\u5df2\u96c6\u6210\u5230deepin V23\u7cfb\u7edf\uff0c\u7528\u6237\u53ef\u76f4\u63a5\u4f7f\u7528\uff1b<\/li>\n<li>\u76ee\u524d\u9002\u914d\u4e86openKylin\u3001\u9e92\u9e9f\u4e13\u4e1a\u7248\u3001Ubuntu 24.04\u548cDebian 12\u3002\u5bf9\u4e8e\u5373\u5c06\u53d1\u5e03\u76841.6\u7248\u672c\uff0c\u5c06\u63d0\u4f9b\u5404\u53d1\u884c\u7248\u7684\u72ec\u7acb\u4ed3\u5e93\uff0c\u7528\u6237\u53ef\u4ee5\u624b\u52a8\u6dfb\u52a0\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p>\u8fd1\u65e5\uff0c\u5982\u610f\u73b2\u73d1\u5b98\u7f51\u4f7f\u7528\u624b\u518c\u65b0\u589eopenEuler\u6dfb\u52a0\u5982\u610f\u73b2\u73d1\u4ed3\u5e93\u6e90\u4ecb\u7ecd\uff0c\u8bda\u9080\u60a8\u62a2\u5148\u4f53\u9a8c\u3002<\/p>\n<p>&nbsp;<\/p>\n<section data-role=\"paragraph\">\n<section data-role=\"outer\">\n<section>\n<section>\n<section>\n<section>\n<h1 style=\"text-align: center;\"><strong>openEuler\u5b89\u88c5\u5982\u610f\u73b2\u73d1<\/strong><\/h1>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<section data-role=\"paragraph\">\n<section data-role=\"list\">\u672c\u6587\u9002\u7528\u4e8e1.5.6\u7248\u672c, \u8bf7\u4f7f\u7528 ll-cli --version \u68c0\u67e5\u60a8\u7684\u5982\u610f\u73b2\u73d1\u7a0b\u5e8f\u7248\u672c\u3002&nbsp;<\/p>\n<section><\/section>\n<h2><strong>1\u3001\u5982\u610f\u73b2\u73d1\u7ec4\u6210<\/strong><\/h2>\n<ul class=\"list-paddingleft-1\">\n<li>\n<section>ll-builder \u7528\u6765\u6784\u5efa\u548c\u8c03\u8bd5\u5982\u610f\u73b2\u73d1\u5e94\u7528\uff0c\u7531 linglong-builder \u63d0\u4f9b\uff1b\u00a0<\/section>\n<\/li>\n<li>\n<section>ll-box \u6c99\u7bb1\u5bb9\u5668\uff0c\u7531 linglong-box \u63d0\u4f9b\uff1b\u00a0<\/section>\n<\/li>\n<li>\n<section>ll-cli \u7ba1\u7406\u548c\u8fd0\u884c\u5982\u610f\u73b2\u73d1\u5e94\u7528\uff0c\u7531 linglong-bin \u63d0\u4f9b\u3002\u00a0<\/section>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><strong>2\u3001openEuler\u6dfb\u52a0\u5982\u610f\u73b2\u73d1\u4ed3\u5e93\u6e90\u5e76\u66f4\u65b0\u4ed3\u5e93\u4fe1\u606f<\/strong><\/h2>\n<\/section>\n<\/section>\n<blockquote><p>sudo curl -o \/etc\/yum.repos.d\/linglong.repo -L https:\/\/eur.openEuler.openatom.cn\/coprs\/kamiyadm\/linglong\/repo\/openEuler-24.03_LTS\/kamiyadm-linglong-openEuler-24.03_LTS.repo<\/p>\n<p>sudo dnf update<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2><strong>3\u3001\u5b89\u88c5\u73b2\u73d1\u73af\u5883<\/strong><\/h2>\n<blockquote><p>sudo\u00a0dnf\u00a0install\u00a0linglong-builder\u00a0linglong-box\u00a0linglong-bin<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2><strong>4\u3001\u5b89\u88c5\u684c\u9762\u73af\u5883\uff08\u53ef\u9009\uff09\u00a0<\/strong><\/h2>\n<p>\u5982\u679c\u60f3\u8fd0\u884cgui\u7c7b\u578b\u5e94\u7528\uff0c\u9700\u8981\u5b89\u88c5\u684c\u9762\u73af\u5883\uff0c\u4ec5\u8fd0\u884c\u7ec8\u7aef\u7c7b\u578b\u5e94\u7528\u4e0d\u9700\u8981\u5b89\u88c5\u684c\u9762\u73af\u5883\u3002\u8fd9\u91cc\u4ee5\u5b89\u88c5DDE\u4e3a\u4f8b\uff0c\u4e5f\u652f\u6301\u5728\u5176\u4ed6\u684c\u9762\u73af\u5883\u4e0b\u4f7f\u7528\uff0c\u5982KDE\uff0cGNOME\u3002<\/p>\n<blockquote><p>sudo dnf install dde<\/p>\n<p>sudo systemctl set-default graphical.target<\/p><\/blockquote>\n<h2><strong>5\u3001\u91cd\u542f\u7cfb\u7edf\u00a0<\/strong><\/h2>\n<blockquote><p>sudo reboot<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<section>\n<h1 style=\"text-align: center;\"><strong data-brushtype=\"text\">openEuler\u4f7f\u7528\u5982\u610f\u73b2\u73d1<\/strong><\/h1>\n<\/section>\n<h2><strong>1\u3001\u4f7f\u7528\u6784\u5efa\u5de5\u5177ll-builder<\/strong><\/h2>\n<section><strong>\u00a0<\/strong><\/section>\n<section><strong>1.1\u521b\u5efa\u9879\u76ee\u00a0<\/strong><\/section>\n<section><strong>\u00a0<\/strong><\/section>\n<section>\u521b\u5efa\u5982\u610f\u73b2\u73d1\u9879\u76ee\u547d\u4ee4\uff1all-builder create<\/section>\n<section><\/section>\n<p>\u67e5\u770b ll-builder create \u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>ll-builder create --help<\/p><\/blockquote>\n<p>ll-builder create \u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<section>Usage: ll-builder [options] create &lt;org.deepin.demo&gt;\u00a0<\/section>\n<section>Options:\u00a0<\/section>\n<section>-v, --verbose\u00a0 show detail log\u00a0<\/section>\n<section>-h, --help\u00a0 \u00a0 \u00a0Displays help on commandline options.\u00a0<\/section>\n<section>--help-all\u00a0 \u00a0 \u00a0Displays help including Qt specific options.\u00a0<\/section>\n<section>Arguments:\u00a0<\/section>\n<section>create\u00a0 \u00a0 \u00a0 \u00a0 \u00a0create build template project\u00a0<\/section>\n<section>name\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0project name<\/section>\n<\/blockquote>\n<section><\/section>\n<p data-width=\"70%\">ll-builder create\u547d\u4ee4\u6839\u636e\u8f93\u5165\u7684\u9879\u76ee\u540d\u79f0\uff0c\u5728\u5f53\u524d\u76ee\u5f55\u521b\u5efa\u5bf9\u5e94\u7684\u6587\u4ef6\u5939\uff0c\u540c\u65f6\u751f\u6210\u6784\u5efa\u6240\u9700\u7684 linglong.yaml\u6a21\u677f\u6587\u4ef6\u3002\u793a\u4f8b\uff1a<\/p>\n<blockquote><p>ll-builder create org.deepin.hello<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<section>\n<section>\n<section>\u547d\u4ee4\u8f93\u51fa\u5982\u4e0b\uff1a<\/section>\n<\/section>\n<\/section>\n<p>&nbsp;<\/p>\n<blockquote>\n<section>org.deepin.hello\/<\/section>\n<section>\u2514\u2500\u2500 linglong.yaml<\/section>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong>1.2 \u7f16\u8f91linglong.yaml<\/strong><\/p>\n<p>linglong.yaml \u6587\u4ef6\u8bed\u6cd5\u7684\u7248\u672c\uff1aversion: \"1\"<\/p>\n<p>\u8f6f\u4ef6\u5305\u5143\u4fe1\u606f\u914d\u7f6e\uff1a<\/p>\n<blockquote><p>package:<br \/>\nid:\u00a0org.deepin.hello<br \/>\nname:\u00a0hello<br \/>\nversion:\u00a00.0.0.1<br \/>\nkind:\u00a0app<br \/>\ndescription:\u00a0\/<br \/>\nsimple\u00a0\u00a0demo.<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u57fa\u7840\u73af\u5883\uff0c\u6700\u5c0f\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\uff1a<\/p>\n<blockquote><p>base:\u00a0org.deepin.foundation\/23.0.0<\/p><\/blockquote>\n<p>\u5982\u610f\u73b2\u73d1\u5e94\u7528\u7684\u542f\u52a8\u547d\u4ee4\uff1a<\/p>\n<blockquote><p>command:\u00a0[echo,\u00a0-e,\u00a0hello\u00a0world]<\/blockquote>\n<p>\u5728\u5bb9\u5668\u5185\u6784\u5efa\u9879\u76ee\u9700\u8981\u7684\u547d\u4ee4\uff1a<\/p>\n<blockquote><p>build:\u00a0\/<br \/>\necho\u00a0'hello'\u00a0#some\u00a0operation\u00a0to\u00a0build\u00a0this\u00a0project<\/p><\/blockquote>\n<p>\u5b8c\u6574\u7684linglong.yaml\u914d\u7f6e\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>version:\u00a0\"1\"<\/p>\n<p>package:<br \/>\nid:\u00a0org.deepin.hello<br \/>\nname:\u00a0your\u00a0name\u00a0#set\u00a0your\u00a0application\u00a0name<br \/>\nversion:\u00a00.0.0.1\u00a0#set\u00a0your\u00a0version<br \/>\nkind:\u00a0app<br \/>\ndescription:\u00a0\/<br \/>\nyour\u00a0description\u00a0#set\u00a0a\u00a0brief\u00a0text\u00a0to\u00a0introduce\u00a0your\u00a0application.<\/p>\n<p>command:\u00a0[echo,\u00a0-e,\u00a0hello\u00a0world]\u00a0#the\u00a0commands\u00a0that\u00a0your\u00a0application\u00a0need\u00a0to\u00a0run.<\/p>\n<p>base:\u00a0org.deepin.foundation\/23.0.0\u00a0#set\u00a0the\u00a0base\u00a0environment,\u00a0this\u00a0can\u00a0be\u00a0changed.<\/p>\n<p>#set\u00a0the\u00a0runtime\u00a0environment\u00a0if\u00a0you\u00a0need,\u00a0a\u00a0example\u00a0of\u00a0setting\u00a0deepin\u00a0runtime\u00a0is\u00a0as\u00a0follows.<br \/>\n#runtime:<br \/>\n#org.deepin.Runtime\/23.0.1<\/p>\n<p>#set\u00a0the\u00a0source\u00a0if\u00a0you\u00a0need,\u00a0a\u00a0simple\u00a0example\u00a0of\u00a0git\u00a0is\u00a0as\u00a0follows.<br \/>\n#sources:<br \/>\n#\u00a0\u00a0-\u00a0kind:\u00a0git<br \/>\n#\u00a0\u00a0\u00a0\u00a0url:\u00a0https:\/\/github.com\/linuxdeepin\/linglong-builder-demo.git<br \/>\n#\u00a0\u00a0\u00a0\u00a0version:\u00a0master\\n<br \/>\n#\u00a0\u00a0\u00a0\u00a0commit:\u00a0a3b89c3aa34c1aff8d7f823f0f4a87d5da8d4dc0<\/p>\n<p>build:\u00a0\/<br \/>\necho\u00a0'hello'\u00a0#some\u00a0operation\u00a0to\u00a0build\u00a0this\u00a0project<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong>1.3 \u6784\u5efa\u5e94\u7528<\/strong><\/p>\n<p>ll-builder build\u547d\u4ee4\u7528\u6765\u6784\u5efa\u5982\u610f\u73b2\u73d1\u5e94\u7528\u3002<\/p>\n<p>\u67e5\u770bll-builder build\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>ll-builder build --help<\/p><\/blockquote>\n<p>ll-builder build\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<section>\u00a0\u00a0--exec &lt;command&gt; \u00a0\u00a0\u00a0\u00a0\u00a0run exec than build script<\/section>\n<section>\u00a0\u00a0--offline \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0only use local files. This implies --skip-fetch-source<\/section>\n<section>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0and --skip-pull-depend<\/section>\n<section>\u00a0\u00a0--skip-fetch-source \u00a0\u00a0skip fetch sources<\/section>\n<section>\u00a0\u00a0--skip-pull-depend \u00a0\u00a0\u00a0skip pull dependency<\/section>\n<section>\u00a0\u00a0--skip-run-container \u00a0skip run container. This implies skip-commit-output<\/section>\n<section>\u00a0\u00a0--skip-commit-output \u00a0skip commit build output<\/section>\n<section>\u00a0\u00a0--arch &lt;arch&gt; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0set the build arch<\/section>\n<section>\u00a0<\/section>\n<section>Arguments:<\/section>\n<section>build \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0build project<\/section>\n<\/blockquote>\n<p>ll-builder build\u547d\u4ee4\u5fc5\u987b\u8fd0\u884c\u5728\u5de5\u7a0b\u7684\u6839\u76ee\u5f55\uff0c\u5373 linglong.yaml\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e\u3002\u4ee5\u5982\u610f\u73b2\u73d1\u9879\u76ee org.deepin.demo\u4e3a\u4f8b\uff0c\u6784\u5efa\u5982\u610f\u73b2\u73d1\u5e94\u7528\u4e3b\u8981\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p><strong>\u25cf \u8fdb\u5165\u5230 org.deepin.demo\u9879\u76ee\u5de5\u7a0b\u76ee\u5f55\uff1a<\/strong><\/p>\n<blockquote><p>cd org.deepin.demo<\/p><\/blockquote>\n<p><strong>\u25cf \u6267\u884c ll-builder build\u547d\u4ee4\u5c06\u5f00\u59cb\u6784\u5efa\u5982\u610f\u73b2\u73d1\u5e94\u7528\uff1a<\/strong><\/p>\n<blockquote><p>ll-builder build<\/p><\/blockquote>\n<p>\u6784\u5efa\u5b8c\u6210\u540e\uff0c\u6784\u5efa\u5185\u5bb9\u5c06\u81ea\u52a8\u63d0\u4ea4\u5230\u672c\u5730ostree\u7f13\u5b58\u4e2d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.4 \u9a8c\u8bc1\u5e94\u7528<\/strong><\/p>\n<p>ll-builder run\u547d\u4ee4\u7528\u6765\u8fd0\u884c\u9a8c\u8bc1\u5e94\u7528\u3002<\/p>\n<p>\u67e5\u770bll-builder run\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>ll-builder run --help<\/p><\/blockquote>\n<p>ll-builder run\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<section>Usage: ll-builder [options] run<\/section>\n<section>\u00a0<\/section>\n<section>Options:<\/section>\n<section>\u00a0\u00a0-v, --verbose \u00a0show detail log<\/section>\n<section>\u00a0\u00a0-h, --help \u00a0\u00a0\u00a0\u00a0Displays this help.<\/section>\n<section>\u00a0\u00a0--exec &lt;exec&gt; \u00a0run exec than build script<\/section>\n<section>\u00a0<\/section>\n<section>Arguments:<\/section>\n<section>run \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0run project<\/section>\n<\/blockquote>\n<p>\u5728linglong.yaml\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e\uff0c\u6267\u884cll-builder run\u5373\u53ef\u8fd0\u884c\u8be5\u5e94\u7528\u3002<\/p>\n<p>\u793a\u4f8b\u9879\u76eeorg.deepin.demo\u8fd0\u884c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>hello<\/p><\/blockquote>\n<p>\u4e5f\u53ef\u4ece\u6784\u5efa\u7f13\u5b58\u4e2d\u5bfc\u51fa\u6210\u79bb\u7ebf\u6587\u4ef6\uff0c\u901a\u8fc7\u5ba2\u6237\u7aef\u5de5\u5177ll-cli\u5b89\u88c5\u4f7f\u7528\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.5\u5bfc\u51fa\u79bb\u7ebf\u6587\u4ef6<\/strong><\/p>\n<p>ll-builder\u63d0\u4f9b\u4e86\u5b50\u547d\u4ee4export\u6765\u5bfc\u51fa\u79bb\u7ebf\u6587\u4ef6\uff08.uab\/.layer\uff09\u3002<\/p>\n<p>\u67e5\u770bll-builder export\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>ll-builder export --help<\/p><\/blockquote>\n<p>ll-builder export\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<section>Usage: ll-builder [options]<\/section>\n<section>\u00a0<\/section>\n<section>Options:<\/section>\n<section>\u00a0\u00a0-v, --verbose \u00a0\u00a0\u00a0\u00a0\u00a0show detail log (deprecated, use QT_LOGGING_RULES)<\/section>\n<section>\u00a0\u00a0-h, --help \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Displays help on commandline options.<\/section>\n<section>\u00a0\u00a0--help-all \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Displays help including Qt specific options.<\/section>\n<section>\u00a0\u00a0-f, --file &lt;path&gt; \u00a0file path of the linglong.yaml (default is .\/linglong.yaml)<\/section>\n<section>\u00a0\u00a0-i, --icon &lt;path&gt; \u00a0uab icon (optional)<\/section>\n<section>\u00a0\u00a0-l, --layer \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0export layer file<\/section>\n<\/blockquote>\n<p>\u5728linglong.yaml\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\u5c06\u6784\u5efa\u7f13\u5b58\u5bfc\u51fa\u79bb\u7ebf\u6587\u4ef6\uff1a<\/p>\n<blockquote><p>ll-builder export --layer<\/p><\/blockquote>\n<p>\u6267\u884c\u6210\u529f\u540e\uff0c\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\uff0c\u751f\u6210\u4e24\u4e2a\u4ee5.layer\u7ed3\u5c3e\u7684\u6587\u4ef6\uff1a<\/p>\n<blockquote>\n<section>org.deepin.demo_0.0.0.1_x86_64_develop.layer\u00a0<\/section>\n<section>org.deepin.demo_0.0.0.1_x86_64_binary.layer<\/section>\n<\/blockquote>\n<p>\u5305\u542bbinary\uff08\u6b64\u524d\u8fd9\u90e8\u5206\u540d\u4e3aruntime\uff09\u7684\u90e8\u5206\u4e3a\u5e94\u7528\u7684\u4e3b\u8981\u8fd0\u884c\u5185\u5bb9\uff0cdevelop \u5728 binary \u7684\u57fa\u7840\u4e0a\u4fdd\u7559\u8c03\u8bd5\u73af\u5883\uff08\u5982\u8c03\u8bd5\u7b26\u53f7\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>2\u3001\u4f7f\u7528\u5ba2\u6237\u7aefll-cli<\/strong><\/h2>\n<p><strong>2.1 \u5b89\u88c5\u73b2\u73d1\u5e94\u7528<\/strong><\/p>\n<p><strong>2.1.1\u4f7f\u7528ll-cli install\u5b89\u88c5<\/strong><\/p>\n<p>\u9996\u5148\u67e5\u770bll-cli install\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>ll-cli install --help<\/p><\/blockquote>\n<p>ll-cli install\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>linglong CLI<br \/>\nA CLI program to run application and manage linglong pagoda and tiers.<\/p>\n<p>Usage:<br \/>\nll-cli [--json] --version<br \/>\nll-cli [--json] run APP [--no-dbus-proxy] [--dbus-proxy-cfg=PATH] ( [--file=FILE] | [--url=URL] ) [--] [COMMAND...]\nll-cli [--json] ps<br \/>\nll-cli [--json] exec PAGODA [--working-directory=PATH] [--] COMMAND...<br \/>\nll-cli [--json] enter PAGODA [--working-directory=PATH] [--] [COMMAND...]\nll-cli [--json] kill PAGODA<br \/>\nll-cli [--json] [--no-dbus] install TIER<br \/>\nll-cli [--json] uninstall TIER [--all] [--prune]\nll-cli [--json] upgrade TIER<br \/>\nll-cli [--json] search [--type=TYPE] [--dev] TEXT<br \/>\nll-cli [--json] [--no-dbus] list [--type=TYPE]\nll-cli [--json] repo modify [--name=REPO] URL<br \/>\nll-cli [--json] repo show<br \/>\nll-cli [--json] info TIER<br \/>\nll-cli [--json] content APP<\/p>\n<p>Arguments:<br \/>\nAPP \u00a0\u00a0\u00a0\u00a0Specify the application.<br \/>\nPAGODA \u00a0Specify the pagodas (container).<br \/>\nTIER \u00a0\u00a0\u00a0Specify the tier (container layer).<br \/>\nURL \u00a0\u00a0\u00a0\u00a0Specify the new repo URL.<br \/>\nTEXT \u00a0\u00a0\u00a0The text used to search tiers.<\/p>\n<p>Options:<br \/>\n-h --help \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Show help information of ll-cli.<br \/>\n--version \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Show version.<br \/>\n--json \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Use json to output command result, you can get the description of the output refer to linglong api documentation(\/usr\/share\/linglong\/api\/api.json).<br \/>\n--no-dbus \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Use peer to peer DBus, this is used only in case that DBus daemon is not available.<br \/>\n--no-dbus-proxy \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Do not enable linglong-dbus-proxy.<br \/>\n--dbus-proxy-cfg=PATH \u00a0\u00a0\u00a0\u00a0Path of config of linglong-dbus-proxy.<br \/>\n--file=FILE \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0you can refer to https:\/\/linglong.dev\/guide\/ll-cli\/run.html to use this parameter.<br \/>\n--url=URL \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0you can refer to https:\/\/linglong.dev\/guide\/ll-cli\/run.html to use this parameter.<br \/>\n--working-directory=PATH \u00a0Specify working directory.<br \/>\n--type=TYPE \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Filter result with tiers type. One of \"runtime\", \"app\" or \"all\". [default: app]\n--state=STATE \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Filter result with the tiers install state. Should be \"local\" or \"remote\". [default: local]\n--prune \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Remove application data if the tier is an application and all version of that application has been removed.<br \/>\n--dev \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0include develop tiers in result.<\/p>\n<p>Subcommands:<br \/>\nrun \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run an application.<br \/>\nps \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0List all pagodas.<br \/>\nexec \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Execute command in a pagoda.<br \/>\nenter \u00a0\u00a0\u00a0\u00a0\u00a0Enter a pagoda.<br \/>\nkill \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Stop applications and remove the pagoda.<br \/>\ninstall \u00a0\u00a0\u00a0Install tier(s).<br \/>\nuninstall \u00a0Uninstall tier(s).<br \/>\nupgrade \u00a0\u00a0\u00a0Upgrade tier(s).<br \/>\nsearch \u00a0\u00a0\u00a0\u00a0Search for tiers.<br \/>\nlist \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0List known tiers.<br \/>\nrepo \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Display or modify information of the repository currently using.<br \/>\ninfo \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Display the information of layer<br \/>\ncontent \u00a0\u00a0\u00a0Display the exported files of application<\/p><\/blockquote>\n<p>\u4ece\u73b2\u73d1\u4ed3\u5e93\u5b89\u88c5\u73b2\u73d1\u5e94\u7528\uff0c\u4ee5\u767e\u5ea6\u7f51\u76d8\u4e3a\u4f8b\uff1a<\/p>\n<blockquote><p>ll-cli install com.baidu.baidunetdisk<\/p><\/blockquote>\n<p>ll-cli install\u547d\u4ee4\u9700\u8981\u8f93\u5165\u5e94\u7528\u5b8c\u6574\u7684id\uff0c\u82e5\u4ed3\u5e93\u6709\u591a\u4e2a\u7248\u672c\u5219\u4f1a\u9ed8\u8ba4\u5b89\u88c5\u6700\u9ad8\u7248\u672c\u3002\u5b89\u88c5\u6307\u5b9a\u7248\u672c\u9700\u5728 appid\u540e\u9644\u52a0\u5bf9\u5e94\u7248\u672c\u53f7\uff1a<\/p>\n<blockquote><p>ll-cli install com.baidu.baidunetdisk\/4.17.7.0<\/p><\/blockquote>\n<p>\u5e94\u7528\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5ba2\u6237\u7aef\u4f1a\u663e\u793a\u5b89\u88c5\u7ed3\u679c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.1.2\u4ece\u672c\u5730\u901a\u8fc7\u79bb\u7ebf\u6587\u4ef6\u5b89\u88c5\u5e94\u7528<\/strong><\/p>\n<p>\u4ee5\u6784\u5efa\u793a\u4f8borg.deepin.demo\u4e3a\u4f8b\uff1a<\/p>\n<p>\u5b89\u88c5.layer \u6587\u4ef6\uff1a<\/p>\n<blockquote>\n<ul>\n<li>ll-cli install .\/org.deepin.demo_0.0.0.1_x86_64_binary.layer<\/li>\n<\/ul>\n<\/blockquote>\n<p>\u67e5\u770b\u5b89\u88c5\u662f\u5426\u6210\u529f\u547d\u4ee4\uff1a<\/p>\n<blockquote>\n<ul>\n<li>ll-cli list | grep org.deepin.demo<\/li>\n<\/ul>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong>2.2 \u8fd0\u884c\u73b2\u73d1\u5e94\u7528<\/strong><\/p>\n<p>\u5982\u679c\u6709\u684c\u9762\u73af\u5883\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u53cc\u51fb\u542f\u52a8\u5668\u4e0b\u7684\u56fe\u6807\u8fd0\u884c\u5e94\u7528\uff0c\u6216\u901a\u8fc7\u7ec8\u7aef\u547d\u4ee4\u884c\u8fd0\u884c\uff0c\u4f7f\u7528run\u547d\u4ee4\u8fd0\u884c\u5e94\u7528:<\/p>\n<blockquote><p>ll-cli run org.deepin.demo<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\">\u00a0<strong>\u5982\u610f\u73b2\u73d1\u751f\u6001\u5171\u5efa<\/strong><\/h1>\n<p>\u5df2\u6709\u6570\u5341\u5bb6\u4f01\u4e1a\u3001\u6570\u5341\u4f4d\u4e2a\u4eba\u5f00\u53d1\u8005\u53c2\u4e0e\u5982\u610f\u73b2\u73d1\u5e94\u7528\u751f\u6001\u8d21\u732e\uff0c\u76ee\u524d\u5df2\u6210\u529f\u9002\u914d\u8d85\u8fc72000\u6b3e\u73b2\u73d1\u5e94\u7528\uff0c\u8fd9\u4e9b\u5e94\u7528\u5c06\u9010\u6b65\u4e0a\u67b6\u81f3\u5982\u610f\u73b2\u73d1\u7f51\u9875\u7248\u5546\u5e97\u3001deepin\u4ee5\u53ca\u7edf\u4fe1\u5e94\u7528\u5546\u5e97\uff0c\u4e3a\u5e7f\u5927\u7528\u6237\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u9009\u62e9\u548c\u66f4\u4fbf\u6377\u7684\u4f53\u9a8c\u3002\u8bda\u631a\u9080\u8bf7\u5e7f\u5927\u4f19\u4f34\u53ca\u7528\u6237\u52a0\u5165\u5982\u610f\u73b2\u73d1\u751f\u6001\u5171\u5efa\uff0c\u643a\u624b\u63a8\u52a8Linux\u751f\u6001\u7684\u8fdb\u6b65\u548c\u53d1\u5c55\u3002<\/p>\n<p>\u5982\u610f\u73b2\u73d1\u7f51\u9875\u7248\u5546\u5e97\u5730\u5740\uff1a<a href=\"https:\/\/store.linglong.dev\/\">https:\/\/store.linglong.dev\/\u00a0<\/a><\/p>\n<p>&nbsp;<\/p>\n<h1><strong>\u9644\u5f55\uff1a<\/strong><\/h1>\n<p>\uff081\uff09<a href=\"https:\/\/distrowatch.com\/index.php?distribution=deepin\">deepin \u5386\u53f2\u7248\u672c\u955c\u50cf\uff08\u542b deepin V15\uff09<\/a><\/p>\n<p>\uff082\uff09<a href=\"https:\/\/www.linglong.space\/\">\u5982\u610f\u73b2\u73d1\u793e\u533a\u5b98\u7f51<\/a><\/p>\n<p>\uff083\uff09<a href=\"https:\/\/github.com\/OpenAtomFoundation\/linglong\">\u5982\u610f\u73b2\u73d1\u4ee3\u7801\u4ed3\u5e93<\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: right;\">\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5982\u610f\u73b2\u73d1\uff08Linyaps\uff09\u9879\u76ee\u5df2\u4e0e\u5f00\u653e\u539f\u5b50\u5f00\u6e90\u57fa\u91d1\u4f1a\u5b8c\u6210\u6350\u8d60\u534f\u8bae\u7b7e\u7f72\uff0c\u76ee\u524d\u5982\u610f\u73b2\u73d1\u5df2\u6210\u4e3a\u57fa\u91d1\u4f1a\u7684\u6b63\u5f0f\u5b75\u5316\u671f\u9879\u76ee\u3002 \u5982\u610f\u73b2\u73d1\u662f\u5f00\u6e90\u8f6f\u4ef6\u5305\u683c\u5f0f\uff0c\u7528\u4e8e\u66ff\u4ee3 deb\u3001rpm\u7b49\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b9e\u73b0\u5e94\u7528\u5305\u7ba1\u7406\u3001\u5206\u53d1\u3001\u5bb9\u5668\u3001\u96c6\u6210\u5f00\u53d1\u5de5\u5177\u7b49\u529f\u80fd\u3002\u4f5c\u4e3a\u4e00\u79cd\u65b0\u578b\u7684\u72ec\u7acb\u5305\u7ba1\u7406\u5de5\u5177\u96c6\uff0c\u5982\u610f\u73b2\u73d1\u4e3b\u8981\u63d0\u4f9b\u5206\u5c42\u4e0e\u9694\u79bb\u7684\u8fd0\u884c\u73af\u5883\uff0c\u6765\u89e3\u51b3\u4f20\u7edf\u5305\u7ba1\u7406\u7cfb\u7edf\u5f3a\u4f9d\u8d56\u5bfc\u81f4\u7684\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u4ee5\u53ca\u6743\u9650\u677e\u6563\u5bfc\u81f4\u7684\u5b89\u5168\u95ee\u9898\u3002\u51cf\u5c11\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u5206\u53d1\u65f6\u7684\u6253\u5305\u6b21 ...<a href=https:\/\/www.deepin.org\/zh\/linyaps-openeuler\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[155],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/34376"}],"collection":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/comments?post=34376"}],"version-history":[{"count":4,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/34376\/revisions"}],"predecessor-version":[{"id":34381,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/34376\/revisions\/34381"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/media?parent=34376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/categories?post=34376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/tags?post=34376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}