2023-6-29 安装树莓派

硬件:树莓派3B+ 系统:Raspberry Pi OS with desktop and recommended software 2023-05-03 X86

1.下载系统
https://downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2023-05-03/2023-05-03-raspios-bullseye-armhf-full.img.xz

apt-get install -y wget
apt-get install -y vim
apt-get install -y gcc

apt-get install -y openssl
apt-get install -y iw
apt-get install -y usbutils
apt-get install -y v4l-utils
apt-get install -y ntfs-3g
apt-get install -y zip
apt-get install -y unzip
apt-get install -y cpio
apt-get install -y pkg-config
apt-get install -y automake
apt-get install -y gcc
apt-get install -y gimp
apt-get install -y swig
apt-get install -y libtool
apt-get install -y nasm
apt-get install -y autoconf
apt-get install -y automake
apt-get install -y git
apt-get install -y mercurial
apt-get install -y libcurl4
apt-get install -y cmake
apt-get install -y yasm
wget http://curl.haxx.se/download/curl-7.38.0.tar.gz
tar -xzvf curl-7.38.0.tar.gz
cd curl-7.38.0
./configure  --prefix=/usr/local/curl
make
make install
mkdir -p /var/www/setup/PCRE
cd mkdir -p /var/www/setup/PCRE
wget github.com/PCRE2Project/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.gz
tar -zxf pcre2-10.40.tar.gz
cd pcre2-10.40
./configure  --prefix=/usr/local/pcre
make
sudo make install
wget http://zlib.net/zlib-1.2.13.tar.gz
tar -zxf zlib-1.2.13.tar.gz
cd zlib-1.2.13
./configure --prefix=/usr/local/curl
make
sudo make install