{"id":46498,"date":"2025-09-20T21:53:29","date_gmt":"2025-09-21T00:53:29","guid":{"rendered":"https:\/\/mastertrend.info\/?p=46498"},"modified":"2025-09-20T21:54:03","modified_gmt":"2025-09-21T00:54:03","slug":"%e5%9c%a8-linux-%e4%b8%8a%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/zh\/compilar-en-linux\/","title":{"rendered":"\u5728 Linux \u4e0a\u7f16\u8bd1\uff1a\u53ea\u9700 3 \u6761\u547d\u4ee4\uff0c\u51e0\u5206\u949f\u5373\u53ef\u8fd0\u884c \u26a1"},"content":{"rendered":"<h2>\u5728 Linux \u4e0a\u7f16\u8bd1\uff1a\u521b\u5efa\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684 3 \u4e2a\u6b65\u9aa4\ud83d\udd25<\/h2>\n<h3 class=\"title icon i-list\">\u8981\u70b9\u603b\u7ed3<\/h3>\n<ul>\n<li>\u5927\u591a\u6570\u8f6f\u4ef6\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u90fd\u9075\u5faa\u4e09\u4e2a\u6b65\u9aa4\uff1a <code>.\/\u914d\u7f6e &amp;&amp; \u5236\u4f5c &amp;&amp; \u8fdb\u884c\u5b89\u88c5<\/code>.<\/li>\n<li>\u811a\u672c <strong>\u914d\u7f6e<\/strong> \u68c0\u67e5\u4f9d\u8d56\u5173\u7cfb\uff0c <strong>\u5236\u4f5c<\/strong> \u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4ee5\u53ca\u8bf8\u5982 <em>autoconf\/automake<\/em> \u4f7f\u8fd9\u4e00\u8fc7\u7a0b\u81ea\u52a8\u5316\u3002<\/li>\n<li>\u5b89\u88c5\u901a\u5e38\u662f\u53ef\u9009\u7684\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u8fd0\u884c\u590d\u5236\u5230\u76ee\u5f55\u4e2d\u7684\u547d\u4ee4 <code>\u5c0f\u8def<\/code> \u7684\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<p>\u4e0e\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u76f8\u6bd4\uff0c\u4ece\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\u4f3c\u4e4e\u5f88\u56f0\u96be\uff0c\u4f46\u901a\u8fc7\u4e09\u4e2a\u57fa\u672c\u547d\u4ee4\uff0c\u8be5\u8fc7\u7a0b\u53d8\u5f97\u7b80\u5355\u660e\u4e86\u3002\ud83d\ude80<\/p>\n<h2 id=\"que-es-compilar-desde-fuente\">\u4ec0\u4e48\u662f\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\uff1f<\/h2>\n<p>\u60a8\u4f7f\u7528\u7684\u7a0b\u5e8f\u53ef\u4ee5\u662f\u89e3\u91ca\u578b\u7684\uff0c\u4e5f\u53ef\u4ee5\u662f\u7f16\u8bd1\u578b\u7684\u3002\u89e3\u91ca\u578b\u7a0b\u5e8f\u662f\u5305\u542b\u4ee3\u7801\u7684\u6587\u672c\u6587\u4ef6\uff0c\u7531\u53e6\u4e00\u4e2a\u7a0b\u5e8f\uff08\u89e3\u91ca\u5668\uff09\u5b9e\u65f6\u6267\u884c\u3002\u800c\u7f16\u8bd1\u578b\u7a0b\u5e8f\u662f\u5305\u542b\u53ef\u6267\u884c\u673a\u5668\u7801\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n<p>\u7f16\u8bd1\u540e\u7684\u53ef\u6267\u884c\u6587\u4ef6\u975e\u5e38\u5e38\u89c1\uff0c\u5c24\u5176\u662f\u5728\u5927\u578b\u7a0b\u5e8f\u4e2d\u3002\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u65f6\uff0c<a href=\"https:\/\/pt.wikipedia.org\/wiki\/GNU_Compiler_Collection\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"mentions\">\u50cf sas \u8fd9\u6837\u7684\u7f16\u8bd1\u5668 <code>\u6d77\u6e7e\u5408\u4f5c\u59d4\u5458\u4f1a<\/code><\/a> \u5c06\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u901a\u5e38\u5206\u5e03\u5728\u591a\u4e2a\u6587\u4ef6\u4e2d\u3002<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.jpg\" alt=\"Linux \u7ec8\u7aef\u901a\u8fc7\u547d\u4ee4\u663e\u793a Steam \u5b89\u88c5\u3002\" width=\"2100\" height=\"1400\" title=\"\"><\/picture><\/figure>\n<p>\u7f16\u8bd1\u8fc7\u7a0b\u53ef\u80fd\u975e\u5e38\u5e7f\u6cdb\u4e14\u590d\u6742\uff0c\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u5b83\u901a\u5e38\u4f7f\u7528\u4ee5\u4e0b\u7a0b\u5e8f\u81ea\u52a8\u5b8c\u6210\uff0c\u4f8b\u5982 <code>\u5236\u4f5c<\/code>. \u6587\u4ef6 <em>\u751f\u6210\u6587\u4ef6<\/em> \u63a7\u5236\u6700\u7ec8\u53ef\u6267\u884c\u6587\u4ef6\u7684\u6784\u5efa\u65b9\u5f0f\u3002<\/p>\n<p>\u5728\u5927\u578b\u9879\u76ee\u4e2d\uff0c\u8fd9\u4e9b <em>\u751f\u6210\u6587\u4ef6<\/em> \u5b83\u4eec\u53ef\u80fd\u975e\u5e38\u590d\u6742\uff0c\u4ee5\u81f3\u4e8e\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u5de5\u5177\u81ea\u52a8\u751f\u6210\uff1a <em>\u81ea\u52a8\u914d\u7f6e<\/em> \u548c <em>\u81ea\u52a8\u5236\u4f5c<\/em> \u4ee5\u786e\u4fdd\u8de8\u4e0d\u540c\u67b6\u6784\u7684\u517c\u5bb9\u6027\u3002\ud83d\udee0\ufe0f<\/p>\n<h2 id=\"proceso-3-pasos-configure-make-install\">3\u6b65\u6784\u5efa\u8fc7\u7a0b\uff1a\u914d\u7f6e\u3001\u5236\u4f5c\u3001\u5b89\u88c5<\/h2>\n<p>\u5927\u591a\u6570\u8f6f\u4ef6\u4f7f\u7528\u8fd9\u79cd\u57fa\u672c\u6a21\u5f0f\u4ece\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\uff1a<\/p>\n<pre><code class=\"hljs bash\">.\/\u914d\u7f6e &amp;&amp; \u5236\u4f5c &amp;&amp; \u8fdb\u884c\u5b89\u88c5\r\n<\/code><\/pre>\n<p>Apache \u7b49\u6d41\u884c\u7a0b\u5e8f\u4f7f\u7528\u6b64\u5e8f\u5217\uff08\u6216\u67d0\u4e9b\u53d8\u4f53\uff09\uff0c\u4f8b\u5982 <a title=\"Linux \u76ee\u5f55\u7ed3\u6784\u8be6\u89e3\" href=\"https:\/\/mastertrend.info\/zh\/llinux%e7%9b%ae%e5%bd%95%e7%bb%93%e6%9e%84\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"6412\">\u89e3\u91ca\u4ed6\u7684\u6863\u6848<\/a> \u5b89\u88c5\uff1a<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.png\" alt=\"Apache INSTALL \u6587\u4ef6\u7247\u6bb5\u663e\u793a .\/configure\u3001make \u548c make install \u6b65\u9aa4\u3002\" width=\"997\" height=\"461\" title=\"\"><\/picture><\/figure>\n<p>Node.js \u4e5f\u9075\u5faa\u8fd9\u79cd\u7ed3\u6784\uff0c\u5982\u5176 BUILDING.md \u6587\u4ef6\u6240\u793a\uff1a<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1745710606_229_Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.png\" alt=\"Node.js BUILDING.md \u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\u7247\u6bb5\uff0c\u663e\u793a .\/configure\u3001make \u548c make install\u3002\" width=\"1294\" height=\"711\" title=\"\"><\/picture><\/figure>\n<p>\u6bcf\u4e2a\u9879\u76ee\u53ef\u80fd\u4e0e\u6b64\u547d\u4ee4\u5b57\u7b26\u4e32\u7565\u6709\u4e0d\u540c\u3002\u4f7f\u7528\u903b\u8f91 AND \u8fd0\u7b97\u7b26 (<code>&&<\/code>) \u5982\u679c\u4efb\u4f55\u6b65\u9aa4\u5931\u8d25\uff0c\u5219\u505c\u6b62\u8be5\u8fc7\u7a0b\uff1a<\/p>\n<pre><code class=\"hljs bash\">.\/\u914d\u7f6e &amp;&amp; \u5236\u4f5c &amp;&amp; \u8fdb\u884c\u5b89\u88c5\r\n<\/code><\/pre>\n<p>\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u5728\u4e00\u884c\u4e0a\u7528\u5206\u53f7\u5206\u522b\u8fd0\u884c\u6bcf\u4e2a\u547d\u4ee4\uff0c\u5c3d\u7ba1\u8fd9\u6837\u4f1a\u8fd0\u884c\u6240\u6709\u547d\u4ee4\uff0c\u5e76\u4e14\u5982\u679c\u6709\u4efb\u4f55\u547d\u4ee4\u5931\u8d25\uff0c\u5b83\u4e5f\u4e0d\u4f1a\u505c\u6b62\uff1a<\/p>\n<pre><code class=\"hljs bash\">.\/\u914d\u7f6e\uff1b\u5236\u4f5c\uff1b\u8fdb\u884c\u5b89\u88c5\r\n<\/code><\/pre>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u5206\u522b\u6267\u884c\u8fd9\u4e09\u884c\uff1a<\/p>\n<pre><code class=\"hljs bash\">.\/\u914d\u7f6e \u5236\u4f5c \u5236\u4f5c\u5b89\u88c5\r\n<\/code><\/pre>\n<p>\u5982\u679c\u60a8\u53ea\u60f3\u5c1d\u8bd5\u8be5\u7a0b\u5e8f\u800c\u4e0d\u5b89\u88c5\u5b83\uff0c\u60a8\u53ef\u4ee5\u8df3\u8fc7 <code>\u8fdb\u884c\u5b89\u88c5<\/code> \u5e76\u4ece\u5176\u6587\u4ef6\u5939\u8fd0\u884c\u5b83\u3002<\/p>\n<section class=\"emaki-custom-block emaki-custom-tip\" data-nosnippet=\"\">\u4e00\u4e9b\u5b58\u50a8\u5e93\u6709\u811a\u672c <code>\u914d\u7f6e<\/code> Ready\uff0c\u800c\u5176\u4ed6\u4e00\u4e9b\u811a\u672c\uff08\u4f8b\u5982 grep\uff09\u5219\u9700\u8981\u5148\u8fd0\u884c\u53e6\u4e00\u4e2a\u811a\u672c\u6765\u751f\u6210\u5b83\u3002\u8bf7\u52a1\u5fc5\u53c2\u8003 INSTALL\u3001BUILD \u6216 README \u6587\u4ef6\uff0c\u4ee5\u9075\u5faa\u9879\u76ee\u7684\u5efa\u8bae\u3002\ud83d\udccb<\/section>\n<h2 id=\"como-inicia-configure\">.\/configure \u5982\u4f55\u542f\u52a8\u8fdb\u7a0b<\/h2>\n<p>\u811a\u672c <code>\u914d\u7f6e<\/code> \u5b83\u662f\u7f16\u8bd1\u8fc7\u7a0b\u7684\u8d77\u70b9\uff0c\u4f7f\u9879\u76ee\u9002\u5e94\u60a8\u7684\u73af\u5883\u3002<\/p>\n<p>\u6b64\u811a\u672c\u68c0\u67e5\u9879\u76ee\u6240\u9700\u7684\u4f9d\u8d56\u9879\uff0c\u5305\u62ec\u7248\u672c\u548c\u53ef\u7528\u6027\u3002\u5b8c\u6210\u540e\uff0c\u5b83\u4f1a\u751f\u6210\u4e00\u4e2a\u540d\u4e3a <code>\u751f\u6210\u6587\u4ef6<\/code> \u4e3a\u4e0b\u4e00\u9636\u6bb5\u505a\u597d\u51c6\u5907\u3002<\/p>\n<p>\u811a\u672c <code>\u914d\u7f6e<\/code> \u63d0\u4f9b\u8bb8\u591a\u53ef\u914d\u7f6e\u9009\u9879 <code>.\/configure--\u5e2e\u52a9<\/code>\uff0c\u5141\u8bb8\u60a8\u81ea\u5b9a\u4e49\u6784\u5efa\u7ec6\u8282\u3002<\/p>\n<section class=\"emaki-custom-block emaki-custom-tip\" data-nosnippet=\"\">\u8fd9\u4e48\u591a <code>\u914d\u7f6e<\/code> \u4f5c\u4e3a <code>\u5236\u4f5c<\/code> \u5728\u5c4f\u5e55\u4e0a\u751f\u6210\u5927\u91cf\u8f93\u51fa\u3002\u4f7f\u7528\u9009\u9879 <code>- \u5b89\u9759\u7684<\/code> \u5982\u679c\u4f60\u60f3\u8fd0\u884c\u8fd9\u4e9b\u547d\u4ee4\u800c\u4e0d\u663e\u793a\u592a\u591a\u7ec6\u8282\u3002\ud83e\udd2b<\/section>\n<p>\u5982\u679c\u811a\u672c\u7f3a\u5931 <code>\u914d\u7f6e<\/code>\uff0c\u4e00\u4e9b\u9879\u76ee\u5305\u542b\u7c7b\u4f3c\u811a\u672c <code>autogen.sh<\/code> \u6765\u751f\u6210\u5b83\u3002\u4f8b\u5982\uff0chtop \u4f7f\u7528\u5b83\uff1a<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1745710607_775_Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.png\" alt=\"htop \u6e90\u4ee3\u7801\u751f\u6210\u914d\u7f6e\u4e2d\u7684 autogen.sh \u811a\u672c\u7684\u8f93\u51fa\u3002\" width=\"877\" height=\"621\" title=\"\"><\/picture><\/figure>\n<p>\u975e\u5e38\u7b80\u5355\u7684\u9879\u76ee\u6216\u8005\u7528\u5176\u4ed6\u8bed\u8a00\u7f16\u5199\u7684\u9879\u76ee\u53ef\u80fd\u6ca1\u6709 <code>\u914d\u7f6e<\/code>\u3002\u8be5\u8fc7\u7a0b\u5206\u4e3a\u4e24\u4e2a\u6b65\u9aa4\uff1a <code>\u5236\u4f5c &amp;&amp; \u5236\u4f5c\u5b89\u88c5<\/code>.<\/p>\n<p>\u811a\u672c <code>\u914d\u7f6e<\/code> \u5b83\u8fd8\u63a7\u5236\u5b89\u88c5\u7ec6\u8282\uff0c\u4f8b\u5982\u53c2\u6570 <code>--\u524d\u7f00<\/code>\uff0c\u8bbe\u7f6e\u5b89\u88c5\u6839\u76ee\u5f55\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f <code>\/usr\/\u672c\u5730<\/code>\uff0c\u4f46\u60a8\u53ef\u4ee5\u66f4\u6539\u5b83\u4ee5\u66f4\u597d\u5730\u7ec4\u7ec7\u60a8\u7684\u6587\u4ef6\u3002<\/p>\n<h2 id=\"hacer-la-mayor-parte-del-trabajo\">make \u5b8c\u6210\u5927\u90e8\u5206\u5de5\u4f5c<\/h2>\n<p>\u540e <code>\u914d\u7f6e<\/code> \u751f\u6210 <code>\u751f\u6210\u6587\u4ef6<\/code>\uff0c\u8f6f\u4ef6\u7684\u5b9e\u9645\u7f16\u8bd1\u5f00\u59cb\u4e8e <code>\u5236\u4f5c<\/code>.<\/p>\n<p>\u8be5\u7a0b\u5e8f\u8bfb\u53d6 <code>\u751f\u6210\u6587\u4ef6<\/code> \u5e76\u9075\u5faa\u89c4\u5219\u6765\u51b3\u5b9a\u521b\u5efa\u6216\u66f4\u65b0\u54ea\u4e9b\u6587\u4ef6\u3002 <code>Makefile<\/code> \u5bf9\u4e8e\u4e86\u89e3\u8bed\u6cd5\u7684\u4eba\u6765\u8bf4\uff0c\u624b\u5199\u7684\u5185\u5bb9\u5f88\u5bb9\u6613\u7406\u89e3\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u8fd9\u4e2a <code>\u751f\u6210\u6587\u4ef6<\/code> \u7b80\u5355\u7f16\u8bd1\u4e00\u4e2a\u4f9d\u8d56\u4e8e\u6587\u4ef6\u7684\u7a0b\u5e8f <code>\u7a0b\u5e8f.c<\/code>:<\/p>\n<pre><code class=\"hljs makefile\">\u7a0b\u5e8f\uff1aprogram.c gcc -o \u7a0b\u5e8f program.c\r\n<\/code><\/pre>\n<p><code>\u5236\u4f5c<\/code> \u68c0\u67e5\u662f\u5426 <code>\u7a0b\u5e8f.c<\/code> \u81ea\u4e0a\u6b21\u7f16\u8bd1\u4ee5\u6765\u53d1\u751f\u4e86\u53d8\u5316\u3002\u5982\u679c\u6ca1\u6709\u53d8\u5316\uff0c\u5219\u4e0d\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\uff1b\u5982\u679c\u53d1\u751f\u4e86\u53d8\u5316\uff0c\u5219\u4f7f\u7528 <code>\u6d77\u6e7e\u5408\u4f5c\u59d4\u5458\u4f1a<\/code>.<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1745710607_894_Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.jpg\" alt=\"Das Keyboard 6 Professional \u53d1\u5149\u6309\u952e\u7684\u7279\u5199\u3002\" width=\"1920\" height=\"1080\" title=\"\"><\/picture><\/figure>\n<p>\u8fd9 <code>\u751f\u6210\u6587\u4ef6<\/code> \u81ea\u52a8\u751f\u6210\u7684\u901a\u5e38\u8981\u590d\u6742\u5f97\u591a\u3002\u4f8b\u5982\uff0c <code>\u751f\u6210\u6587\u4ef6<\/code> htop \u6709 2,440 \u884c\uff1a<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1745710607_705_Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.png\" alt=\"htop \u9879\u76ee\u81ea\u52a8\u751f\u6210\u7684 Makefile \u7247\u6bb5\u3002\" width=\"850\" height=\"660\" title=\"\"><\/picture><\/figure>\n<p>\u4f46\u4f60\u4e0d\u9700\u8981\u4e86\u89e3\u6bcf\u4e00\u4e2a\u7ec6\u8282\uff0c\u9664\u975e\u4f60\u4fee\u6539\u6e90\u4ee3\u7801\uff0c\u76f4\u63a5\u8fd0\u884c\u5c31\u53ef\u4ee5\u4e86\u3002 <code>\u5236\u4f5c<\/code> \u5e76\u8ba9\u7cfb\u7edf\u6765\u5904\u7406\u5b83\u3002<\/p>\n<p>\u6b65\u9aa4 <code>\u5236\u4f5c<\/code> \u5bf9\u4e8e\u5927\u578b\u9879\u76ee\uff0c\u8fd9\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u751a\u81f3\u66f4\u957f\u65f6\u95f4\u3002\u5982\u679c\u5931\u8d25\uff0c\u901a\u5e38\u662f\u7531\u4e8e\u7f3a\u5c11\u4f9d\u8d56\u9879\u3002\u4f18\u70b9\u662f <code>\u5236\u4f5c<\/code> \u4fdd\u5b58\u8fdb\u5ea6\u5e76\u5728\u60a8\u518d\u6b21\u8fd0\u884c\u65f6\u4ece\u4e2d\u65ad\u7684\u5730\u65b9\u7ee7\u7eed\u3002<\/p>\n<h2 id=\"finalizando-con-make-install\">\u4f7f\u7528 make install \u5b8c\u6210<\/h2>\n<p>\u7f16\u8bd1\u540e\uff0c\u521b\u5efa\u7684\u53ef\u6267\u884c\u6587\u4ef6\u901a\u5e38\u4f4d\u4e8e\u9879\u76ee\u7684\u6839\u76ee\u5f55\u6216\u540d\u4e3a <code>\u5783\u573e\u6876<\/code>\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b8c\u6574\u8def\u5f84\u8fd0\u884c\u5b83\uff1a<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><img decoding=\"async\" style=\"display: block; height: auto; max-width: 100%;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1745710607_488_Construye-software-Linux-desde-el-codigo-fuente-en-3-sencillos.png\" alt=\"\u5728 cli \u76ee\u5f55\u4e2d\u8fd0\u884c make \u4f1a\u521b\u5efa\u5305\u542b\u6700\u7ec8\u53ef\u6267\u884c\u6587\u4ef6\u7684 bin \u5b50\u76ee\u5f55\u3002\" width=\"862\" height=\"381\" title=\"\"><\/picture><\/figure>\n<p>\u8fd9\u5bf9\u4e8e\u6d4b\u8bd5\u5f88\u6709\u7528\uff0c\u4f46\u4ece\u957f\u8fdc\u6765\u770b\uff0c\u60a8\u9700\u8981\u5c06\u5176\u5b89\u88c5\u5728\u53ef\u8bbf\u95ee\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u76ee\u6807 <code>\u5b89\u88c5<\/code> \u5b9a\u4e49\u4e86 <code>\u751f\u6210\u6587\u4ef6<\/code> \u590d\u5236\u5fc5\u8981\u7684\u6587\u4ef6\u5e76\u8bbe\u7f6e\u6743\u9650\u3002\u9ed8\u8ba4\u4f4d\u7f6e\u662f <code>\/usr\/local\/bin<\/code>\uff0c\u5c3d\u7ba1\u4f60\u53ef\u4ee5\u7528 <code>--\u524d\u7f00<\/code>.<\/p>\n<p>\u5982\u679c\u60a8\u6ca1\u6709\u8be5\u6587\u4ef6\u5939\u7684\u6743\u9650\uff0c\u8bf7\u8fd0\u884c <code>sudo make install<\/code> \u5e76\u63d0\u4f9b\u7ba1\u7406\u5458\u5bc6\u7801\u3002<\/p>\n<p>\u5b89\u88c5\u76ee\u5f55\u5fc5\u987b\u5305\u542b\u5728\u53d8\u91cf\u4e2d <code>\u5c0f\u8def<\/code> \u80fd\u591f\u4ec5\u4f7f\u7528\u5176\u540d\u79f0\u6765\u8fd0\u884c\u8be5\u7a0b\u5e8f\uff0c\u800c\u65e0\u9700\u6307\u5b9a\u5b8c\u6574\u8def\u5f84\u3002<\/p>\n<figure><picture><source media=\"(min-width: 1024px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 768px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 481px)\" data-=\"\" \/><\/picture> <picture><source media=\"(min-width: 0px)\" data-=\"\" \/><\/picture> <picture><\/picture><\/figure>","protected":false},"excerpt":{"rendered":"<p>Compilar en Linux: domina .\/configure &#038;&#038; make &#038;&#038; make install en 3 pasos, evita paquetes y gana control total del software ahora mismo. \ud83d\udee0\ufe0f\u26a1<\/p>","protected":false},"author":1,"featured_media":72931,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":78,"jnews-multi-image_gallery":[],"jnews_single_post":{"format":"standard","override":[{"template":"1","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"1","post_reading_time_wpm":"300","post_calculate_word_method":"str_word_count","show_zoom_button":"1","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","number_popup_post":"1","show_author_box":"1","show_post_related":"0","show_inline_post_related":"0"}],"image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post_position":"meta","trending_post_label":"Trending","sponsored_post_label":"Sponsored by","disable_ad":"0","subtitle":""},"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":{"view_counter_number":"0","share_counter_number":"0","like_counter_number":"0","dislike_counter_number":"0"},"footnotes":""},"categories":[1435],"tags":[1445,1821,1558],"class_list":["post-46498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutoriales","tag-evergreencontent","tag-linux","tag-techtips"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts\/46498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/comments?post=46498"}],"version-history":[{"count":0,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts\/46498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/media\/72931"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/media?parent=46498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/categories?post=46498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/tags?post=46498"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}