如何在 Debian Jessie 中安装 dfc 软件包

如何在 Debian Jessie 中安装 dfc 软件包

dfcDebian jessie 中不存在很好的磁盘使用工具,尽管 wheezy 和stretch 中存在。

如何在 Debian 8 中安装它?

答案1

你必须从stretch安装它,添加debian 8源:

echo "deb http://mirror.hetzner.de/debian/packages    stretch main contrib non-free
deb http://http.debian.net/debian               stretch main contrib non-free

deb http://http.debian.net/debian/ stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
" > /etc/apt/sources.list.d/stretch.list

并将它们固定在低于所有杰西源的位置

echo "Package:  *
Pin:  release n=jessie-updates
Pin-Priority:  500

Package:  *
Pin:  release n=jessie
Pin-Priority:  500

Package:  *
Pin:  release n=stretch-updates
Pin-Priority:  499

Package:  *
Pin:  release n=stretch
Pin-Priority:  499
" > /etc/apt/preferences.d/stretch-manual-only 

现在你可以安装它

apt-get update
apt-get install dfc

相关内容