I want to know the storage location of apt-get download command in Ubuntu.
Asked
Active
Viewed 5,688 times
6
terdon
- 98,183
- 15
- 197
- 293
user258548
- 164
- 1
- 3
- 9
-
2file stores in the current directory itself(not in anyother places). And this question is not a dupe. Op clearly mentioned where packages are stored while i download it using `apt-get download` – Avinash Raj May 16 '14 at 17:50
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
- 77,204
- 56
- 214
- 254
Hashken
- 6,212
- 5
- 33
- 49
-
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,306
- 4
- 26
- 43
-
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