下面以下载python3-distutils的离线安装包为例
使用apt-cache depends python3-distutils查找某个安装包的依赖
使用
apt download `apt-cache depends python3-distutils | grep Depends | cut -d: -f2 | tr -d "<>"`
下载安装包的依赖
使用apt download python3-distutils下载安装包本身

下面以下载python3-distutils的离线安装包为例
使用apt-cache depends python3-distutils查找某个安装包的依赖
使用
apt download `apt-cache depends python3-distutils | grep Depends | cut -d: -f2 | tr -d "<>"`
下载安装包的依赖
使用apt download python3-distutils下载安装包本身