{"id":583,"date":"2022-04-19T16:36:24","date_gmt":"2022-04-19T08:36:24","guid":{"rendered":"http:\/\/www.inhhh.com\/blog\/?p=583"},"modified":"2022-04-21T13:56:08","modified_gmt":"2022-04-21T05:56:08","slug":"%e6%a0%91%e8%8e%93%e6%b4%be4-raspberry-pi-os-with-desktop-and-recommended-software","status":"publish","type":"post","link":"http:\/\/www.inhhh.com\/blog\/?p=583","title":{"rendered":"\u6811\u8393\u6d3e4+ Raspberry Pi OS with desktop and recommended software"},"content":{"rendered":"\n<p>1.\u4f7f\u7528TF\u5361\uff0c\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c<br>\u7f51\u5740\uff1ahttps:\/\/www.raspberrypi.com\/software\/operating-systems\/<br>\u5b89\u88c5\u5305\u94fe\u63a5<br>https:\/\/downloads.raspberrypi.org\/raspios_full_armhf\/images\/raspios_full_armhf-2022-04-07\/2022-04-04-raspios-bullseye-armhf-full.img.xz<br><br>2.\u628a\u7cfb\u7edf\u5b89\u88c5\u5728TF\u5361<br>\u5728windowsw\u4f7f\u7528win32 disk image\u5373\u53ef\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u6811\u8393\u6d3e\u81ea\u5e26\u7684\u8f6f\u4ef6<br><br>3.\u8fdb\u5165\u7cfb\u7edf\uff0c\u5b89\u88c5\u5e38\u7528\u8f6f\u4ef6<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install -y vim\napt-get install -y make\napt-get install -y automake\napt-get install -y gcc\n\n#\u5b89\u88c5wifi\u7ba1\u7406\u8f6f\u4ef6\napt-get install -y iw\n\n#\u5b89\u88c5USB\u7ba1\u7406\u8f6f\u4ef6\napt-get install -y usbutils \n\n#\u5b89\u88c5v4l\u8f6f\u4ef6\n\napt-get install -y v4l-utils \n\n#\u5b89\u88c5 NTFS \u8f6f\u4ef6\napt-get install -y ntfs-3g\n\n#unzip\napt-get install -y zip unzip \n\napt-get install -y cpio\n\n#\u51c6\u5907\u8f6f\u4ef6\r\napt-get install -y gcc \r\napt-get install -y gimp\napt-get install -y swig \r\napt-get install -y libtool\r\napt-get install -y nasm \napt-get install -y autoconf \r\napt-get install -y automake \r\napt-get install -y git \r\n\r\napt-get install -y mercurial \n\napt-get install -y libcurl3\r\napt-get install -y cmake\napt-get install -y yasm\n\n#firewall\napt-get install -y ufw\n\n#\napt-get install -y chkconfig\n<\/code><\/pre>\n\n\n\n<p>4.\u5b89\u88c5zlib,\u7531\u4e8e\u76f4\u63a5\u5b89\u88c5\u5931\u8d25\uff0c\u6211\u662f\u901a\u8fc7\u6e90\u7801\u5b89\u88c5\u7684<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum -y install zlib -y<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>wget  http:\/\/10.8.0.24:18888\/Download\/armhf\/zlib-1.2.11.tar.gz\ntar -zxvf zlib-1.2.11.tar.gz\ncd zlib-1.2.11\n.\/configure\nmake &amp;&amp; make install<\/code><\/pre>\n\n\n\n<p>5.\u5b89\u88c5pkg-config<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/opt\/pkg \nwget http:\/\/pkgconfig.freedesktop.org\/releases\/pkg-config-0.29.2.tar.gz\ntar xvf pkg-config-0.29.2.tar.gz \ncd pkg-config-0.29.2\n.\/configure --prefix=\/usr\/local\/pkg-config --with-internal-glib \nmake\nmake install<\/code><\/pre>\n\n\n\n<p>6. \u6811\u8393\u6d3epip\u66f4\u6362\u56fd\u5185\u6e90<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install pipsource\r\n#\u67e5\u770b\u5f53\u524d\u6709\u54ea\u4e9b\u53ef\u9760\u7684\u6e90\r\npipsource list\r\n#\u67e5\u770b\u54ea\u4e9b\u6e90\u6211\u4eec\u5df2\u7ecf\u914d\u7f6e\u4e3a\u53ef\u4f7f\u7528\u7684\r\npipsource show\r\n\r\n\u8f93\u5165sudo vim \/etc\/pip.conf\r\n\u539f\u6765\u662fhttps:\/\/www.piwheels.org\/simple\/\u8fd9\u4e2a\u5e93\u662f\u6700\u5168\u7684\uff0c\u6709\u4e00\u4e9b\u5e93\u5fc5\u987b\u7528\u8fd9\u4e2a\u4e0b\u8f7d\uff0c\u56fd\u5185\u7684\u5168\u90fd\u4e0d\u884c\u3002\r\n\u5728\u6587\u4ef6\u6700\u540e\u52a0\u4e00\u53e5\r\nextra-index-url=https:\/\/mirrors.aliyun.com\/pypi\/simple\/\r\n<\/code><\/pre>\n\n\n\n<p>7.\u6811\u8393\u6d3e apt-get \u6362\u6e05\u534e\u6e90<\/p>\n\n\n\n<p>\u6211\u4eec\u9700\u8981\u5148\u4fee\u6539sources.list\u6587\u4ef6\u7684\u914d\u7f6e\uff1a<br>sudo vim \/etc\/apt\/sources.list<br>\u6ce8\u91ca\u6389\u6e90\u6587\u4ef6\u7684\u914d\u7f6e\u5185\u5bb9\uff0c\u66ff\u6362\u6210\u6e05\u534e\u6e90\uff1a<\/p>\n\n\n\n<p>deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspbian\/raspbian\/ stretch main contrib non-free rpi<br>deb-src http:\/\/mirrors.tuna.tsinghua.edu.cn\/raspbian\/raspbian\/ stretch main contrib non-free rpi<\/p>\n\n\n\n<p>\u7136\u540e\u4fee\u6539raspi.list\u6587\u4ef6\u7684\u914d\u7f6e\uff1a<br>sudo vim \/etc\/apt\/sources.list.d\/raspi.list<br>\u6ce8\u91ca\u6389\u6e90\u6587\u4ef6\u7684\u914d\u7f6e\u5185\u5bb9\uff0c\u66ff\u6362\u6210\u6e05\u534e\u6e90\uff1a<\/p>\n\n\n\n<p>deb http:\/\/mirror.tuna.tsinghua.edu.cn\/raspberrypi\/ stretch main ui<br>deb-src http:\/\/mirror.tuna.tsinghua.edu.cn\/raspberrypi\/ stretch main ui<\/p>\n\n\n\n<p>8.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u4f7f\u7528TF\u5361\uff0c\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u7f51\u5740\uff1ahttps:\/\/www.raspberrypi.com\/software\/o<\/p>\n<div class=\"more-link\">\n\t\t\t\t <a href=\"http:\/\/www.inhhh.com\/blog\/?p=583\" class=\"link-btn theme-btn\"><span>Read More <\/span> <i class=\"fa fa-caret-right\"><\/i><\/a>\n\t\t\t<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-583","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=583"}],"version-history":[{"count":7,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/583\/revisions"}],"predecessor-version":[{"id":591,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/583\/revisions\/591"}],"wp:attachment":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}