Instructions
Go to the GMAMEUI SourceForge download page in the Linux Web browser, and download the package. When asked for a download location, specify your root user folder.
Open the Terminal in your Linux distribution, on your PS3.
Type "tar xzvf GMAMEUI.tar.gz" ensuring you replace "GMAMEUI" with the file name. Press "Enter," then change directory to that folder.
Type "./configure" and press "Enter." Then type "make" and press "Enter." Type "make install" and press "Enter." Close the Terminal, and open the GMAMEUI application from your Applications menu.
Click "File," then "Add." Locate and select your MAME ROM, to play the game.