Skip to content

Debian

Info

Tue Sep 15 23:18:58 CST 2026

Success
sudo dpkg-reconfigure locales
sudo timedatectl set-timezone Asia/Shanghai

Config

apt

sudo nano /etc/apt/sources.list
/etc/apt/sources.list
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ trixie main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
/etc/apt/sources.list
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ testing main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ testing-updates main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian/ testing-backports main contrib non-free non-free-firmware
deb https://avoidhit.mirrors.cernet.edu.cn/debian-security testing-security main contrib non-free non-free-firmware
sudo apt update && sudo apt upgrade

RepoGen Cernet Mirror

Success
sudo apt install task-xfce-desktop
sudo apt install xfce4-screensaver
sudo apt install labwc
sudo apt install unifont
sudo apt install gdebi
sudo apt install gnome-disk-utility
sudo apt install baobab
sudo apt install fastfetch nvtop htop
sudo apt install hardinfo2
sudo apt install blueman
sudo apt install fwupd
sudo apt install firefox-esr firefox-esr-l10n-zh-cn
sudo apt install chromium chromium-l10n
sudo apt install libreoffice libreoffice-l10n-zh-cn libreoffice-help-zh-cn
sudo apt install qgis qgis-plugin-grass fonts-open-sans
sudo apt install scrcpy         # AOSP
sudo apt install lvm2 mdadm     # QNAP
sudo apt install imsprog        # CH341a
sudo apt install gvfs gvfs-backends gvfs-fuse
sudo apt install qemu-system libvirt-daemon-system virt-manager qemu-efi-loongarch64
sudo apt install dkms linux-headers-$(uname -r) nvidia-smi

conda

wget -O Miniforge3.sh "https://mirrors.nju.edu.cn/github-release/conda-forge/miniforge/LatestRelease/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
source "${HOME}/conda/etc/profile.d/mamba.sh"
conda activate
conda init && mamba shell init
conda config --set show_channel_urls yes
conda config --set custom_channels.conda-forge https://mirrors.cernet.edu.cn/anaconda/cloud/
conda config --set custom_channels.bioconda https://mirrors.cernet.edu.cn/anaconda/cloud/
# conda config --set custom_channels.msys2 https://mirrors.cernet.edu.cn/anaconda/cloud/
conda clean -i
# pip config set global.index-url https://mirrors.cernet.edu.cn/pypi/web/simple
Success
conda create -n zensical -c conda-forge zensical
conda activate zensical
zensical new .
zensical serve
zensical build
conda create -n nodejs -c conda-forge nodejs
conda activate nodejs
npm config set registry https://registry.npmmirror.com
# OpenCode
npm config set allow-scripts=opencode/cli --location=user
npm install -g @opencode/cli
opencode
# Codex https://anyrouter.top/
npm install -g @openai/codex
codex
# DeepSeek Harness
npx @deepseek-ai/dsh web

flatpak

sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak remote-modify flathub --url=https://ustc.mirrors.cernet.edu.cn/flathub
OSTREE_DEBUG_HTTP=1 flatpak install com.github.tchx84.Flatseal
Success
flatpak install flathub com.github.tchx84.Flatseal
flatpak install flathub io.github.flattool.Warehouse
flatpak install flathub it.mijorus.gearlever
# sudo apt install libfuse2t64
flatpak install flathub io.missioncenter.MissionCenter
flatpak install flathub org.gnome.Firmware
flatpak install flathub io.github.Qalculate
flatpak install flathub com.baidu.NetDisk
flatpak install flathub com.microsoft.Edge
flatpak install flathub sh.ppy.osu

fontconfig

sudo apt install fonts-open-sans fonts-unifont fonts-noto-cjk
mkdir ~/.config/fontconfig/
nano ~/.config/fontconfig/fonts.conf
~/.config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
    <alias>
        <family>Unifont</family>
        <prefer>
            <family>Unifont</family>
            <family>Noto Sans CJK SC</family>
        </prefer>
    </alias>
</fontconfig>
fc-cache -v

Software

coreutils

LANG=en date

opencl

Intel(R) Graphics Compute Runtime
sudo apt update && sudo apt upgrade
sudo apt install -y g++ git make ocl-icd-libopencl1 ocl-icd-opencl-dev intel-opencl-icd
mkdir neo && cd neo
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.41.5/intel-igc-core-2_2.41.5+22716_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.41.5/intel-igc-opencl-2_2.41.5+22716_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/intel-ocloc-dbgsym_26.35.39758.10-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/intel-ocloc_26.35.39758.10-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/intel-opencl-icd-dbgsym_26.35.39758.10-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/intel-opencl-icd_26.35.39758.10-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/libigdgmm12_22.10.0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/libze-intel-gpu1-dbgsym_26.35.39758.10-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/libze-intel-gpu1_26.35.39758.10-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/ww35.sum
sha256sum -c ww35.sum
sudo dpkg -i *.deb
# OpenCL-Benchmark
cd ~
git clone https://github.com/ProjectPhysX/OpenCL-Benchmark.git
cd OpenCL-Benchmark
chmod +x make.sh
./make.sh
# clpeak
sudo apt install -y clpeak
clpeak
# https://docs.mesa3d.org/envvars.html#rusticl-env-var
sudo apt install opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev mesa-opencl-icd
RUSTICL_ENABLE=radeonsi clpeak

rime

sudo apt install git ibus ibus-rime
git clone https://github.com/rime/plum.git plum && cd ~/plum
bash rime-install iDvel/rime-ice:others/recipes/full
sudo apt install git fcitx5 fcitx5-rime
sudo apt install fcitx5-frontend-gtk2
git clone https://github.com/rime/plum.git plum && cd ~/plum
rime_dir="$HOME/.local/share/fcitx5/rime" bash rime-install iDvel/rime-ice:others/recipes/full

VRIME

xfce4

startx /usr/bin/startxfce4
sudo systemctl restart lightdm.service