How To Install libEMF on Rocky Linux 8
Introduction
In this tutorial we learn how to install libEMF on Rocky Linux 8.
What is libEMF
libEMF is a library for generating Enhanced Metafiles on systems which don’t natively support the ECMA-234 Graphics Device Interface (GDI). The library is intended to be used as a driver for other graphics programs such as Grace or gnuplot. Therefore, it implements a very limited subset of the GDI.
We can use yum or dnf to install libEMF on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libEMF.
Install libEMF 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 libEMF using dnf by running the following command:
sudo dnf -y install libEMF
Install libEMF 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 libEMF using yum by running the following command:
sudo yum -y install libEMF
How To Uninstall libEMF on Rocky Linux 8
To uninstall only the libEMF package we can use the following command:
sudo dnf remove libEMF
libEMF Package Contents on Rocky Linux 8
/usr/bin/printemf
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/f6a9c90787ecd02a5ea43d7bfe6f43f44b1f4f
/usr/lib/.build-id/65
/usr/lib/.build-id/65/b48b3ebe70ed777bda48f8addd80b0c74d910b
/usr/lib/libEMF.so.1
/usr/lib/libEMF.so.1.0.0
/usr/share/doc/libEMF
/usr/share/doc/libEMF/AUTHORS
/usr/share/doc/libEMF/ChangeLog
/usr/share/doc/libEMF/NEWS
/usr/share/doc/libEMF/README
/usr/share/licenses/libEMF
/usr/share/licenses/libEMF/COPYING
/usr/share/licenses/libEMF/COPYING.LIB
/usr/bin/printemf
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/441105c9eb378d75c151d9487a9e220f2ca29f
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/c681c895ece32072003a09b18a8b17d2cfaf0e
/usr/lib64/libEMF.so.1
/usr/lib64/libEMF.so.1.0.0
/usr/share/doc/libEMF
/usr/share/doc/libEMF/AUTHORS
/usr/share/doc/libEMF/ChangeLog
/usr/share/doc/libEMF/NEWS
/usr/share/doc/libEMF/README
/usr/share/licenses/libEMF
/usr/share/licenses/libEMF/COPYING
/usr/share/licenses/libEMF/COPYING.LIB
References
Summary
In this tutorial we learn how to install libEMF on Rocky Linux 8 using yum and dnf.