两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
软件:linux [2025/08/31 04:22] – [阿里] admin | 软件:linux [2025/09/01 18:56] (当前版本) – [玲珑] admin |
---|
====== Linux ====== | ====== Linux ====== |
| |
====== 设在中文环境 ====== | ====== shell配置中文环境 ====== |
| |
中文 | 中文 |
| |
<code -> | <code -> |
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib | deb https://mirrors.aliyun.com/debian/ trixie main non-free non-free-firmware |
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib | deb-src https://mirrors.aliyun.com/debian/ trixie main non-free non-free-firmware |
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main | deb https://mirrors.aliyun.com/debian-security/ trixie-security main |
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main | deb-src https://mirrors.aliyun.com/debian-security/ trixie-security main |
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib | deb https://mirrors.aliyun.com/debian/ trixie-updates main non-free non-free-firmware |
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib | deb-src https://mirrors.aliyun.com/debian/ trixie-updates main non-free non-free-firmware |
#deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib | #deb https://mirrors.aliyun.com/debian/ trixie-backports main non-free |
#deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib | |
</code> | </code> |
| |
| |
==== 华为 ==== | ==== 华为 ==== |
| |
==== 清华 ==== | ==== 清华 ==== |
| |
| 访问[[https://mirror.tuna.tsinghua.edu.cn/help/debian/]] |
| |
<code -> | <code -> |
<code -> | <code -> |
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 | # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 |
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware | deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware |
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware | # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware |
| |
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware | deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware |
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware | # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware |
| |
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware | deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware |
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware | # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware |
| |
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 | # 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 |
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware | deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware |
# deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware | # deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware |
</code> | </code> |
| |
| |
# deb-src [[http://mirrors.ustc.edu.cn/debian]] bookworm-backports main contrib non-free non-free-firmware | # deb-src [[http://mirrors.ustc.edu.cn/debian]] bookworm-backports main contrib non-free non-free-firmware |
| |
====== 应用商店 ====== | |
| |
<code shell> | |
echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list | |
| |
sudo apt update | |
| |
sudo apt install linglong-builder linglong-box linglong-bin | |
</code> | |
| |
====== 打印机 ====== | ====== 打印机 ====== |
</code> | </code> |
| |
====== Wine ====== | ====== 应用商店 ====== |
| |
安装依赖 | ===== 星火 ===== |
| |
sudo apt install dirmngr ca-certificates curl software-properties-common apt-transport-https | 访问 [[https://www.spark-app.store/]] |
| |
添加32bit支持 | 下载 |
| |
dpkg --add-architecture i386 | ''Extension Manager''中下载''Dash to Dock'' |
| |
安装 | ===== 如意玲珑 ===== |
| |
wget -nc -O /usr/share/keyrings/winehq-archive.key [[https://dl.winehq.org/wine-builds/winehq.key]] | 访问https://linyaps.org.cn/ |
| |
deb [arch=amd64,i386 signed-by=/usr/share/keyrings/winehq-archive.key] [[https://mirrors.tuna.tsinghua.edu.cn/wine-builds/debian/]] bookworm main | <code shell> |
| echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list |
| |
apt update | sudo apt update |
| |
apt install --install-recommends winehq-stable | sudo apt install linglong-builder linglong-box linglong-bin |
| </code> |
| |
sudo apt install winetricks | |
| |
winetricks vcrun2022 # 安装 Visual C++ 运行库 | ====== Wine ====== |
| |
winetricks allfonts corefonts cjkfonts # 安装常用字体,包括中文字体 | <code -> |
| 安装依赖 |
| sudo dpkg --add-architecture i386 |
| sudo apt-get update |
| |
winetricks d3dx9 d3dx10 # 安装 DirectX 提升兼容性和游戏性能 | sudo apt update |
| sudo apt install wine32:i386 |
| |
| sudo apt wine |
| |
| sudo apt install winetricks |
| winetricks vcrun2022 # 安装 Visual C++ 运行库 |
| winetricks allfonts corefonts cjkfonts # 安装常用字体,包括中文字体 |
| winetricks d3dx9 d3dx10 # 安装 DirectX 提升兼容性和游戏性能 |
winetricks riched20 riched30 #渲染奇葩问题 | winetricks riched20 riched30 #渲染奇葩问题 |
| </code> |
| |
====== 浏览器 ====== | ====== 浏览器 ====== |