Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Software] How to move apt cache to RAM

$
0
0
APT and Aptitude uses cache on the disk. The following are the directories are used
  • /var/cache/apt/archives A directory where downloaded packages are kept
  • /var/lib/apt/lists/partial/ A directory where the list of partial downloaded packages are kept
  • /var/lib/apt/aptitude
There might be more too but I am not aware of those.

Is it possible to move APT cache to RAM? What will be the implications both good and bad for doing this? Also has anything like that has been attempted? Should this even be attempted?

This need arose after following a few discussions on how to reduce disk writes, i.e. namely Tmpfs disk savers, from ~/.profile, [HowTo] Move browser profile and cache to RAM and a few others.

Statistics: Posted by DebianFox — 2024-09-13 08:01 — Replies 3 — Views 90



Viewing all articles
Browse latest Browse all 3474

Trending Articles