$ sudo rm -rf /var/cache/apt/archives/* # 清空缓存目录,这一步也可以不做 $ sudo apt-get -d install <包名> $ sudo dpkg -i <包名>