How To Install libEMF on Fedora 36

In this tutorial we learn how to install libEMF in Fedora 36. libEMF is A library for generating Enhanced Metafiles

Introduction

In this tutorial we learn how to install libEMF on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libEMF.

Install libEMF on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove libEMF

libEMF Package Contents on Fedora 36

---
title: "How To Install libEMF on Fedora 36"
linkTitle: "libEMF"
type: "docs"
description: "In this tutorial we learn how to install libEMF in Fedora 36. libEMF is A library for generating Enhanced Metafiles"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libEMF-featured.png
---

## Introduction

In this tutorial we learn how to install `libEMF` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libEMF.

## Install libEMF on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove libEMF

libEMF Package Contents on Fedora 36

/usr/bin/printemf
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/d7046ff327753ca880111b29a79907374223c9
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/b5bf51cae47d17949b33a361a093b677a5b7ad
/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

References

Summary

In this tutorial we learn how to install libEMF on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/bin/printemf /usr/lib/.build-id /usr/lib/.build-id/4a /usr/lib/.build-id/4a/0e127c99eb8604d3d688d169375f4e79848f1f /usr/lib/.build-id/87 /usr/lib/.build-id/87/3545b63006573161688ac8969ad9ecba715ab4 /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/)

## Summary

In this tutorial we learn how to install `libEMF` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).