FetchDebian并不是Debian官方提供的软件包管理工具,而是一个第三方工具,用于从Debian仓库下载软件包。因此,它本身并不直接支持特定的软件源,而是允许用户通过配置来选择和使用不同的软件源。
使用APT包管理器安装FetchDebian:
sudo apt update
sudo apt install fetchdebian
fetchdebian --version
从GitHub克隆并手动安装FetchDebian:
git clone https://github.com/fetchdebian/fetchdebian.git
cd fetchdebian
sudo apt install build-essential git python3-pip
./autogen.sh ./configure make sudo make install
fetchdebian --version
/etc/fetchdebian.conf
。使用文本编辑器打开配置文件,例如使用 nano
:sudo nano /etc/fetchdebian.conf
mirror
: 设置镜像源。distribution
: 设置要下载的Debian版本。components
: 设置要下载的组件。architecture
: 设置目标架构。output
: 设置下载文件的输出目录。threads
: 设置下载线程数。通过以上步骤,你可以在Debian系统中成功配置和使用FetchDebian,从而选择和使用不同的软件源。