ubuntu下载deb包及其所有依赖包
1、查看依赖
apt-cache depends XXX
2、*下载deb及其依赖包*
apt-get download $(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --no-pre-depends XXX | grep -v i386 | grep "^\w")
3.使用dpkg命令离线安装*
sudo dpkg -i *.deb
本文来自博客园,作者:Jerry·,转载请注明原文链接:https://www.cnblogs.com/jerry-0910/p/17104845.html