If you use
apt instead of
apt-get, the default is not to store debs anywhere if the apt install is successful.
apt (1.2~exp1) experimental; urgency=medium
[ Automatic removal of debs after install ]
After packages are successfully installed by
.deb package files will be
removed from the
/var/cache/apt/archives cache directory.
This can be changed by setting the apt configuration option
# echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' \
Please note that the behavior of apt-get is unchanged. The
downloaded debs will be kept in the cache directory after they
are installed. To enable the behavior for other tools, you can set