第一步:换源
路径:/etc/apt/source.list
换源之前记得备份下
换源保存:
deb http://ftp.cn.debian.org/debian bullseye main
第二步:安装输入法
apt install fcitx5
选择no
选择第二项
安装pinyin
apt install fcitx5-chinese-addons
第三步:启动fcitx5
添加pinyin,启动配置
fcitx5-configtool
搜索pinyin添加到左侧,点击add添加
打开永中