debian的deb包和仓库

目录

1. debian 下载源

最新的版本下载:

https://www.debian.org/distrib/packages

alt text

https://packages.debian.org/trixie/armhf/util-linux/download

alt text

可以

# 您可以使用以下列表中的任何一个源镜像只要往您的 /etc/apt/sources.list 文件中像下面这样添加一行:

deb http://ftp.de.debian.org/debian trixie main 

# 然后安装
apt update
apt install aptitude

旧版本的存档:
https://www.debian.org/distrib/archive.zh-cn.html

alt text

deb包的目录:
https://archive.debian.org/debian/(存档地址) + dists + 版本代号 + 硬件架构

例如:

https://archive.debian.org/debian/dists/wheezy/main/binary-armhf/

alt text

直接解压打开,里面的deb包的列表类似:
alt text
有各种依赖说明,和gcc,libc6版本的需求等。

下载deb包的话,就是:
存档地址 + 上图红框中的地址
https://archive.debian.org/debian/ + pool/main/u/util-linux/util-linux_2.20.1-5.3_armhf.deb

https://archive.debian.org/debian/pool/main/u/util-linux/util-linux_2.20.1-5.3_armhf.deb

apt-cache policy <package>

查看具体软件包的版本来源

仓库配置:
https://help.mirrors.cernet.edu.cn/debian/

posted @ 2025-11-13 10:32  杨旭0324  阅读(34)  评论(0)    收藏  举报