两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
软件:linux [2025/08/09 15:32] – ↷ 页面linux被移动至软件:linux admin | 软件:linux [2025/09/01 18:56] (当前版本) – [玲珑] admin |
---|
====== Linux系统配置 ====== | ====== Linux ====== |
| |
====== 设在中文环境 ====== | ====== shell配置中文环境 ====== |
| |
中文 | 中文 |
| |
<code -> | <code -> |
#安全更新 | deb https://mirrors.aliyun.com/debian/ trixie main non-free non-free-firmware |
deb http://mirrors.aliyun.com/debian-security/ squeeze/updates main non-free contrib | deb-src https://mirrors.aliyun.com/debian/ trixie main non-free non-free-firmware |
deb-src http://mirrors.aliyun.com/debian-security/ squeeze/updates main non-free contrib | deb https://mirrors.aliyun.com/debian-security/ trixie-security main |
#debian 11.x (bullseye) | deb-src https://mirrors.aliyun.com/debian-security/ trixie-security main |
deb https://mirrors.aliyun.com/debian/ bullseye 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 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-security/ bullseye-security main | #deb https://mirrors.aliyun.com/debian/ trixie-backports main non-free |
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main | |
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib | |
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib | |
#deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib | |
#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> |
| |
| |
| ====== Wine ====== |
| |
| <code -> |
| 安装依赖 |
| sudo dpkg --add-architecture i386 |
| sudo apt-get update |
| |
| sudo apt update |
| sudo apt install wine32:i386 |
| |
| sudo apt wine |
| |
sudo apt install winetricks | sudo apt install winetricks |
| |
winetricks vcrun2022 # 安装 Visual C++ 运行库 | winetricks vcrun2022 # 安装 Visual C++ 运行库 |
| |
winetricks allfonts corefonts cjkfonts # 安装常用字体,包括中文字体 | winetricks allfonts corefonts cjkfonts # 安装常用字体,包括中文字体 |
| |
winetricks d3dx9 d3dx10 # 安装 DirectX 提升兼容性和游戏性能 | winetricks d3dx9 d3dx10 # 安装 DirectX 提升兼容性和游戏性能 |
| |
winetricks riched20 riched30 #渲染奇葩问题 | winetricks riched20 riched30 #渲染奇葩问题 |
| </code> |
| |
====== 浏览器 ====== | ====== 浏览器 ====== |
| |
sudo apt install fonts-liberation\\ sudo dpkg -i microsoft-edge-stable_138.0.3351.65-1_amd64.deb | sudo apt install fonts-liberation\\ sudo dpkg -i microsoft-edge-stable_138.0.3351.65-1_amd64.deb |
| |
===== 虚拟机 ===== | |
| |
chmod 777 VMware-Workstation-Full-17.6.4-24832109.x86_64.bundle | |
| |
sudo ./VMware-Workstation-Full-17.6.4-24832109.x86_64.bundle \\ sudo apt install gcc libcanberra-gtk-module libcanberra-gtk3-module | |
| |
sudo apt install linux-headers-6.1.0-35-amd64\\ | |
| |
\\ \\ | \\ \\ |
| |
| |