Emulation on Fedora

From Emulation General Wiki
Jump to: navigation, search

The following guide explains how to install emulators on Fedora, a distribution of GNU/Linux.

Fedora Website

From Repositories[edit]

Fedora will never have emulators in the official repository, as this is against their software policy. However, a number of them are hosted at RPMFusion's repositories. To install RPMFusion's software repositories, use the following commands as root:

yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

yum --nogpgcheck install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

yum update

The second RPM is where you get proper video drivers for nVidia/AMD cards. Install either "kmod-nvidia" or "kmod-catalyst". The following emulators can be found from the RPMFusion repositories (note that not all packages are fully up-to-date):

Console Emulator
NES Nestopia
SNES bsnes, snes9x, ZSNES
Game Boy Series VBA-M
Nintendo DS DeSmuME
Gamecube, Wii Dolphin

Can't find your emulator in the repository? We get to compile then!

Compiling Emulators[edit]

This could be considered a generic guide for all GNU/Linux distributions, but we will be using Fedora as our base for this tutorial.

First, in order to successfully compile software, libraries are required. You can generally find a list of dependencies with the emulator's source, but often those are listed for Ubuntu. So instead, enjoy this blanket list of programs and libraries to install:

# Compiler Stuff

yum install cmake gcc gcc-c++ scons

# Assorted Libraries

yum install libx86 nasm openal-soft SDL*

# Development Headers

yum install alsa-lib-devel bluez-libs-devel glew-devel glibc-devel.i686 glibmm24-devel gtkglextmm-devel gtkmm-utils-devel libao-devel libglademm24-devel openal-soft-devel portaudio-devel pulseaudio-libs-devel SFML-devel SOIL-devel wxGTK-devel

The reference text for the above list can be found here.

If you want automated emulator compiling, a Mupen64Plus build/update/install package exists here, just run the script for the function you require.

It is highly recommended that you read the scripts/readmes before running these so you understand what is going on.

As for compiling the emulators themselves, you're better off looking at the emulator's website/forum for specific tutorials. Emulator developers like to use a lot of different environments, from basic Makefiles to CMake to SCons to who knows what. The library list above and the automated scripts should help you get started if you're entirely unfamiliar with compiling, though.

If you still want help, feel free to ask in Emulation General.