{"id":5110,"date":"2023-05-13T15:51:20","date_gmt":"2023-05-13T07:51:20","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/?p=5110"},"modified":"2023-05-13T15:51:20","modified_gmt":"2023-05-13T07:51:20","slug":"deepin%e5%bc%80%e5%8f%91%e8%bd%af%e4%bb%b6%e9%9a%be%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/exekaifa\/5110.html","title":{"rendered":"deepin\u5f00\u53d1\u8f6f\u4ef6\u96be\u5417\uff1f"},"content":{"rendered":"<p>Deepin\u662f\u4e00\u4e2a\u57fa\u4e8eLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u652f\u6301\u5f00\u53d1\u8005\u4f7f\u7528\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u6765\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u3002\u672c\u6587\u5c06\u7b80\u8981\u4ecb\u7ecdDeepin\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<p>Deepin\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u539f\u7406<\/p>\n<p>Deepin\u4f7f\u7528\u7684\u662fDebian\u7684\u5305\u7ba1\u7406\u5668\uff0c\u56e0\u6b64\u4e0eDebian\u76f8\u540c\uff0c\u5b83\u4e5f\u4f7f\u7528dpkg\u548capt-get\u6765\u5b89\u88c5\u548c\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u65f6\uff0c\u9700\u8981\u4f7f\u7528\u6807\u51c6\u7684Linux\u5f00\u53d1\u5de5\u5177\uff0c\u5982gcc\u3001make\u548cgdb\u7b49\u3002<\/p>\n<p>Deepin\u4e5f\u652f\u6301\u5f00\u53d1\u8005\u4f7f\u7528\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u6765\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\uff0c\u5305\u62ecC\u3001C++\u3001Java\u3001Python\u548cRuby\u7b49\u3002\u6b64\u5916\uff0cDeepin\u8fd8\u652f\u6301\u4f7f\u7528Qt\u548cGTK+\u7b49\u56fe\u5f62\u5e93\u8fdb\u884cGUI\u5f00\u53d1\u3002<\/p>\n<p>Deepin\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u6b65\u9aa4<\/p>\n<p>1.\u5b89\u88c5\u5fc5\u8981\u7684\u5f00\u53d1\u5de5\u5177<\/p>\n<p>\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u4e4b\u524d\uff0c\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u5f00\u53d1\u5de5\u5177\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<p>sudo apt-get install build-essential gdb git<\/p>\n<p>\u5176\u4e2d\uff0cbuild-essential\u5305\u542b\u4e86\u7f16\u8bd1C\u548cC++\u7a0b\u5e8f\u6240\u9700\u7684\u5de5\u5177\uff0cgdb\u662f\u4e00\u4e2a\u8c03\u8bd5\u5668\uff0cgit\u662f\u4e00\u4e2a\u7248\u672c\u63a7\u5236\u5de5\u5177\u3002<\/p>\n<p>2.\u5b89\u88c5\u6240\u9700\u7684\u7f16\u7a0b\u8bed\u8a00\u548c\u56fe\u5f62\u5e93<\/p>\n<p>\u5982\u524d\u6240\u8ff0\uff0cDeepin\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u548c\u56fe\u5f62\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u6240\u9700\u7684\u7f16\u7a0b\u8bed\u8a00\u548c\u56fe\u5f62\u5e93\uff1a<\/p>\n<p>sudo apt-get install gcc g++<a href=\"https:\/\/exe.yimenapp.com\/tool-2535.html\">exe\u8f6cahk<\/a> openjdk-8-jdk python ruby qt5-default libqt5gui5 libqt5core5a libqt5widgets5 libgtk-3-dev<\/p>\n<p>\u5176\u4e2d\uff0cgcc\u548cg++\u662fC\u548cC++\u7684\u7f16\u8bd1\u5668\uff0copenjdk-8-jdk\u662fJava\u7684\u5f00\u53d1\u73af\u5883\uff0cpython\u548cruby\u662f\u89e3\u91ca\u6027\u8bed\u8a00\uff0cqt5-default\u662fQt\u7684\u5f00\u53d1\u73af\u5883\uff0clibqt5gui5\u3001libqt5core5a\u548clibqt5widgets5\u662fQt\u7684\u57fa\u672c\u5e93\uff0clibgtk-3-dev\u662fGTK+\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>3.\u7f16\u5199\u4ee3\u7801<\/p>\n<p>\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528gedit\u6216vim\u6765\u7f16\u5199C\u6216C++\u4ee3\u7801\uff0c\u4f7f\u7528Eclipse\u6216IntelliJ IDEA\u6765\u7f16\u5199Java\u4ee3\u7801\uff0c\u4f7f\u7528PyCharm\u6216Sublime Text\u6765\u7f16\u5199Python\u4ee3\u7801\uff0c\u4f7f\u7528Atom\u6216Sublime Text\u6765\u7f16\u5199Ruby\u4ee3\u7801\u3002<\/p>\n<p>4.\u7f16\u8bd1\u4ee3\u7801<\/p>\n<p>\u7f16\u5199\u5b8c\u4ee3\u7801\u540e\uff0c\u9700<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/28\/13\/22391135234.jpg\" \/><\/figure>\n<\/p>\n<p>\u8981\u4f7f\u7528\u76f8\u5e94\u7684\u7f16\u8bd1\u5668\u5c06\u4ee3\u7801\u7f16\u8bd1\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u7f16\u8bd1C\u6216C++\u4ee3\u7801\uff1a<\/p>\n<p>gcc -o he<a href=\"https:\/\/exe.yimenapp.com\/tool-2694.html\">linux\u5730\u56fe\u8f6f\u4ef6<\/a>llo hello.c<\/p>\n<p>\u5176\u4e2d\uff0chello.c\u662f\u8981\u7f16\u8bd1\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff0chello\u662f\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<p>5.\u8c03\u8bd5\u4ee3\u7801<\/p>\n<p>\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528gdb\u6765\u8c03\u8bd5\u4ee3\u7801\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u542f\u52a8gdb\uff1a<\/p>\n<p>gdb hello<\/p>\n<p>\u5176\u4e2d\uff0chello\u662f\u8981\u8c03\u8bd5\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<p>6.\u6253\u5305\u548c\u53d1\u5e03\u4ee3\u7801<\/p>\n<p>\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528dpkg\u6765\u6253\u5305\u548c\u53d1\u5e03\u4ee3\u7801\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u6253\u5305\u4ee3\u7801\uff1a<\/p>\n<p>dpkg-deb &#8211;build hello<\/p>\n<p>\u5176\u4e2d\uff0chello\u662f\u8981\u6253\u5305\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<p>\u6253\u5305\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5c06\u751f\u6210\u7684.deb\u6587\u4ef6\u4e0a\u4f20\u5230Deepin\u7684\u8f6f\u4ef6\u6e90\u4e2d\uff0c\u4ee5\u4fbf\u5176\u4ed6\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u548c\u4f7f\u7528\u8be5\u8f6f\u4ef6\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>Deepin\u662f\u4e00\u4e2a\u57fa\u4e8eLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u548c\u56fe\u5f62\u5e93\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u3002\u5728Deepin\u4e0a\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u65f6\uff0c\u9700\u8981\u4f7f\u7528\u6807\u51c6\u7684Linux\u5f00\u53d1\u5de5\u5177\uff0c\u5982gcc\u3001make\u548cgdb\u7b49\u3002\u5728\u7f16\u5199\u3001\u7f16\u8bd1\u3001\u8c03\u8bd5\u548c\u53d1\u5e03\u4ee3\u7801\u65f6\uff0c\u9700\u8981\u9075\u5faa\u4e00\u5b9a\u7684\u6b65\u9aa4\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\u548c\u53d1\u5e03\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Deepin\u662f\u4e00\u4e2a\u57fa\u4e8eLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u652f\u6301\u5f00\u53d1\u8005\u4f7f\u7528\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u6765\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\u3002\u672c\u6587\u5c06\u7b80\u8981\u4ecb\u7ecdDeepin\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002Deepin\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u539f\u7406Deepin\u4f7f\u7528\u7684\u662fDebi<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[7143,7144,980,869,1031],"class_list":["post-5110","post","type-post","status-publish","format-standard","hentry","category-exekaifa","tag-htmlexe","tag-rpm","tag-980","tag-869","tag-1031"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/5110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=5110"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/5110\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=5110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=5110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=5110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}