When updating some packages with sudo apt update
, I've noticed a line that appears every time:
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
...And I'd like to know what libc-bin is and what it does.
When updating some packages with sudo apt update
, I've noticed a line that appears every time:
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
...And I'd like to know what libc-bin is and what it does.
A number of programs for Linux, among them the kernel itself, are written in the programming language C (parts of the kernel are written in Assembler, but the general idea holds ;) ). Implementations of C typically come with a version of the C standard library, which provides a lot of the commonly used functionality for C. This C standard library is also called libc
. There are several implementations of the libc
, among them the GNU C library or glibc, musl or the BSD libc.
libc-bin
, in turn, is a collection of helper programs, so called binary tools, that work in conjunction with libc
. Those tools can read from the system configuration, configure dependencies from shared libraries and other things. If during the installation of a package one of those libc
tools needs to do something, it gets trigger
ed to do it.