Check out my first novel, midnight's simulacra!

APT: Difference between revisions

From dankwiki
No edit summary
No edit summary
 
Line 4: Line 4:
Dump the config via <tt>apt-config dump</tt>.
Dump the config via <tt>apt-config dump</tt>.


To disable retention of downloaded packages in the archive directory, add <tt>APT::Keep-Downloaded-Packages "false"</tt> to the config. Note that the <tt>Binary::apt::APT::Keep-Downloaded-Packages</tt> variable only applies to the <tt>apt</tt> binary, <i>not</i> e.g. <tt>apt-get</tt>.
To disable retention of downloaded packages in the archive directory, add <tt>APT::Keep-Downloaded-Packages "false";</tt> to the config. Note that the <tt>Binary::apt::APT::Keep-Downloaded-Packages</tt> variable only applies to the <tt>apt</tt> binary, <i>not</i> e.g. <tt>apt-get</tt>.

Latest revision as of 03:57, 12 August 2022

The package manager for Debian and its derivatives. Raptorial is a reimplementation of portions of APT.

Config

Dump the config via apt-config dump.

To disable retention of downloaded packages in the archive directory, add APT::Keep-Downloaded-Packages "false"; to the config. Note that the Binary::apt::APT::Keep-Downloaded-Packages variable only applies to the apt binary, not e.g. apt-get.