How to Install or Uninstall adplay Ubuntu 22.04

Updated: August 31, 2022

AdPlay is AdPlug’s console-based frontend. AdPlug is a free, universal OPL2 audio playback library. AdPlay/UNIX supports the full range of AdPlug’s file format playback features. Despite this, at the moment, only emulated OPL2 output is supported by AdPlay, but this on a wide range of output devices. In this tutorial, I will show you ways to install adplay Ubuntu 22.04.

Software Requirement

  • OS: adplay needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install adplay on Ubuntu 22.04

Install adplay Ubuntu 22.04

adplay is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install adplay using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get adplay on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install adplay Ubuntu by executing this command in the terminal.

sudo apt-get -y install adplay

Install adplay using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After that, you can now install adplay by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install adplay Ubuntu by executing this command in the terminal.

sudo aptitude -y install adplay

Uninstall adplay on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a adplay, can be easily uninstalled by anyone.

You can uninstall adplay Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove adplay

If you want to uninstall adplay and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge adplay

Ending

In this guide, I showed you ways to install adplay on Ubuntu 22.04 and some ways to uninstall adplay too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.