Glam Prestige Journal

Bright entertainment trends with youth appeal.

Which package contains the C standard library?

4 Answers

This should be available in the glibc package Though most all the packages essential to development and code-building can be found in build-essential

1

The package name is libc6, if you are trying to build a C app then you will want to install the build-essential package which brings the development packages.

1

It's libc6 / libc6-dev. For cross compilation for 64 bit / 32 bit systems, you can install libc6-amd64 libc6-dev-amd64 or *i386 repsectively.

The -dev packages are the ones that contain /usr/include/stdlib.h.

3

In general, you can find which package a file belongs to using the command:

dpkg-query -S /path/to/file

In this case, this does depend on you first knowing which file is the C standard library: /lib/libc6.so.6

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy