How To Install adplug on CentOS 7

In this tutorial we learn how to install adplug on CentOS 7. adplug is Software library for AdLib (OPL2/3) emulation

Introduction

In this tutorial we learn how to install adplug on CentOS 7.

What is adplug

AdPlug is a free software, cross-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2/3) audio board, directly from its original format on top of an OPL2/3 emulator or by using the real hardware. No OPL2/3 chips are required for playback.

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

Install adplug on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install adplug using yum by running the following command:

sudo yum -y install adplug

Install adplug on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install adplug using dnf by running the following command:

sudo dnf -y install adplug

How To Uninstall adplug on CentOS 7

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

sudo dnf remove adplug

References

Summary

In this tutorial we learn how to install adplug on CentOS 7 using yum and dnf.