How To Install fontawesome-fonts-web on CentOS 8

fontawesome-fonts-web is Iconic font set, web files

Introduction

In this tutorial we learn how to install fontawesome-fonts-web on CentOS 8.

What is fontawesome-fonts-web

Font Awesome gives you scalable vector icons that can instantly be customized \u2014 size, color, drop shadow, and anything that can be done with the power of CSS. This package contains CSS, SCSS and LESS style files as well as Web Open Font Format versions 1 and 2, Embedded OpenType and SVG font files which are typically used on the web.

We can use yum or dnf to install fontawesome-fonts-web on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install fontawesome-fonts-web.

Install fontawesome-fonts-web on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install fontawesome-fonts-web using dnf by running the following command:

sudo dnf -y install fontawesome-fonts-web

Install fontawesome-fonts-web on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install fontawesome-fonts-web using yum by running the following command:

sudo yum -y install fontawesome-fonts-web

How To Uninstall fontawesome-fonts-web on CentOS 8

To uninstall only the fontawesome-fonts-web package we can use the following command:

sudo dnf remove fontawesome-fonts-web

fontawesome-fonts-web Package Contents on CentOS 8

/usr/share/font-awesome-web
/usr/share/font-awesome-web/css
/usr/share/font-awesome-web/css/font-awesome.css
/usr/share/font-awesome-web/css/font-awesome.min.css
/usr/share/font-awesome-web/less
/usr/share/font-awesome-web/less/animated.less
/usr/share/font-awesome-web/less/bordered-pulled.less
/usr/share/font-awesome-web/less/core.less
/usr/share/font-awesome-web/less/fixed-width.less
/usr/share/font-awesome-web/less/font-awesome.less
/usr/share/font-awesome-web/less/icons.less
/usr/share/font-awesome-web/less/larger.less
/usr/share/font-awesome-web/less/list.less
/usr/share/font-awesome-web/less/mixins.less
/usr/share/font-awesome-web/less/path.less
/usr/share/font-awesome-web/less/rotated-flipped.less
/usr/share/font-awesome-web/less/screen-reader.less
/usr/share/font-awesome-web/less/stacked.less
/usr/share/font-awesome-web/less/variables.less
/usr/share/font-awesome-web/scss
/usr/share/font-awesome-web/scss/_animated.scss
/usr/share/font-awesome-web/scss/_bordered-pulled.scss
/usr/share/font-awesome-web/scss/_core.scss
/usr/share/font-awesome-web/scss/_fixed-width.scss
/usr/share/font-awesome-web/scss/_icons.scss
/usr/share/font-awesome-web/scss/_larger.scss
/usr/share/font-awesome-web/scss/_list.scss
/usr/share/font-awesome-web/scss/_mixins.scss
/usr/share/font-awesome-web/scss/_path.scss
/usr/share/font-awesome-web/scss/_rotated-flipped.scss
/usr/share/font-awesome-web/scss/_screen-reader.scss
/usr/share/font-awesome-web/scss/_stacked.scss
/usr/share/font-awesome-web/scss/_variables.scss
/usr/share/font-awesome-web/scss/font-awesome.scss
/usr/share/fonts/fontawesome/fontawesome-webfont.eot
/usr/share/fonts/fontawesome/fontawesome-webfont.svg
/usr/share/fonts/fontawesome/fontawesome-webfont.woff
/usr/share/fonts/fontawesome/fontawesome-webfont.woff2

References

Summary

In this tutorial we learn how to install fontawesome-fonts-web on CentOS 8 using yum and dnf.