I want to know the storage location of apt-get download
command in Ubuntu.
2 Answers
If you are just downloading using apt-get
the file is stored in the current directory.
From apt-get --help
download - Download the binary package into the current directory
-
As of June 2021, this is no longer true (on Debian 10): Archives now get downloaded to /var/cache/apt/archives, as correctly indicated in on of these answers. Jun 16, 2021 at 21:10
The packages are stored under:
/var/cache/apt/archives
-
1He's asking about the
download
command, which downloads in the current directory always.– BraiamMay 16, 2014 at 18:03 -
1No, not true anymore. As of 2021, this answer is the correct one. Your comment is incorrect. Jun 16, 2021 at 21:11
-
1not true - year 2023 . ubuntu 22 . the package go to current folder Jun 27, 2023 at 14:47
apt-get download