(更新)Raspberry Pi OS Lite/Full arm64 Bullseye安装Cutefish桌面
准备工作:
一、下载并解压镜像,下载地址:
Lite:
https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64-lite.img.xz
Full:https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64.img.xz
解压:
Lite:
xz -d 2022-04-04-raspios-bullseye-arm64-lite.img.xz
Full:
xz -d 2022-04-04-raspios-bullseye-arm64.img.xz
二、将镜像写入大于或等于32G的Micro SD卡:
Windows环境:使用Win32DiskImager写入即可。
Linux环境:
1.查看磁盘分区信息,获取 SD 卡磁盘信息,例如 SD 卡对应磁盘为 /dev/sda。
sudo fdisk -l
2.卸载 SD 卡挂载点:
(1)执行 df -lh
命令查看当前已挂载的卷
(2)如果 SD 卡对应的分区未挂载,则跳过该步骤;如果 SD 卡对应分区已挂载,如 SD 卡对应的两个分区 /dev/sda1 和 /dev/sda2 已挂载,则需要卸载对应分区:
sudo umount /dev/sda1
sudo umount /dev/sda2
3.写入SD卡:
Lite:
sudo dd bs=4M if=2022-04-04-raspios-bullseye-arm64-lite.img of=/dev/sda
Full:
sudo dd bs=4M if=2022-04-04-raspios-bullseye-arm64.img of=/dev/sda
三、更改APT源:
1.编辑/etc/apt/sources.list文件
sudo nano /etc/apt/sources.list
删除原文件所有内容,用以下内容替代:
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-freedeb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian bullseye-proposed-updates main contrib non->
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib >
2.编辑/etc/apt/sources.list.d/raspi.list文件
sudo nano /etc/apt/sources.list.d/raspi.list
删除原文件所有内容,用以下内容替代:
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ bullseye main
开机配置
将Micro SD卡插入树莓派,并用Micro HDMI线连接显示器后通电启动
按照提示创建账户,默认账户名pi,密码raspberry
连接WiFi:
Full:按照图形界面提示连接即可
Lite:输入“sudo raspi-config”后回车,选择“1 System Options”后回车,再选择“S1 Wireless LAN”后回车,输入WiFi热点名称,再输入密码后回车即可
联网后执行sudo apt update命令进行更新。
解决没有公钥的问题:
通过以下命令添加对应公钥。在使用该命令时需要将******部分替换为实际缺少的公钥。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ******
其他配置(Full):
按照提示选择国家——China,时区——默认Shanghai,使用美式键盘,联网后更新
其他配置(Lite):
安装中文字体:
sudo apt-get install fonts-wqy-zenhei fonts-wqy-microhei -y
设置中文显示:
sudo raspi-config
选择“5 Localisation Options”后回车,继续选择“L1 Locale”回车,一直按下方向键直到“zh_CN.GB18030 GB18030、zh_CN GB2312、zh_CN.GBK GBK、zh_CN.UTF-8 UTF-8”出现为止,通过空格键选择标*后, tab键确认回车
选择“zh_CN.UTF-8”作为系统环境默认的区域设置。
系统提示重启,或手工重启:
sudo reboot
设置时区:
sudo raspi-config
选择“5 Localisation Options”后回车,继续选择“L2 Timezone”回车,选择“Asia”回车,一直按下方向键,选择“Shanghai”后回车。
开启SSH服务:
执行“sudo rapi-config”命令,选择“3 Interface Options”后回车,再选择“I1 SSH”后回车即可
在 WiFi 热点中查询 IP 分配情况,确认树莓派的 IP 地址,使用 SSH 进行远程连接。用户名为 pi
,默认密码为 raspberry。
安装Cutefish桌面及其管理服务
1.依次安装Xorg、xinit,加-y参数安装过程自动确认:
sudo apt-get install --no-install-recommends xserver-xorg -y
sudo apt-get install --no-install-recommends xinit -y
2.安装Cutefish桌面:
(1)安装git:
sudo apt install git -y
(2)克隆并运行安装桌面脚本
git clone https://gitee.com/liu-peiming/CutefishDEBuild.sh_v_gitee
chmod +x CutefishDEBuild.sh_v_gitee/build.sh
CutefishDEBuild.sh_v_gitee/build.sh
libcutfish可能编译失败,解决方法:编辑libcutefish/screen/outputmodel.cpp文件,删除606行和617行,然后重新编译libcutefish(不用再克隆),编译命令(若libcutefish文件夹内有build文件夹,删除build文件夹后再编译):
cd libcutefish/
mkdir build
cd build
cmake ..
make
sudo make install
根据自己需要输入项目前序号并回车以开始编译,必需的项目有fishui,libcutefish,qt-plugins,kwin-plugins,core,daemon,filemanager,dock,screenshot,terminal,launcher,settings,debinstaller,icons,gtk-themes,statusbar,screenlocker,sddm-themes,wallpapers
整个过程比较长,可能花费80~120分钟,具体取决于你的设备性能。
3.安装登陆管理器
sudo apt-get install sddm -y
选择sddm作为默认的显示管理器
4.设置进入桌面
sudo raspi-config
选择“1 System Options”后回车,再选择“S5 Boot/Auto Login”回车,选择“B3 Desktop ”后回车根据提示重启
重新启动后在左下角选择桌面环境输入密码后登陆即可
对于Full,重启后可能无法显示,通过SSH连接后输入sudo reboot再重启一遍
安装中文输入法:
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin -y
安装之后重启即可。
(更新)Raspberry Pi OS Lite/Full arm64 Bullseye安装Cutefish桌面相关推荐
- 树莓派Pi OS Lite安装桌面
树莓派Raspberry Pi OS Lite怎么用VNC 树莓派安装Zoom 安装Raspberry Pi OS Lite 安装Pi-apps 安装图形界面 树莓派安装Zoom 现在会议要用到Zoo ...
- 树莓派(Raspberry Pi OS)操作系统的选择
树莓派(Raspberry Pi OS)操作系统的选择 树莓派官方的操作系统是Raspberry Pi OS,一共有三个版本(https://www.raspberrypi.org/software/ ...
- 【树莓派-入门】树莓派Zero W利用Raspberry Pi Imager烧录系统+开机连接(2022-04-04 Raspberry Pi OS Bullseye)
文章目录 前言 格式化内存卡 (1)删除磁盘分区 (2)新建简单卷 (3)格式化 方法一:用 Raspberry Pi Imager 安装 Raspberry Pi OS 1.选择OS和SD卡 2.进 ...
- 从raspberry pi OS 64-bit lite开始安装图形界面(icewm ,dwm)
安装icewm简单版本 首先准备好无图形界面的操作系统raspberry pi OS 64-bit,我使用的是2022年4月4日的版本.新版本的系统删除了默认的pi用户,需要自己创建,最好使用rpi- ...
- 树莓派4b风扇安装方法_树莓派安装Raspberry Pi OS系统
给树莓派植入灵魂,作为一个微型电脑,必须要有操作系统才能使用,就像手机的安卓,电脑的Windows,进入树莓派官网www.raspberrypi.org/downloads/根据自己的电脑系统下载烧录 ...
- 树莓派Raspberry Pi OS开机自启动脚本
树莓派Raspberry Pi OS开机自启动脚本 1. 需求和来源 2. 后台运行Python 3. 运行Terminal 1. 需求和来源 想让设备开机后就要运行Python工程文件 那么需设置l ...
- 下载和安装Raspberry Pi OS(以前称为Raspbian)
一.在PC上插入TF卡(需要USB转TF硬件工具) TF卡必须格式化为FAT32格式. 1.使用Raspberry Pi Imager官方工具安装Raspberry Pi O ...
- 树莓派4B安装官方发布64位 Raspberry Pi OS 系统
前言 树莓派4B性能强劲,早就有许多大神做了一些64位系统,官方也终于推出了Raspberry Pi OS (64 bit) ,也就是64位的系统,话不多说,开淦! 一.下载系统 官方64位系统下载地 ...
- 树莓派系统安装-Raspberry Pi OS
树莓派系统安装-Raspberry Pi OS 1.Raspberry Pi Imager 安装 1.1下载安装 1.2格式化SD卡 1.3安装镜像 2.配置 2.1打开SSH 2.2设置WIFI连接 ...
最新文章
- angularjs-ngModel 控制页面的宽度
- linux文件删除漏洞,OpenStack Glance v1 API任意文件删除漏洞(CVE-2012-4573)
- 【运筹学】匈牙利法 ( 克尼格定理 | 匈牙利法引入 )
- C# 给word文档添加水印
- 全球及中国低温纳米定位器行业发展趋势分析与风险评估报告2021-2027年版
- IP网络设计系列之-局域网设计
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in...
- ASP .NET基本概念
- 第2章[2.8] Ext JS的控制器类型及使用
- terminateActivity
- 数学建模:lingo软件学习心得
- Matlab编程基础
- MyEclipse10破解 运行run.bat闪退 亲自试验
- HtmlHelper用法大全(上)
- 【AAAI 2021】自监督目标检测知识蒸馏:Distilling Localization for Self-Supervised Representation Learning
- a non-compliant version of Huawei Mobile Services SDK which contains code to download or install app
- gfortran在linux下安装
- Linux 网络状态工具 ss 详解,比netstat更强大
- Python爬取马蜂窝城市游记
- 由吃饭想到的产品痛点问题
热门文章
- 保定计算机软件学院是哪个区,河北软件职业技术学院在哪个区
- android 插屏广告代码,插屏实现说明
- excel提取工作表名称
- Python语言在人工智能(AI)中的优势
- 数商云:补齐数字化短板,农林牧渔供应链升级执行“三步走”
- 金蝶OSF接口(s-HR系统)调用示例
- redis之瘦小精干的位图 (一)
- JAVA工程师个人简历中的项目经验范文
- 深度学习——序列模型(笔记)
- 中科院计算所王永庆详解IJCAI 17录用论文:如何用注意力机制RNN进行信息传播建模?|IJCAI 2017...