{"id":5935,"date":"2025-07-18T10:26:02","date_gmt":"2025-07-18T02:26:02","guid":{"rendered":"http:\/\/cnliutz.ipyingshe.net\/?p=5935"},"modified":"2025-07-18T10:26:04","modified_gmt":"2025-07-18T02:26:04","slug":"%e6%a0%91%e8%8e%93%e6%b4%be%e6%9b%b4%e6%8d%a2%e8%bd%af%e4%bb%b6%e6%ba%90%ef%bc%88%e6%95%b0%e6%8d%ae%e6%ba%90%ef%bc%89%e7%9a%84%e8%a7%84%e8%8c%83%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"http:\/\/xc.ipyingshe.net:5347\/?p=5935","title":{"rendered":"\u6811\u8393\u6d3e\u66f4\u6362\u8f6f\u4ef6\u6e90\uff08\u6570\u636e\u6e90\uff09\u7684\u89c4\u8303\u6b65\u9aa4"},"content":{"rendered":"\n<p>\u4ee5\u4e0b\u662f\u6811\u8393\u6d3e\u66f4\u6362\u8f6f\u4ef6\u6e90\uff08\u6570\u636e\u6e90\uff09\u7684\u89c4\u8303\u6b65\u9aa4\uff0c\u4ee5\u6e05\u534e\u5927\u5b66\u955c\u50cf\u6e90\u4e3a\u4f8b\uff1a<\/p>\n\n\n\n<p>? \u4e00\u3001\u66f4\u6362\u4e3b\u8f6f\u4ef6\u6e90<br>\u7f16\u8f91\u6e90\u6587\u4ef6\u200c<br>bash<br>Copy Code<br>sudo nano \/etc\/apt\/sources.list<\/p>\n\n\n\n<p>\u66ff\u6362\u5185\u5bb9\u200c\uff08\u6839\u636e\u7cfb\u7edf\u7248\u672c\u4fee\u6539\uff0c\u5982 bookworm\uff09\uff1a<br>text<br>Copy Code<br>deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspbian\/raspbian\/ bookworm main contrib non-free rpi<br>deb-src http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspbian\/raspbian\/ bookworm main contrib non-free rpi<\/p>\n\n\n\n<p>? \u6ce8\u91ca\u6216\u5220\u9664\u539f\u6709\u5b98\u65b9\u6e90<\/p>\n\n\n\n<p>? \u4e8c\u3001\u66f4\u6362\u6811\u8393\u6d3e\u4e13\u7528\u6e90<br>\u7f16\u8f91\u4e13\u7528\u6e90\u6587\u4ef6\u200c<br>bash<br>Copy Code<br>sudo nano \/etc\/apt\/sources.list.d\/raspi.list<\/p>\n\n\n\n<p>\u66ff\u6362\u5185\u5bb9\u200c\uff1a<br>text<br>Copy Code<br>deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspberrypi\/ bookworm main<br>deb-src http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspberrypi\/ bookworm main<\/p>\n\n\n\n<p>? \u65e0\u9700\u6307\u5b9a\u7248\u672c\uff0c\u76f4\u63a5\u66ff\u6362\u5168\u90e8\u5185\u5bb9<\/p>\n\n\n\n<p>\u26a1 \u4e09\u3001\u66f4\u65b0\u9a8c\u8bc1<br>bash<br>Copy Code<br>sudo apt update &amp;&amp; sudo apt upgrade -y<\/p>\n\n\n\n<p>\u6d4b\u8bd5\u65b9\u6cd5\u200c\uff1a\u5c1d\u8bd5\u5b89\u88c5\u8f6f\u4ef6\uff08\u5982 sudo apt install vim\uff09\uff0c\u6210\u529f\u5373\u8bf4\u660e\u6e90\u751f\u6548<br>\u5e38\u89c1\u95ee\u9898\u200c\uff1a<br>\u82e5\u9047\u5bc6\u94a5\u8b66\u544a\uff08DEPRECATION\uff09\uff0c\u6267\u884c\uff1a<br>bash<br>Copy Code<br>cd \/etc\/apt &amp;&amp; sudo cp trusted.gpg trusted.gpg.d\/    # \u8fc1\u79fb\u5bc6\u94a5\u89e3\u51b3:ml-citation{ref=&#8221;9&#8243; data=&#8221;citationList&#8221;}<\/p>\n\n\n\n<p>? \u5176\u4ed6\u56fd\u5185\u955c\u50cf\u6e90<br>\u670d\u52a1\u5546 \u4e3b\u6e90\u5730\u5740 \u4e13\u7528\u6e90\u5730\u5740<br>\u963f\u91cc\u4e91\u200c http:\/\/mirrors.aliyun.com\/raspbian\/raspbian\/ http:\/\/mirrors.aliyun.com\/raspberrypi\/<br>\u4e2d\u79d1\u5927\u200c http:\/\/mirrors.ustc.edu.cn\/raspbian\/ http:\/\/mirrors.ustc.edu.cn\/raspberrypi\/<\/p>\n\n\n\n<p>? \u200c\u64cd\u4f5c\u63d0\u793a\u200c<\/p>\n\n\n\n<p>\u5efa\u8bae\u5148\u5907\u4efd\u6e90\u6587\u4ef6\uff1asudo cp \/etc\/apt\/sources.list{,.bak}<br>\u786e\u4fdd\u7cfb\u7edf\u7248\u672c\uff08\u5982 bookworm\uff09\u4e0e\u955c\u50cf\u6e90\u8def\u5f84\u5339\u914d<br>\u66f4\u6362\u6e90\u540e\u53ef\u663e\u8457\u63d0\u5347\u8f6f\u4ef6\u4e0b\u8f7d\u901f\u5ea6\uff0c\u5c24\u5176\u5b89\u88c5\u5927\u578b\u5e93\uff08\u5982OpenCV\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u662f\u6811\u8393\u6d3e\u66f4\u6362\u8f6f\u4ef6\u6e90\uff08\u6570\u636e\u6e90\uff09\u7684\u89c4\u8303\u6b65\u9aa4\uff0c\u4ee5\u6e05\u534e\u5927\u5b66\u955c\u50cf\u6e90\u4e3a\u4f8b\uff1a ? \u4e00\u3001\u66f4\u6362 <span class=\"readmore\"><a href=\"http:\/\/xc.ipyingshe.net:5347\/?p=5935\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-5935","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/5935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5935"}],"version-history":[{"count":1,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/5935\/revisions"}],"predecessor-version":[{"id":5936,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/5935\/revisions\/5936"}],"wp:attachment":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5935"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}