How To Install libmpeg2-devel on Fedora 36

In this tutorial we learn how to install libmpeg2-devel in Fedora 36. libmpeg2-devel is Development files for libmpeg2

Introduction

In this tutorial we learn how to install libmpeg2-devel on Fedora 36.

What is libmpeg2-devel

The libmpeg2-devel package contains libraries and header files for developing applications that use libmpeg2.

We can use yum or dnf to install libmpeg2-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmpeg2-devel.

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

sudo dnf -y install libmpeg2-devel

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

sudo yum -y install libmpeg2-devel

How To Uninstall libmpeg2-devel on Fedora 36

To uninstall only the libmpeg2-devel package we can use the following command:

sudo dnf remove libmpeg2-devel

libmpeg2-devel Package Contents on Fedora 36

---
title: "How To Install libmpeg2-devel on Fedora 36"
linkTitle: "libmpeg2-devel"
type: "docs"
description: "In this tutorial we learn how to install libmpeg2-devel in Fedora 36. libmpeg2-devel is Development files for libmpeg2"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libmpeg2-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `libmpeg2-devel` on Fedora 36.

### What is `libmpeg2-devel`

> The libmpeg2-devel package contains libraries and header files for developing applications that use libmpeg2.  

We can use `yum` or `dnf` to install `libmpeg2-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmpeg2-devel.

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

sudo dnf -y install libmpeg2-devel

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

sudo yum -y install libmpeg2-devel

How To Uninstall libmpeg2-devel on Fedora 36

To uninstall only the libmpeg2-devel package we can use the following command:

sudo dnf remove libmpeg2-devel

libmpeg2-devel Package Contents on Fedora 36

/usr/include/mpeg2dec
/usr/include/mpeg2dec/mpeg2.h
/usr/include/mpeg2dec/mpeg2_internal.h
/usr/include/mpeg2dec/mpeg2convert.h
/usr/lib64/libmpeg2.so
/usr/lib64/libmpeg2convert.so
/usr/lib64/pkgconfig/libmpeg2.pc
/usr/lib64/pkgconfig/libmpeg2convert.pc
/usr/share/doc/libmpeg2-devel
/usr/share/doc/libmpeg2-devel/CodingStyle
/usr/share/doc/libmpeg2-devel/libmpeg2.txt
/usr/share/doc/libmpeg2-devel/sample1.c
/usr/share/doc/libmpeg2-devel/sample2.c
/usr/share/doc/libmpeg2-devel/sample3.c
/usr/share/doc/libmpeg2-devel/sample4.c
/usr/share/doc/libmpeg2-devel/sample5.c
/usr/share/doc/libmpeg2-devel/sample6.c

References

Summary

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

/usr/include/mpeg2dec /usr/include/mpeg2dec/mpeg2.h /usr/include/mpeg2dec/mpeg2_internal.h /usr/include/mpeg2dec/mpeg2convert.h /usr/lib/libmpeg2.so /usr/lib/libmpeg2convert.so /usr/lib/pkgconfig/libmpeg2.pc /usr/lib/pkgconfig/libmpeg2convert.pc /usr/share/doc/libmpeg2-devel /usr/share/doc/libmpeg2-devel/CodingStyle /usr/share/doc/libmpeg2-devel/libmpeg2.txt /usr/share/doc/libmpeg2-devel/sample1.c /usr/share/doc/libmpeg2-devel/sample2.c /usr/share/doc/libmpeg2-devel/sample3.c /usr/share/doc/libmpeg2-devel/sample4.c /usr/share/doc/libmpeg2-devel/sample5.c /usr/share/doc/libmpeg2-devel/sample6.c


## References

* [libmpeg2-devel website](http://libmpeg2.sourceforge.net)

## Summary

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