I want to know the storage location of apt-get download
command in Ubuntu.
Asked
Active
Viewed 6,497 times
6

terdon
- 100,812

user258548
- 164
- 1
- 3
- 9
2 Answers
5
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

Avinash Raj
- 78,556

Hashken
- 6,282
-
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. – Markus Bawidamann Jun 16 '21 at 21:10
3
The packages are stored under:
/var/cache/apt/archives

animaletdesequia
- 8,354
-
1He's asking about the
download
command, which downloads in the current directory always. – Braiam May 16 '14 at 18:03 -
1No, not true anymore. As of 2021, this answer is the correct one. Your comment is incorrect. – Markus Bawidamann Jun 16 '21 at 21:11
-
1not true - year 2023 . ubuntu 22 . the package go to current folder – yehonatan yehezkel Jun 27 '23 at 14:47
apt-get download
– Avinash Raj May 16 '14 at 17:50