How to Uninstall or Install mame-data Ubuntu 22.04

Updated: October 24, 2022

MAME is a hardware emulator: it faithfully reproduces the behavior of many arcade machines (it is not a simulation). This program is not a game but can directly, through ROM images, run the complete system of these old arcade machines. These ROMs are subject to copyright and it is in most of the cases illegal to use them if you do not own the arcade machine. In this tutorial, I will show you ways to install mame-data Ubuntu 22.04.

Prerequisites to install

  • Operating system: mame-data needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install mame-data on Ubuntu 22.04

Install mame-data Ubuntu 22.04

mame-data 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 that you think is easy and you can follow.

Install mame-data using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install mame-data on your Ubuntu.

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. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install mame-data Ubuntu by executing this command in the terminal.

sudo apt -y install mame-data

Install mame-data using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

After that, you can now install mame-data, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install mame-data Ubuntu by executing this command in the terminal.

sudo aptitude -y install mame-data

Uninstall mame-data on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed mame-data using APT or Aptitude, you could uninstall mame-data on Ubuntu by executing this command

sudo apt remove --auto-remove mame-data

If you want to uninstall mame-data and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge mame-data

Conclusion

In this tutorial, I showed you ways to install mame-data on Ubuntu 22.04 and some ways to uninstall mame-data too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.