How To Install fontconfig on Fedora 36

In this tutorial we learn how to install fontconfig in Fedora 36. fontconfig is Font configuration and customization library

Introduction

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

What is fontconfig

Fontconfig is designed to locate fonts within the system and select them according to requirements specified by applications.

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

Install fontconfig 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 fontconfig using dnf by running the following command:

sudo dnf -y install fontconfig

Install fontconfig 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 fontconfig using yum by running the following command:

sudo yum -y install fontconfig

How To Uninstall fontconfig on Fedora 36

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

sudo dnf remove fontconfig

fontconfig Package Contents on Fedora 36

/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/11-lcdfilter-default.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/25-no-bitmap-fedora.conf
/etc/fonts/conf.d/25-unhint-nonlatin.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/48-spacing.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/90-synthetic.conf
/etc/fonts/conf.d/README
/etc/fonts/fonts.conf
/usr/bin/fc-cache
/usr/bin/fc-cache-32
/usr/bin/fc-cat
/usr/bin/fc-conflist
/usr/bin/fc-list
/usr/bin/fc-match
/usr/bin/fc-pattern
/usr/bin/fc-query
/usr/bin/fc-scan
/usr/bin/fc-validate
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/43c4a537fe4c8c63bc0dd213d8b3b49dda2e84
/usr/lib/.build-id/30
/usr/lib/.build-id/30/ceb36bd470c9de7cb5b54186612718f83ef7c8
/usr/lib/.build-id/42
/usr/lib/.build-id/42/08fcf6a0c844781fea81db1f2d5df4db6ab197
/usr/lib/.build-id/62
/usr/lib/.build-id/62/dba523f3a2145f2c70c04273d7a53aa219170d
/usr/lib/.build-id/80
/usr/lib/.build-id/80/007d0557cdae823ba9013a84c9781bdae64c39
/usr/lib/.build-id/81
/usr/lib/.build-id/81/61c2bc1d62a746ffeea23c280ee9528c37ecef
/usr/lib/.build-id/91
/usr/lib/.build-id/91/a13bdba5710f35bb2b1e417ef349935a721968
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/5aeb77a386be26b59f5056faf518cbc6c34782
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/d8af2b6f1a4c60bb3ff57a489fc5acf63d32d4
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/9727b4e241f52ed80b3668d56f2c06f67d4a18
/usr/lib/fontconfig/cache
/usr/lib/libfontconfig.so.1
/usr/lib/libfontconfig.so.1.12.0
/usr/share/doc/fontconfig
/usr/share/doc/fontconfig/AUTHORS
/usr/share/doc/fontconfig/README
/usr/share/doc/fontconfig/fontconfig-user.html
/usr/share/doc/fontconfig/fontconfig-user.txt
/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf
/usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf
/usr/share/fontconfig/conf.avail/10-autohint.conf
/usr/share/fontconfig/conf.avail/10-hinting-full.conf
/usr/share/fontconfig/conf.avail/10-hinting-medium.conf
/usr/share/fontconfig/conf.avail/10-hinting-none.conf
/usr/share/fontconfig/conf.avail/10-hinting-slight.conf
/usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf
/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
/usr/share/fontconfig/conf.avail/10-unhinted.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf
/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf
/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
/usr/share/fontconfig/conf.avail/30-metric-aliases.conf
/usr/share/fontconfig/conf.avail/35-lang-normalize.conf
/usr/share/fontconfig/conf.avail/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.conf
/usr/share/fontconfig/conf.avail/48-spacing.conf
/usr/share/fontconfig/conf.avail/49-sansserif.conf
/usr/share/fontconfig/conf.avail/50-user.conf
/usr/share/fontconfig/conf.avail/51-local.conf
/usr/share/fontconfig/conf.avail/60-generic.conf
/usr/share/fontconfig/conf.avail/60-latin.conf
/usr/share/fontconfig/conf.avail/65-fonts-persian.conf
/usr/share/fontconfig/conf.avail/65-khmer.conf
/usr/share/fontconfig/conf.avail/65-nonlatin.conf
/usr/share/fontconfig/conf.avail/69-unifont.conf
/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
/usr/share/fontconfig/conf.avail/80-delicious.conf
/usr/share/fontconfig/conf.avail/90-synthetic.conf
/usr/share/licenses/fontconfig
/usr/share/licenses/fontconfig/COPYING
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
/usr/share/man/man1/fc-cache-32.1.gz
/usr/share/man/man1/fc-cache.1.gz
/usr/share/man/man1/fc-cat.1.gz
/usr/share/man/man1/fc-conflist.1.gz
/usr/share/man/man1/fc-list.1.gz
/usr/share/man/man1/fc-match.1.gz
/usr/share/man/man1/fc-pattern.1.gz
/usr/share/man/man1/fc-query.1.gz
/usr/share/man/man1/fc-scan.1.gz
/usr/share/man/man1/fc-validate.1.gz
/usr/share/man/man5/fonts-conf.5.gz
/usr/share/xml/fontconfig
/usr/share/xml/fontconfig/fonts.dtd

References

Summary

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


title: “How To Install fontconfig on Fedora 36” linkTitle: “fontconfig” type: “docs” description: “In this tutorial we learn how to install fontconfig in Fedora 36. fontconfig is Font configuration and customization library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/fontconfig-featured.png

Introduction

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

What is fontconfig

Fontconfig is designed to locate fonts within the system and select them according to requirements specified by applications.

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

Install fontconfig 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 fontconfig using dnf by running the following command:

sudo dnf -y install fontconfig

Install fontconfig 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 fontconfig using yum by running the following command:

sudo yum -y install fontconfig

How To Uninstall fontconfig on Fedora 36

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

sudo dnf remove fontconfig

fontconfig Package Contents on Fedora 36

/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/11-lcdfilter-default.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/25-no-bitmap-fedora.conf
/etc/fonts/conf.d/25-unhint-nonlatin.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/48-spacing.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/90-synthetic.conf
/etc/fonts/conf.d/README
/etc/fonts/fonts.conf
/usr/bin/fc-cache
/usr/bin/fc-cache-64
/usr/bin/fc-cat
/usr/bin/fc-conflist
/usr/bin/fc-list
/usr/bin/fc-match
/usr/bin/fc-pattern
/usr/bin/fc-query
/usr/bin/fc-scan
/usr/bin/fc-validate
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/0a9ed51d84534a424fb07571ae1dc426078327
/usr/lib/.build-id/19
/usr/lib/.build-id/19/bec8ab2ce186adb78a97d39c495d484aa1e427
/usr/lib/.build-id/53
/usr/lib/.build-id/53/b9149edd4fbc22873b74ef984d0ab721f9f27f
/usr/lib/.build-id/58
/usr/lib/.build-id/58/bbfb0acf53fe1b290712b20c6c948bdbf34551
/usr/lib/.build-id/81
/usr/lib/.build-id/81/6212ea36ff17920dc30c3ed04a37008f61c089
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/2189475f74f2d2051411c6dee10975c9ddd3c0
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/7c0d0a9d8758d3cfb1de43d863d7af5f23c837
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/0826f32cabecf84d5efc31f87c8bb1a32b4657
/usr/lib/.build-id/de
/usr/lib/.build-id/de/0e0f358d43888fd4300ede4476aa40b2f6aeb4
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/89dc8ceb485c78bf7ff9bbe0c5a5a2c446f72c
/usr/lib/fontconfig/cache
/usr/lib64/libfontconfig.so.1
/usr/lib64/libfontconfig.so.1.12.0
/usr/share/doc/fontconfig
/usr/share/doc/fontconfig/AUTHORS
/usr/share/doc/fontconfig/README
/usr/share/doc/fontconfig/fontconfig-user.html
/usr/share/doc/fontconfig/fontconfig-user.txt
/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf
/usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf
/usr/share/fontconfig/conf.avail/10-autohint.conf
/usr/share/fontconfig/conf.avail/10-hinting-full.conf
/usr/share/fontconfig/conf.avail/10-hinting-medium.conf
/usr/share/fontconfig/conf.avail/10-hinting-none.conf
/usr/share/fontconfig/conf.avail/10-hinting-slight.conf
/usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf
/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
/usr/share/fontconfig/conf.avail/10-unhinted.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf
/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf
/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
/usr/share/fontconfig/conf.avail/30-metric-aliases.conf
/usr/share/fontconfig/conf.avail/35-lang-normalize.conf
/usr/share/fontconfig/conf.avail/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.conf
/usr/share/fontconfig/conf.avail/48-spacing.conf
/usr/share/fontconfig/conf.avail/49-sansserif.conf
/usr/share/fontconfig/conf.avail/50-user.conf
/usr/share/fontconfig/conf.avail/51-local.conf
/usr/share/fontconfig/conf.avail/60-generic.conf
/usr/share/fontconfig/conf.avail/60-latin.conf
/usr/share/fontconfig/conf.avail/65-fonts-persian.conf
/usr/share/fontconfig/conf.avail/65-khmer.conf
/usr/share/fontconfig/conf.avail/65-nonlatin.conf
/usr/share/fontconfig/conf.avail/69-unifont.conf
/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
/usr/share/fontconfig/conf.avail/80-delicious.conf
/usr/share/fontconfig/conf.avail/90-synthetic.conf
/usr/share/licenses/fontconfig
/usr/share/licenses/fontconfig/COPYING
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
/usr/share/man/man1/fc-cache-64.1.gz
/usr/share/man/man1/fc-cache.1.gz
/usr/share/man/man1/fc-cat.1.gz
/usr/share/man/man1/fc-conflist.1.gz
/usr/share/man/man1/fc-list.1.gz
/usr/share/man/man1/fc-match.1.gz
/usr/share/man/man1/fc-pattern.1.gz
/usr/share/man/man1/fc-query.1.gz
/usr/share/man/man1/fc-scan.1.gz
/usr/share/man/man1/fc-validate.1.gz
/usr/share/man/man5/fonts-conf.5.gz
/usr/share/xml/fontconfig
/usr/share/xml/fontconfig/fonts.dtd

References

Summary

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