How To Install libwmf on CentOS 8

libwmf is Windows MetaFile Library Windows MetaFile Library

Introduction

In this tutorial we learn how to install libwmf on CentOS 8.

What is libwmf

A library for reading and converting Windows MetaFile vector graphics (WMF). libwmf 0.2.9 8.el8_0 x86_64 143 k libwmf-0.2.9-8.el8_0.src.rpm appstream Windows MetaFile Library https LGPLv2+ and GPLv2+ and GPL+ A library for reading and converting Windows MetaFile vector graphics (WMF).

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

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

sudo dnf -y install libwmf

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

sudo yum -y install libwmf

How To Uninstall libwmf on CentOS 8

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

sudo dnf remove libwmf

libwmf Package Contents on CentOS 8

/usr/bin/libwmf-fontmap
/usr/bin/wmf2eps
/usr/bin/wmf2fig
/usr/bin/wmf2gd
/usr/bin/wmf2svg
/usr/bin/wmf2x
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/b3f77f725bfcbf00928e33a8a4cd88d40b1238
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/73320050dd4dd228d6eb42b98515695556e036
/usr/lib/.build-id/54
/usr/lib/.build-id/54/4fa0772fe38bb31c8be19a5e4afde8b572bd9b
/usr/lib/.build-id/60
/usr/lib/.build-id/60/6cb45a8e974a9e0f24f215d8c1729ecfc56131
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/5697f5d47adb1bca688b4e34620108eaa2eeea
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/4356023586adba4888884a351332b0d93290bf
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/760f0ace8a9d5f9b663836492968d667d0826f
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so
/usr/lib64/libwmf-0.2.so.7
/usr/lib64/libwmf-0.2.so.7.1.1
/usr/share/libwmf
/usr/share/libwmf/fonts
/usr/share/libwmf/fonts/fontmap
/usr/bin/libwmf-fontmap
/usr/bin/wmf2eps
/usr/bin/wmf2fig
/usr/bin/wmf2gd
/usr/bin/wmf2svg
/usr/bin/wmf2x
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/4ea5ffd06a283c6816bf229e2e6d6499c18c82
/usr/lib/.build-id/65
/usr/lib/.build-id/65/eeb4ff27d8fed7654e6bbed448630aeb91ead8
/usr/lib/.build-id/68
/usr/lib/.build-id/68/364d95a99d4ed6dc24b9a39db09545fa7a481f
/usr/lib/.build-id/70
/usr/lib/.build-id/70/de62a3849697d3f3cf93c98bd08b941b37b200
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/f532a39b37bb468994b31782e58e6dba9dd70f
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/b2f4f10969966a3f03631ed4c4ca52d250ac4b
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/78561f06635ed9506f58d98f49adce573895b6
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so
/usr/lib/libwmf-0.2.so.7
/usr/lib/libwmf-0.2.so.7.1.1
/usr/share/libwmf
/usr/share/libwmf/fonts
/usr/share/libwmf/fonts/fontmap

References

Summary

In this tutorial we learn how to install libwmf on CentOS 8 using yum and dnf.