在线查询deb包完整下载路径

如查询sl包下载路径

1、apt-cache show sl

得到pool/universe/s/sl/sl_5.02-1_arm64.deb

2、apt policy sl

得到https://archive.kylinos.cn/kylin/KYLIN-ALL

拼接得到https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/s/sl/sl_5.02-1_arm64.deb

3、小火车启动

安装器安装离线包,执行sl,启动小火车

注:

1、下载的包可能依赖需要解决,使用命令apt depends sl查看依赖,然后下载

2、linux本地直接下载包

apt download teamviewer #下载到当前路径
或者 apt install -d teamviewer #下载到/var/cache/apt/archives

posted @ 2021-10-12 11:11  gpysir  阅读(717)  评论(0编辑  收藏  举报