ubuntu和kylin批量下载deb和依赖
#!/bin/bash
echo download... $(apt-cache depends $1|sed s/" 依赖: "//g|awk '{print $1}'|grep -v "<"|grep -v :)
apt-get download $(apt-cache depends $1|sed s/" 依赖: "//g|awk '{print $1}'|grep -v "<"|grep -v :)
用法:./download xxxxx