How To Install libmpeg2 on Fedora 34

libmpeg2 is MPEG-2 decoder libraries MPEG-2 decoder libraries

Introduction

In this tutorial we learn how to install libmpeg2 on Fedora 34.

What is libmpeg2

libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. It is released under the terms of the GPL license. libmpeg2 0.5.1 22.fc34 x86_64 75 k libmpeg2-0.5.1-22.fc34.src.rpm fedora MPEG-2 decoder libraries http GPLv2+ libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. It is released under the terms of the GPL license.

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

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

sudo dnf -y install libmpeg2

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

sudo yum -y install libmpeg2

How To Uninstall libmpeg2 on Fedora 34

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

sudo dnf remove libmpeg2

libmpeg2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/e6e4739e85fe10dff374b4ac283e616d01630c
/usr/lib/.build-id/90
/usr/lib/.build-id/90/51b7d8e8ac1c3396c1c94dbd60f142367e5287
/usr/lib64/libmpeg2.so.0
/usr/lib64/libmpeg2.so.0.1.0
/usr/lib64/libmpeg2convert.so.0
/usr/lib64/libmpeg2convert.so.0.0.0
/usr/share/doc/libmpeg2
/usr/share/doc/libmpeg2/AUTHORS
/usr/share/doc/libmpeg2/ChangeLog
/usr/share/doc/libmpeg2/NEWS
/usr/share/doc/libmpeg2/README
/usr/share/doc/libmpeg2/TODO
/usr/share/licenses/libmpeg2
/usr/share/licenses/libmpeg2/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/6744ae3d7c4cdfe86c2f0fb1175cd418c0d0ed
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/d23dbfb4cb7b7862f857a4b9e86aab3e3dc2bb
/usr/lib/libmpeg2.so.0
/usr/lib/libmpeg2.so.0.1.0
/usr/lib/libmpeg2convert.so.0
/usr/lib/libmpeg2convert.so.0.0.0
/usr/share/doc/libmpeg2
/usr/share/doc/libmpeg2/AUTHORS
/usr/share/doc/libmpeg2/ChangeLog
/usr/share/doc/libmpeg2/NEWS
/usr/share/doc/libmpeg2/README
/usr/share/doc/libmpeg2/TODO
/usr/share/licenses/libmpeg2
/usr/share/licenses/libmpeg2/COPYING

References

Summary

In this tutorial we learn how to install libmpeg2 on Fedora 34 using yum and dnf.