How To Install glibc on Fedora 36

In this tutorial we learn how to install glibc in Fedora 36. glibc is The GNU libc libraries

Introduction

In this tutorial we learn how to install glibc on Fedora 36.

What is glibc

The glibc package contains standard libraries which are used by multiple programs on the system. In order to save disk space and memory, as well as to make upgrading easier, common system code is kept in one place and shared between programs. This particular package contains the most important sets of shared libraries library and the standard math library. Without these two libraries, a Linux system will not function.

We can use yum or dnf to install glibc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glibc.

Install glibc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install glibc using dnf by running the following command:

sudo dnf -y install glibc

Install glibc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install glibc using yum by running the following command:

sudo yum -y install glibc

How To Uninstall glibc on Fedora 36

To uninstall only the glibc package we can use the following command:

sudo dnf remove glibc

glibc Package Contents on Fedora 36

/etc/gai.conf
/etc/ld.so.cache
/etc/ld.so.conf
/etc/ld.so.conf.d
/etc/rpc
/lib64/ld-linux-x86-64.so.2
/lib64/libBrokenLocale.so.1
/lib64/libanl.so.1
/lib64/libc.so.6
/lib64/libc_malloc_debug.so.0
/lib64/libdl.so.2
/lib64/libm.so.6
/lib64/libmvec.so.1
/lib64/libnss_compat.so.2
/lib64/libnss_dns.so.2
/lib64/libnss_files.so.2
/lib64/libpthread.so.0
/lib64/libresolv.so.2
/lib64/librt.so.1
/lib64/libthread_db.so.1
/lib64/libutil.so.1
/sbin/ldconfig
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/9117e8c1738b77c8492bc441880da9ed532a2a
/usr/lib/.build-id/09
/usr/lib/.build-id/09/9b9d36367f41b88c1a2ccf39a2a90c1bc36c4f
/usr/lib/.build-id/12
/usr/lib/.build-id/12/b82ddf049d799eb65fd2c9dcbe7f5686664418
/usr/lib/.build-id/12/c4be61b714f06b674099619f507a5291c04bb8
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/6c3e3e4e013c24c1133d5246d50f1bc7d2d570
/usr/lib/.build-id/21
/usr/lib/.build-id/21/dcc2ee02485a26fe8ea1c05a430e3bd012ff29
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/5afe11116cc85e21a8d87e6f52a481efefa1d1
/usr/lib/.build-id/2c/ca7524239e10d7f49f0d43f9d7c4ccb4f2381a
/usr/lib/.build-id/44
/usr/lib/.build-id/44/714af898fd81d857dc986d61214908ffa8eb9b
/usr/lib/.build-id/49
/usr/lib/.build-id/49/7b4ab29be51136fb9e38b7a8478b5a0a1d72dd
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/17bf154977f9f3c223b440fc40e452eabc479b
/usr/lib/.build-id/50
/usr/lib/.build-id/50/a0cc778448bae1f9cd7fc1e34e2c6a608dc038
/usr/lib/.build-id/58
/usr/lib/.build-id/58/aec63cb6d976e15b52aa5e90ed1fb2a9c49e49
/usr/lib/.build-id/59
/usr/lib/.build-id/59/b4f87798ec9df6860dd6bc6e0263820bd789d7
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/7b96dfb83f0bdcb6a410469b82f86415e5ada3
/usr/lib/.build-id/71
/usr/lib/.build-id/71/c15c499f32403fe4764fbf4580e1c54d74e028
/usr/lib/.build-id/89
/usr/lib/.build-id/89/9dc1324a2b52809d197666b1158b750e0270dc
/usr/lib/.build-id/99
/usr/lib/.build-id/99/7994d4535f8c791738540c3e6ee8e46a752603
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/7d05acfe35a2207f5bf330758a55738b26eccf
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/a009fa501a19e1fb6f04d5f9afbaa1fa93c0ce
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/851b02f72c72af1b183b85f97b2eea5530120e
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/78980495ce10a7c127ed4ddd65f25bde1817d7
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/98ddebd6f916e6d5ebdb2587b4abc93498d990
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/212116865fec24bd0dd4032c67798f846abe90
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/5aae69aadce812afcc57422ff23c93d466cc6b
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/d762b9872f23b0d923bd898d5b8f80b4a71cb7
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/c9d5be6b9c60056cc4292005625862e0169789
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/e7c1e136391b3b4d4a3a4e5fc2c14189fce789
/usr/lib/.build-id/d9/e7c1e136391b3b4d4a3a4e5fc2c14189fce789.1
/usr/lib/.build-id/d9/e7c1e136391b3b4d4a3a4e5fc2c14189fce789.2
/usr/lib/.build-id/db
/usr/lib/.build-id/db/ded0a0bc669a50efaec5c4b7a20efbb8a7989f
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/5b24b3896dddd3a1d19729cbbd0bf21e0a3df1
/usr/lib64/audit
/usr/lib64/audit/sotruss-lib.so
/usr/lib64/gconv
/usr/lib64/gconv/ANSI_X3.110.so
/usr/lib64/gconv/CP1252.so
/usr/lib64/gconv/ISO8859-1.so
/usr/lib64/gconv/ISO8859-15.so
/usr/lib64/gconv/UNICODE.so
/usr/lib64/gconv/UTF-16.so
/usr/lib64/gconv/UTF-32.so
/usr/lib64/gconv/UTF-7.so
/usr/lib64/gconv/gconv-modules
/usr/lib64/gconv/gconv-modules.cache
/usr/lib64/gconv/gconv-modules.d
/usr/lib64/libmemusage.so
/usr/lib64/libpcprofile.so
/usr/libexec/getconf
/usr/libexec/getconf/POSIX_V6_LP64_OFF64
/usr/libexec/getconf/POSIX_V7_LP64_OFF64
/usr/libexec/getconf/XBS5_LP64_OFF64
/usr/sbin/iconvconfig
/usr/share/licenses/glibc
/usr/share/licenses/glibc/COPYING
/usr/share/licenses/glibc/COPYING.LIB
/usr/share/licenses/glibc/LICENSES
/var/cache/ldconfig
/var/cache/ldconfig/aux-cache
/etc/gai.conf
/etc/ld.so.cache
/etc/ld.so.conf
/etc/ld.so.conf.d
/etc/rpc
/lib64/ld-linux-x86-64.so.2
/lib64/libBrokenLocale.so.1
/lib64/libanl.so.1
/lib64/libc.so.6
/lib64/libc_malloc_debug.so.0
/lib64/libdl.so.2
/lib64/libm.so.6
/lib64/libmvec.so.1
/lib64/libnss_compat.so.2
/lib64/libnss_dns.so.2
/lib64/libnss_files.so.2
/lib64/libpthread.so.0
/lib64/libresolv.so.2
/lib64/librt.so.1
/lib64/libthread_db.so.1
/lib64/libutil.so.1
/sbin/ldconfig
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/36c76c083b537fcb11875d0c56960d60a621ab
/usr/lib/.build-id/12/36c76c083b537fcb11875d0c56960d60a621ab.1
/usr/lib/.build-id/12/36c76c083b537fcb11875d0c56960d60a621ab.2
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/9a78ae532270c4b620931ca973a87691e023cf
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/dcf110433c1a911219267baae762fa4bb05ac5
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/8a0d4e07c8009dc63ff99ee15daeecf062ff32
/usr/lib/.build-id/43
/usr/lib/.build-id/43/c9da5a93915c4c82ccea8b94a884417914f5ec
/usr/lib/.build-id/49
/usr/lib/.build-id/49/630ce73c5689300adbd1cad61f50698a30d335
/usr/lib/.build-id/54
/usr/lib/.build-id/54/a6454ec23320525993abec3a44db244bdfb953
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/015c66aa064ac1da505aeb3e5789823c89050c
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/92bcd11b7b557ded0b4e13c85968c92a4adc88
/usr/lib/.build-id/64
/usr/lib/.build-id/64/6ba1558ba93b1f06c1bfee19fb51964bb3a14a
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/81a83c015cb75dc06e3d4523e73a8d6a8dcd15
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/42f3095d0bfd3b4d35a36136542c2ee95dfbcf
/usr/lib/.build-id/85
/usr/lib/.build-id/85/70770a87215d511f793aa6c4cee62bd01bc8c3
/usr/lib/.build-id/90
/usr/lib/.build-id/90/cbd7db7aa2f9c12b739a7326a2d4e75d9241e6
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/90ea4e9a0d08b2ed6fe98dd45d5096386dd47b
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/c1c5ef873ecead7b4e4a2d02f7d886745a8634
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/07e1c7483a64594e91a3973a62dd4f89e26508
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/130c0814f833aac29668f0f1887e7bb89231b2
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/1325f0695072cbdff7cb38faa4236c6ba16b58
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/25081b63ad525eeeab776be87e22d60a9a9c55
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/5a3bf1b089ca015c69c4ee67231535dfa28729
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/e0a6eb488da21e08a4b9a125dfdcd41adb9654
/usr/lib/.build-id/da
/usr/lib/.build-id/da/1a7031425c7e8a4febaa1adf5505052c02b247
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/a43dcb33b7e9c0f7c89f78a15be46fc9d5af0f
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/abeff63a72feb14e78e256fc875e743efe2fe9
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3d6146c7b205bb43c12bbee29a28b1ad750c7d
/usr/lib/.build-id/ea/4358cc9722d02e6e0541e929dc8c4999eceb4e
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/342556bf45eff6e772e84c1637164b1f469301
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/94e5bed38a110486140d59d37eca8f48984ac5
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/7875011fbc44377b3f9b2e727f210a52bc216b
/usr/lib64/audit
/usr/lib64/audit/sotruss-lib.so
/usr/lib64/gconv
/usr/lib64/gconv/ANSI_X3.110.so
/usr/lib64/gconv/CP1252.so
/usr/lib64/gconv/ISO8859-1.so
/usr/lib64/gconv/ISO8859-15.so
/usr/lib64/gconv/UNICODE.so
/usr/lib64/gconv/UTF-16.so
/usr/lib64/gconv/UTF-32.so
/usr/lib64/gconv/UTF-7.so
/usr/lib64/gconv/gconv-modules
/usr/lib64/gconv/gconv-modules.cache
/usr/lib64/gconv/gconv-modules.d
/usr/lib64/libmemusage.so
/usr/lib64/libpcprofile.so
/usr/libexec/getconf
/usr/libexec/getconf/POSIX_V6_LP64_OFF64
/usr/libexec/getconf/POSIX_V7_LP64_OFF64
/usr/libexec/getconf/XBS5_LP64_OFF64
/usr/sbin/iconvconfig
/usr/share/licenses/glibc
/usr/share/licenses/glibc/COPYING
/usr/share/licenses/glibc/COPYING.LIB
/usr/share/licenses/glibc/LICENSES
/var/cache/ldconfig
/var/cache/ldconfig/aux-cache

References

Summary

In this tutorial we learn how to install glibc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).