Home Explore Blog CI



man-pages

2nd chunk of `apt.man`
0088e68a0367edf1daa8ead88837f8a3b1a34b4a8393c8e800000001000008ff
 the version from a specific release
           can be selected by following the package name with a forward slash
           (/) and codename (bookworm, trixie, sid ...) or suite name (stable,
           testing, unstable). This will also select versions from this release
           for dependencies of this package if needed to satisfy the request.

           Removing a package removes all packaged data, but leaves usually
           small (modified) user configuration files behind, in case the remove
           was an accident. Just issuing an installation request for the
           accidentally removed package will restore its function as before in
           that case. On the other hand you can get rid of these leftovers by
           calling purge even on already removed packages. Note that this does
           not affect any data or configuration stored in your home directory.

       autoremove (apt‐get(8))
           autoremove is used to remove packages that were automatically
           installed to satisfy dependencies for other packages and are now no
           longer needed as dependencies changed or the package(s) needing them
           were removed in the meantime.

           You should check that the list does not include applications you
           have grown to like even though they were once installed just as a
           dependency of another package. You can mark such a package as
           manually installed by using apt‐mark(8). Packages which you have
           installed explicitly via install are also never proposed for
           automatic removal.

       satisfy (apt‐get(8))
           satisfy satisfies dependency strings, as used in Build-Depends. It
           also handles conflicts, by prefixing an argument with "Conflicts: ".

           Example: apt satisfy "foo, bar (>= 1.0)" "Conflicts: baz, fuzz"

       search (apt‐cache(8))
           search can be used to search for the given regex(7) term(s) in the
           list of available packages and display matches. This can e.g. be
           useful if you are looking for packages having a specific feature. If
           you are looking for a package including a specific file try apt‐
           file(1).

       show (apt‐cache(8))
           Show information about

Title: APT Package Management: Version Selection, Autoremoval, Dependency Handling, and Package Searching
Summary
This section details the package management features of `apt`, including selecting package versions from specific releases, automatically removing unnecessary dependencies, satisfying dependency strings, and searching for packages using regular expressions. It also describes how to display information about packages.