Reusing Downloaded .deb Packages
Avoid re-downloading packages for reinstall
September 21, 2016
debian raspberry pi tipsThis is one of those simple things that make life easier. I’m working with OpenHAB on my Raspberry Pi, and their offline package is 160MB. I needed to blow it away this morning and reinstall it, and I didn’t want to burn another 160MB of bandwidth to do so.
Easy solution: .deb packages are cached in /var/cache/apt/archives/
, so I was able to purge it and reinstall it with dpkg -i
without fetching it again.