Deepin V23系统使用记录

一、系统安装:

截止到2024年3月31日,Deepin最新版本为Deepin v23 Beta3。

在各种软件源下载系统ISO安装,个人是在清华源

1.准备一个U盘或者移动硬盘,安装好Ventoy,把Deepin的ISO放进去,这样,就制作好了系统启动盘。

2.推荐为Deepin系统单独准备一块硬盘,从Ventoy启动之后,选择Deepinv23的ISO镜像,进入系统安装。

3.推荐默认全盘安装,这样可以保留系统备份功能,万一系统哪天出问题难以解决了,可以直接回滚。

4.在安装好系统之后,系统盘会默认为15GB。Deepin系统的策略是,在商店安装的所有应用都存储/opt下,而/opt是在数据分区下的,不会占用系统盘的空间,从而不需要很大的系统盘分区。

但是在安装一些Linux通用应用时,程序文件会在常规的Linux目录中,慢慢系统盘也许就不会够用。在这种条件下,只需要再下载一个Ubuntu的ISO镜像,用Ventoy进入Ubuntu的LiveCD环境,使用gparted手动调整分区大小即可。

5.简要说明一下默认数据盘的目录结构:

/persistent #数据盘挂载位置
├── home    #用户家目录
├── opt     #Deepin程序默认安装位置
├── osroot  #系统更新之前的系统备份数据,用来回滚系统(grub2界面”系统恢复“)
├── var     #Linux常规的var目录,faltpak和docker应用数据存在此处

二、软件安装:

1.卸载自带的LibreOffice:

sudo apt --purge libreoffice* -y

2.解决deepinv23玲珑格式的归档管理器和文本编辑器权限问题

# 深度文本编辑器打开没有权限的文本时,内容显示空白
# 归档管理器解压压缩文件,显示无法找到xx目录
# 解决方法是卸载玲珑格式的二者,并重新安装deb格式 ll
-cli uninstall org.deepin.compressor \ && ll-cli uninstall org.deepin.editor sudo apt install deepin-compressor deepin-editor -y

3.安装雾凇输入法(rime-ice):

# 安装fcitx5-rime、lua脚本支持,雾凇输入法是中州韵输入法(rime)的一种输入方案
sudo apt install fcitx5-rime librime-plugin-lua -y 
# 部署雾凇输入法(自动脚本)
sudo apt install git ruby -y
cd ~
git clone --depth=1 https://github.com/Mark24Code/rime-auto-deploy.git --branch latest
cd rime-auto-deploy
./installer.rb

如果自动脚本比较慢,可以手动部署

安装好之后,在 设置 -> 键盘和语言 -> 输入法 ->输入法管理,点+号,添加中州韵输入法即可。

Fcitx5的皮肤设置在深度论坛

4.安装FSearch,Linux系统中的everything软件替代

# 从debian12软件源下载安装libicu72
wget http://ftp.cn.debian.org/debian/pool/main/i/icu/libicu72_72.1-3_amd64.deb -O /tmp/libicu72_72.1-3_amd64.deb \
&& sudo apt install -y /tmp/libicu72_72.1-3_amd64.deb
# 从官方软件库下载deb包并安装
wget https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/amd64/fsearch_0.2.3-1+3.5_amd64.deb -O /tmp/fsearch_0.2.3-1+3.5_amd64.deb \
&& sudo apt install -y /tmp/fsearch_0.2.3-1+3.5_amd64.deb

FSearch的默认图标比较暗,固定到任务栏上之后看不清楚,替换一下。注销当前用户后再登录生效,效果如下:

# 下载自定义图标文件,蓝奏云地址:https://thesats.lanzout.com/ijSbr1ta7bba
mv
/usr/share/icons/hicolor/scalable/apps/io.github.cboxdoerfer.FSearch.svg /usr/share/icons/hicolor/scalable/apps/io.github.cboxdoerfer.FSearch.svg.bak cp ./search_icon.svg /usr/share/icons/hicolor/scalable/apps/io.github.cboxdoerfer.FSearch.svg

5.安装seafile-gui客户端

# 从debian12源下载安装libwebsockets17
wget http://ftp.cn.debian.org/debian/pool/main/libw/libwebsockets/libwebsockets17_4.1.6-3_amd64.deb -O /tmp/libwebsockets17_4.1.6-3_amd64.deb \
&& sudo apt install -y /tmp/libwebsockets17_4.1.6-3_amd64.deb
# 添加seafile官方源及密钥,安装seafile-gui sudo wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc echo "deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bookworm/ stable main" | sudo tee /etc/apt/sources.list.d/seafile.list > /dev/null sudo apt update && sudo apt install -y seafile-gui

6.从星火商店安装ACE兼容环境(关于ACE兼容环境

# 检测并安装ACE兼容环境
if dpkg -s cn.flamescion.bookworm-compatibility-mode >/dev/null 2>&1; then
    echo "ACE兼容环境已安装"
else
    cd /tmp \
    && wget -r -np -A 'cn.flamescion.bookworm-compatibility-mode*.deb' \
    https://zunyun01.store.deepinos.org.cn/store/tools/cn.flamescion.bookworm-compatibility-mode/ \
    && sudo apt install -f /tmp/cn.flamescion.bookworm-compatibility-mode*.deb
fi

7.在ACE兼容环境中安装QGIS,saga,inkscape,mdbtools

# 使用wget命令下载QGIS的公钥到/etc/apt/keyrings/目录下,如果下载失败,脚本将退出
sudo bookworm-run wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg || exit 1
# 在/tmp目录下,创建一个名为qgis.sources的文件,包含QGIS的apt源信息 cat << EOF > /tmp/qgis.sources Types: deb deb-src URIs: https://qgis.org/debian Suites: bookworm Architectures: amd64 Components: main Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg EOF # 将刚才创建的qgis.sources文件复制到/etc/apt/sources.list.d/目录下,复制完毕删除/tmp/qgis.sources sudo bookworm-run cp /tmp/qgis.sources /etc/apt/sources.list.d/qgis.sources && rm /tmp/qgis.sources # 更新apt的软件源信息,然后安装qgis、saga、inkscape和mdbtools sudo bookworm-run apt update && sudo bookworm-run apt install -y qgis saga inkscape mdbtools

8.在ACE环境中安装FME Form

# 从蓝奏云下载fme许可证管理器并安装:https://thesats.lanzout.com/iKcap1taaaof
# 在FME官网下载debian12版本的FME Form安装包,并在ACE兼容环境中安装
bookworm-run
sudo apt install -y ./fme-form-2024_2024.0.24187~debian.12_amd64.deb

9.安装Virtualbox

# 下载Virtualbox的run格式安装包
wegt https://download.virtualbox.org/virtualbox/7.0.14/VirtualBox-7.0.14-161095-Linux_amd64.run
chmod +x ./VirtualBox-7.0.14-161095-Linux_amd64.run
sudo ./VirtualBox-7.0.14-161095-Linux_amd64.run
# 下载扩展包
wget https://download.virtualbox.org/virtualbox/7.0.14/Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack
# virtualbox不能枚举USB设备问题:
# 将当前用户加入到vboxusers组,重启生效
sudo usermod -a -G vboxusers $USER

9.下载星火商店,在商店中安装WPS Pro for Linux、PDFarranger等

wget https://gitee.com/spark-store-project/spark-store/releases/download/4.2.10/spark-store_4.2.10_amd64.deb
sudo apt install -y ./spark-store_4.2.10_amd64.deb

 10.小问题解决

# WPS PDF打不开
# 创建libtiff链接
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5
posted @ 2024-03-31 14:59  MeGusta  阅读(398)  评论(0编辑  收藏  举报