在 Debian 系统中,“extract 配置”这个说法比较模糊,通常可能指以下几种情况。我会分别说明,你可以对照看看是哪一种:
这是最常见的情况。
sudo nano /etc/apt/sources.list
或编辑 /etc/apt/sources.list.d/ 下的文件。
示例(Debian 12 bookworm):
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main
deb http://deb.debian.org/debian bookworm-updates main
sudo apt update
sudo apt upgrade
# 或
sudo apt full-upgrade
比如 file-roller、unar、p7zip 等:
sudo apt update
sudo apt install --reinstall file-roller unzip p7zip-full
Debian 没有统一的 “extract 配置文件”,解压行为通常由桌面环境或解压工具本身决定。
例如查看或更新某个包的默认配置:
dpkg -L 包名
dpkg-deb -e 包名.deb 提取目录
dpkg-deb -b 目录 新包.deb
比如 extract 是某个脚本或别名:
echo $PATH
which extract
编辑 shell 配置:
nano ~/.bashrc
# 或
nano ~/.zshrc
修改后生效:
source ~/.bashrc
比如 ./configure 阶段:
./configure --help
make clean
./configure 新参数
make
sudo make install
你可以告诉我:
我可以直接给你一步一步的命令。