How To Install libEMF on Fedora 34
Introduction
In this tutorial we learn how to install libEMF
on Fedora 34.
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. libEMF 1.0.13 3.fc34 x86_64 94 k libEMF-1.0.13-3.fc34.src.rpm fedora A library for generating Enhanced Metafiles http LGPLv2+ and GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libEMF.
Install libEMF on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libEMF
using dnf
by running the following command:
sudo dnf -y install libEMF
Install libEMF on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the libEMF
package we can use the following command:
sudo dnf remove libEMF
libEMF Package Contents on Fedora 34
/usr/bin/printemf
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/4d56383923a7585ec1413d8852b5db319d04b3
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/24ed27a17e46df87c565020b5947618c088c6f
/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/3c
/usr/lib/.build-id/3c/50c42610113ce64a9efc82d26fa90e42f3369b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/2bedf2a2c5406ae0185a8c677aeb4ad160f0df
/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
- [libEMF website](http://libemf.sourceforge.net/ http://libemf.sourceforge.net/)
Summary
In this tutorial we learn how to install libEMF
on Fedora 34 using yum and dnf.