How To Install fontconfig on Rocky Linux 8
Introduction
In this tutorial we learn how to install fontconfig
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fontconfig.
Install fontconfig on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the fontconfig
package we can use the following command:
sudo dnf remove fontconfig
fontconfig Package Contents on Rocky Linux 8
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/20-unhint-small-vera.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/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/22
/usr/lib/.build-id/22/8d410ee145ce2db4cbbf0d5f7e182d0f760743
/usr/lib/.build-id/25
/usr/lib/.build-id/25/2f94dc57a8cc323fe9fd6315cf3057cba9438b
/usr/lib/.build-id/32
/usr/lib/.build-id/32/422ce1589f0e88244afc43320ac4fad1f2c594
/usr/lib/.build-id/55
/usr/lib/.build-id/55/b9a9e55087ce0e92f1d5b83cad9756d4cf1bb6
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/13f2d08d7a926f51c5381b6abef78cd1f18c9c
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/c024d7c57cd798ad7898a4c3889a3fcf3377ce
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/23b5fd903fd4595a51fc77fea0351d993365bc
/usr/lib/.build-id/84
/usr/lib/.build-id/84/956d18fb17a436919363e38a1eafd6d99dce23
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/2c08d6ab13116961ffcd8519827abbd51064a2
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/3de507bbb3347858cac7350adf5e32800da28f
/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/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/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.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.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
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/20-unhint-small-vera.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/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/00
/usr/lib/.build-id/00/18fd892aea5c7d56eae79686fc01e64d91614f
/usr/lib/.build-id/38
/usr/lib/.build-id/38/6c8dbf2604ca3dc6bad524648420db2dc70342
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5801c80cbb431b6e2086f80c56c7ab42cc7d9a
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/d9727fd2e8aef8101c83fa79b1a548902f479a
/usr/lib/.build-id/71
/usr/lib/.build-id/71/bac370ad1f5b30a1d2c21b16afee4d1a8e2ad5
/usr/lib/.build-id/86
/usr/lib/.build-id/86/d5fa6eb6be79eba2438b708fe34c9e7e047038
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/99530b297fb6fcb202b3602e3e9261e1344f12
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/87fbc6f9b687fca3fcd710d8faf60919c3209d
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/c49396cebd6d0bb8f4517e30b53055c3173a2d
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/65d23c11a1fde82b9833848654b20a016bb29c
/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/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/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.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.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 Rocky Linux 8 using yum and dnf.