How To Install mpeg2dec on Fedora 36

In this tutorial we learn how to install mpeg2dec in Fedora 36. mpeg2dec is MPEG-2 decoder program

Introduction

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

What is mpeg2dec

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

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

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

sudo dnf -y install mpeg2dec

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

sudo yum -y install mpeg2dec

How To Uninstall mpeg2dec on Fedora 36

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

sudo dnf remove mpeg2dec

mpeg2dec Package Contents on Fedora 36

/usr/bin/corrupt_mpeg2
/usr/bin/extract_mpeg2
/usr/bin/mpeg2dec
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/96eb068219dcb45943bb117bbe34e2f3e3c0e9
/usr/lib/.build-id/b4/1a5ce68a1640daa31dfbed38a5d6122301eb72
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/b74c50d7765e92959875b792c158578a03ec9c
/usr/share/man/man1/extract_mpeg2.1.gz
/usr/share/man/man1/mpeg2dec.1.gz

References

Summary

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