Editing Emulation on Ubuntu

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
==THE GNU/LINUX GUIDE OF EMULATION: *buntu Edition==
 
==THE GNU/LINUX GUIDE OF EMULATION: *buntu Edition==
__NOTOC__
 
:<small>'''''Important!''' Like the title says, this guide covers Ubuntu and its derivatives. While you may have lesser or equal success with distributions that use APT (Ubuntu's packaging tool), where there could be relevant information in your case, this guide is not to be used for distributions that use Pacman or YUM. We can't guarantee that repositories here will work with Debian and Ubuntu-based Puppy (like Tahr), but we're not saying it's not possible. Give it a try, and it could work if you know what you're doing. However, distributions like Arch and Fedora use ''completely'' different packaging tools, and <u>thus are obviously guaranteed not to work.</u> Don't give up, though; you can find the same emulators for your distribution somewhere else, either in their official or user-curated repos or by compiling them from source.''</small>
 
 
===Info for newfriends===
 
===Info for newfriends===
Possibly the biggest difference between Windows and Ubuntu (and perhaps, GNU/Linux in general) is the way that programs are handled. On Windows, getting software requires the developer to package an installer (or a portable build for flash drives and the like) that you have to get from their website. They may also have to bundle dependencies (like the Visual C++ Runtime) or link you to their location if a license prevents that. If your software is closer to open-source, this is very different; either they have a repository that holds their own packages, someone has set one up for them, or they integrate their packages in the defaults (although this is very rare).
+
A big difference between Windows and GNU/Linux is that when you want to install a program on Linux you don't have to go to the site, download an installer and install it (except in some specific cases).
  
These "repositories" can be thought of like app stores. You use a package manager (either graphically or terminally) to search for programs in the repositories, from which you can install, update and uninstall them. It's really cool.
+
There's something called repositories, which are like "app stores". You use a package manager to search for programs in the repositories, install them, update them and uninstall them.
  
Your Linux distribution comes with repositories already configured so you can get a lot of the main programs immediately, but there are risks with the emulators in particular; repositories aren't focused on having every emulator, and in many cases when they do, they don't have newer versions. This isn't necessarily their fault though; especially with bigger distributions, repositories can be stuffed with ''loads'' of software that gets constant updates, so to get them tested and updated takes quite a bit of time. Rather than using the defaults, we'll add more repositories made by users or developers themselves that contain the latest versions of these emulators. Once these repositories are added, you will be able to install the emulators like with any other program and update them with the rest of your machine.
+
Your Linux distribution comes with their official repositories already configured so you can get programs for there, but they don't always have every good emulator, and most of the time if they have it it's an old version. So what we are going to do is add more repositories that have up-to-date emulators. Once these repositories are added you will be able to install the emulators like with any other program and update them with the rest of your programs.
  
While this can seem exciting, keep in mind that some emulators aren't available on repositories, and many good ones aren't on Linux at all, so you may need to use different methods to get them. But don't worry; this will be explained later.
+
All this is cool, but there will be some emulators that you won't find on repositories, so you'll have to use different methods to get them, but don't worry, I'll explain it later.
 +
===IMPORTANT!===
 +
This guide is focused on *buntu distros like Ubuntu, Xubuntu, Kubuntu, Lubuntu, and other Ubuntu derivatives such as Linux Mint. Repositories shown here WILL NOT work on other distros (Debian, Arch, Fedora etc), but you can find the same emulators for your distro somewhere else, either in their own repos (either official or unofficial) or by compiling them.
  
===Adding new repositories===
+
===How to add the repositories===
:<small>''Note: If you ever rely on a tutorial that says to type <code>apt-get</code>, you can use <code>apt</code> instead. There generally isn't a difference.''</small>
+
To add this repos you will have to run the next command on a terminal:
:<small>''Another note: Pay attention to where <code>sudo</code> is used. That's the equivalent to running a Windows program as an administrator. If you're ever suspicious about any command you're told to type, you can type <code>man (command)</code> <sup>short for manual</sup> and it will tell you what that program does. E.g. <code>man apt</code> will tell you what apt does. To quit the documentation, just press q.''</small>
 
====Terminal====
 
To add a new repository from the terminal, just type in this command:
 
 
  sudo add-apt-repository ppa:user/ppa-name
 
  sudo add-apt-repository ppa:user/ppa-name
...where the <code>ppa:user/ppa-name</code> are the ones you'll find in the table for the repository you want to add. After you add all the repos you want, you'll run the next command to tell apt to refresh the list:
+
...where the ppa:user/ppa-name are the ones you'll find in the table for the repository you want to add. After you add all the repos you want you'll have to run the next command to update the packages database:
  sudo apt update
+
  sudo apt-get update
 
Once that's done you will have all the packages from those repos available to install.
 
Once that's done you will have all the packages from those repos available to install.
====Graphical====
+
===How to install, update and uninstall emulators after the repos are added===
To add a new repository from the GUI, install synaptic (or make sure it's installed) by typing in this command from the terminal:
+
For this task I recommend you to install Synaptic. That program will be a lot of help. Once you have it installed you can choose to organize packages by source and see all the repos you have available. See what emulators each of the repos you added has and install the emulators you want.
sudo apt install synaptic
 
 
 
This program will be a lot of help. Once you have it installed you can choose to organize packages by source and see all the repos you already have available.
 
 
 
Select Settings > Repositories, and from the new window, select Other Software > Add...
 
 
 
deb <nowiki>http://ppa.launchpad.net/</nowiki><u>ppa:user/ppa-name</u>/ubuntu <u>xenial</u> main
 
 
 
Where instead of <u>xenial</u> for 16.04, you type <u>trusty</u> for 14.04, <u>bionic</u> for 18.04, and <u>cosmic</u> for 18.10.
 
 
 
You can then see what emulators you have with each repos, and can now install the ones you want.
 
 
 
 
===Repositories List===
 
===Repositories List===
The "Type" column categorizes repositories by update frequency. Software in the Testing branches usually get updates as often as possible (even daily), while software in the Stable branches are only as recent as the versions are, and usually get updates between a few months. There are also several Abandoned PPAs which can be used only on older Ubuntu releases.
+
The "Type" column describes how often the emulators are updated on these repositories. Testing repositories usually get updates quite often (some have daily updates) while Stable repositories usually get updates after a few months gap<!-- , and Abandoned repositories are, well, abandoned -->.
  
If the desired emulator isn't found here, you can find more repositories by searching around for "(emulator) launchpad ppa". Check that they have packages for your Ubuntu version (they usually go by the version's name), as some PPAs can be abandoned.
 
  
{| class="wikitable" width="100%"
+
{| class="wikitable"
 
|-
 
|-
! scope="col"|Emulator/Project
+
! scope="col"|Emulators it has
 
! scope="col"|ppa:user/ppa-name
 
! scope="col"|ppa:user/ppa-name
 
! scope="col"|Type
 
! scope="col"|Type
 
! scope="col"|Latest Emulator Version
 
! scope="col"|Latest Emulator Version
 
! scope="col"|Supported Ubuntu Versions
 
! scope="col"|Supported Ubuntu Versions
! scope="col"|ARM<ref group=N>These repositories have packages compiled for ARM architectures, and could work with HP Hardfloat, odroid, Raspberry Pi 2, etc.</ref>
 
 
|-
 
|-
|rowspan="2"|[[RetroArch]]<br/>(libretro)
+
|rowspan="2"|[[RetroArch]]
 
|[https://launchpad.net/~libretro/+archive/ubuntu/testing ppa:libretro/testing]
 
|[https://launchpad.net/~libretro/+archive/ubuntu/testing ppa:libretro/testing]
 
|Testing
 
|Testing
|1.7.5
+
|1.3.0
|14.04,16.04,18.04,18.10,19.04,19.10<ref group=N name=version>Core availability may vary between Ubuntu versions.</ref>
+
|12.04,14.04,15.04,15.10,16.04<nowiki>(*1)</nowiki>
|{{✓}}
 
 
|-
 
|-
 
|[https://launchpad.net/~libretro/+archive/ubuntu/stable ppa:libretro/stable]
 
|[https://launchpad.net/~libretro/+archive/ubuntu/stable ppa:libretro/stable]
 
|Stable
 
|Stable
|1.7.5
+
|1.3.0
|14.04,16.04,18.04,18.10,19.04,19.10<ref group=N name=version />
+
|12.04,14.04,15.04,15.10<nowiki>(*1)</nowiki>
|{{✓}}
 
 
|-
 
|-
|[[VisualBoy Advance#VBA-M|VBA-M]]
+
|[[VBA-M]]
 
|[https://launchpad.net/~sergio-br2/+archive/ubuntu/vbam-trunk ppa:sergio-br2/vbam-trunk]
 
|[https://launchpad.net/~sergio-br2/+archive/ubuntu/vbam-trunk ppa:sergio-br2/vbam-trunk]
|Stable
+
|Testing
|2.0.1-r201810111532-ed8c928-22
+
|1.8.0.1508-r1343~12
|16.04,18.04
+
|14.04,15.04,15.10
|{{✗}}
 
 
|-
 
|-
|rowspan="2"|[[PCSX2]]
+
|[[PCSX2]]
 
|[https://launchpad.net/~gregory-hainaut/+archive/ubuntu/pcsx2.official.ppa ppa:gregory-hainaut/pcsx2.official.ppa]
 
|[https://launchpad.net/~gregory-hainaut/+archive/ubuntu/pcsx2.official.ppa ppa:gregory-hainaut/pcsx2.official.ppa]
|Stable
+
|Testing
 
|1.4.0
 
|1.4.0
|14.04,15.04,15.10,16.04,16.10,17.04,18.04
+
|14.04,15.04,15.10,16.04
|{{✗}}
 
|-
 
|[https://launchpad.net/~pcsx2-team/+archive/ubuntu/pcsx2-daily ppa:pcsx2-team/pcsx2-daily]
 
|Testing
 
|1.5.0~git201810130609
 
|14.04,16.04,18.10
 
|{{✗}}
 
 
|-
 
|-
 
|rowspan="2"|[[MAME]]
 
|rowspan="2"|[[MAME]]
 
|[https://launchpad.net/~c.falco/+archive/ubuntu/mame ppa:c.falco/mame]
 
|[https://launchpad.net/~c.falco/+archive/ubuntu/mame ppa:c.falco/mame]
 
|Stable
 
|Stable
|0.202
+
|0.164
|18.04
+
|14.04,15.04
|{{✓}}
 
 
|-
 
|-
|[https://launchpad.net/~c.falco/+archive/ubuntu/alpha ppa:c.falco/alpha]<ref group=N>Some MAME builds may also appear in [https://launchpad.net/~c.falco/+archive/ubuntu/trashbin ppa:c.falco/trashbin].</ref>
+
|[https://launchpad.net/~c.falco/+archive/ubuntu/trashbin ppa:c.falco/trashbin]<nowiki>(*5)</nowiki>
 
|Testing
 
|Testing
|0.202
+
|0.171
|16.04,18.04
+
|15.10
|{{✓}}
 
 
|-
 
|-
 
|[[Dolphin]]
 
|[[Dolphin]]
|[https://launchpad.net/~dolphin-emu/+archive/ubuntu/ppa ppa:dolphin-emu/ppa]
+
|[https://launchpad.net/~dolphin-emu/+archive/ubuntu/ppa ppa:dolphin-emu/ppa]<br />[https://launchpad.net/~dolphin-emu/+archive/ubuntu/gcc-for-dolphin ppa:dolphin-emu/gcc-for-dolphin]
|Stable/Testing
+
|Testing
|5.0+git-r201810131701-1fe40c5-33
+
|4.0+git+r98
|16.04,18.04,18.10
+
|12.04<nowiki>(*2)</nowiki>,14.04<nowiki>(*2)</nowiki>,15.04,15.10,16.04
|{{✓|text=arm64}}
 
 
|-
 
|-
 
|[[PCSX-Reloaded]]
 
|[[PCSX-Reloaded]]
 
|[https://launchpad.net/~rebuntu16/+archive/ubuntu/pcsx-reloaded-svn+unofficial ppa:rebuntu16/pcsx-reloaded-svn+unofficial]
 
|[https://launchpad.net/~rebuntu16/+archive/ubuntu/pcsx-reloaded-svn+unofficial ppa:rebuntu16/pcsx-reloaded-svn+unofficial]
|Abandoned
+
|Stable/Testing
|1.9.94+git2017.02.28-16.13-1~ppa
+
|1.9.94+svn97809-1
|16.04,16.10,17.04
+
|14.04,15.04,15.10
|{{✗}}
 
 
|-
 
|-
 
|rowspan="2"|[[PPSSPP]]
 
|rowspan="2"|[[PPSSPP]]
 
|[https://launchpad.net/~ppsspp/+archive/ubuntu/testing ppa:ppsspp/testing]
 
|[https://launchpad.net/~ppsspp/+archive/ubuntu/testing ppa:ppsspp/testing]
 
|Testing
 
|Testing
|1.6.3-r201810120047-c6247d1-84
+
|1.1.1-r117
|14.04,16.04,18.04,18.10
+
|14.04,15.04,15.10,16.04
|{{✓}}
 
 
|-
 
|-
 
|[https://launchpad.net/~ppsspp/+archive/ubuntu/stable ppa:ppsspp/stable]
 
|[https://launchpad.net/~ppsspp/+archive/ubuntu/stable ppa:ppsspp/stable]
 
|Stable
 
|Stable
|1.6.3-r201809150336-9a610c8-84
+
|1.1.1-r93
|14.04,16.04,18.04
+
|14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
|[[ScummVM]]
+
|[[Mednafen]]
|[https://www.scummvm.org/downloads/ Official Site (.deb)]<ref group=N>ScummVM's website provides raw Debian packages (.deb) which can be installed with tools like gdebi.</ref>
+
|[http://www.playdeb.net/game/Mednafen PlayDeb](*3)
 
|Stable
 
|Stable
|2.0.0
+
|0.9.38.7-1~getdeb1
|16,04,17.04<ref group=N name=bionic>This package is in the official repository for Ubuntu 18.04.</ref>
+
|14.04,15.04,15.10
|{{✗}}
 
 
|-
 
|-
|[[higan]]
+
|[[ScummVM]]
|[https://launchpad.net/~hda-me/+archive/ubuntu/higan ppa:hda-me/higan]
+
|[http://www.playdeb.net/game/ScummVM PlayDeb](*3)
|Stable
 
|106
 
|16.04<ref group=N name=bionic />
 
|{{✗}}
 
|-
 
|rowspan="2"|FS-UAE
 
|[https://launchpad.net/~fengestad/+archive/ubuntu/stable ppa:fengestad/stable]
 
 
|Stable
 
|Stable
|2.8.4
+
|1.8.0-1~getdeb1
|14.04,16.04,17.10,18.04
+
|14.04,15.10
|{{✗}}
 
|-
 
|[https://launchpad.net/~fengestad/+archive/ubuntu/devel ppa:fengestad/devel]
 
|Testing
 
|2.9.7
 
|14.04,16.04,17.10,18.04
 
|{{✗}}
 
 
|-
 
|-
 
|[[DeSmuME]]
 
|[[DeSmuME]]
|rowspan="7"|[https://launchpad.net/~random-stuff/+archive/ubuntu/ppa ppa:random-stuff/ppa]
+
|rowspan="8"|[https://launchpad.net/~random-stuff/+archive/ubuntu/ppa ppa:random-stuff/ppa]
 
|Stable
 
|Stable
 
|0.9.11+r1~4
 
|0.9.11+r1~4
|12.04,14.04,15.04,15.10,16.04<ref group=N name=broken_desmume>Packages for 16.10 and newer are listed but broken.</ref>
+
|12.04,14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
 
|[[Mupen64Plus]]
 
|[[Mupen64Plus]]
 
|Testing
 
|Testing
|2.5-7+r630~7
+
|2.5-7+r623~7
|14.04,15.04,15.10,16.04<ref group=N name=yakkety>This package is in the official repository for Ubuntu 16.10 and newer.</ref>
+
|14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
|PokeMini
+
|[[PokeMini]]
 
|Stable
 
|Stable
|0.60-r8~4
+
|0.60
|14.04,15.04,15.10,16.04,16.10,17.04,17.10
+
|14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
 
|[[Gambatte]]
 
|[[Gambatte]]
 
|Stable
 
|Stable
|0.5.0-r577-b575~5
+
|0.5.0 r577 (git)
|12.04,14.04,15.04,15.10,16.04,16.10,17.04,17.10
+
|12.04,14.04,15.04,15.10
|{{✓}}
+
|-
 +
|[[Reicast]]
 +
|Testing
 +
|r7-rc (git)
 +
|14.04,15.04,15.10
 
|-
 
|-
 
|[[Supermodel]]
 
|[[Supermodel]]
 
|Stable
 
|Stable
|0.3a~WIP+r710~23
+
|0.3a~WIP (svn)
|None<ref group=N name=broken_supermodel>Packages for 14.04,16.04,17.10 are listed, but all of them are broken since January 2018.</ref>
+
|12.04,14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
 
|[[mGBA]]
 
|[[mGBA]]
 
|Testing
 
|Testing
|0.7~b1+dfsg1-r201810090501-7448c96-15
+
|0.3.0~WIP (git)
|16.04,18.04,18.10
+
|14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
 
|[[Snes9x]]
 
|[[Snes9x]]
 
|Stable
 
|Stable
|1.54.1-r201805250105-98d3d27-3
+
|1.53+git-r281~2
|17.10,18.04<ref group=N name=broken_snes9x>Packages for 14.04 and 16.04 are listed but broken.</ref>
+
|14.04,15.04,15.10
|{{✓}}
 
 
|-
 
|-
|[[BlastEm]]
+
|ScummVM, [[FCEUX]], [[higan]], [[ZSNES]],<br />old versions of other emulators
|rowspan="11"|[https://launchpad.net/~samoilov-lex/+archive/ubuntu/retrogames ppa:samoilov-lex/retrogames]<ref group=N name=warning_retrogames>This PPA contains unofficial builds of RetroArch, Dolphin, PPSSPP, PCSX2, FS-UAE and more, thus may cause conflict with other PPAs. After installing a desired emulator from this PPA, it is recommended to remove this PPA from the system's repository list by executing "sudo add-apt-repository --remove ppa:samoilov-lex/retrogames" in the command line.</ref>
 
|Stable
 
|0.5.1.224725e8a3a8
 
|16.04,18.04
 
|{{✓}}
 
|-
 
|[[Citra]]
 
|Testing
 
|0.0.0~20180823-1~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[Hatari]]
 
|Stable
 
|2.1.0
 
|16.04,18.04
 
|{{✓}}
 
|-
 
|[[Mednafen]]
 
|Stable
 
|1.21.1-2
 
|18.04
 
|{{✓}}
 
|-
 
|[[PCem]]
 
|Stable
 
|13.1
 
|18.04
 
|{{✗}}
 
|-
 
|[[reicast]]
 
|Stable
 
|8-1~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[Stella]]
 
|Stable
 
|5.1.1
 
|16.04,18.04
 
|{{✓}}
 
|-
 
|[[yuzu]]
 
|Testing
 
|0.0.0~20180917-1~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[Vita3K]]
 
|Stable
 
|0.1.0~git20180527.1-3~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[puNES]]
 
|Stable
 
|0.102-1~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[Yabause]]
 
|Stable
 
|0.9.15-1~retrogames
 
|18.04
 
|{{✗}}
 
|-
 
|[[FCEUX]]<br/>[[ZSNES]]<br /><small>Other older emulators not listed</small>
 
 
|Official Ubuntu repos
 
|Official Ubuntu repos
|Varies<ref group=N>Only updated once per Ubuntu version.</ref>
+
|(<nowiki>*4</nowiki>)
 
|Varies
 
|Varies
 
|Varies
 
|Varies
|{{~}}
 
 
|}
 
|}
<references group=N />
 
  
===Distro-independent Packages on Ubuntu===
+
<nowiki>*1</nowiki>:Core availability may vary between Ubuntu versions.
{{main|Distro-agnostic emulator packages for Linux}}
+
 
There are distribution-independent emulator packages which can be used instead of Ubuntu PPA. Packages especially notable or useful for Ubuntu are listed below.
+
<nowiki>*2</nowiki>:Requires the newer version of libstdc++6 and related packages, which '''ppa:dolphin-emu/gcc-for-dolphin''' has.
 +
 
 +
<nowiki>*3</nowiki>:PlayDeb is not a PPA and must use different commands to add their repository. See the [http://www.playdeb.net/updates#how_to_install how to install] section for more information.
 +
 
 +
<nowiki>*4</nowiki>:Only updated once per Ubuntu version.
  
{| class="wikitable" width="100%"
+
<nowiki>*5</nowiki>:The repository description states that it is a place for short-lived builds, and can be deleted without notice. Sometimes newer versions of MAME appear for Ubuntu 15.10 on [https://launchpad.net/~c.falco/+archive/ubuntu/alpha ppa:c.falco/alpha].
|-
 
! scope="col"|Emulator/Project
 
! scope="col"|Package
 
! scope="col"|Notes
 
|-
 
|[[VICE]]
 
|[https://flathub.org/apps/details/net.sf.VICE Flatpak]
 
|Has version 3.2 which is newer than any official Ubuntu repositories; No PPAs known
 
|-
 
|[[Snes9x]]
 
|[https://flathub.org/apps/details/com.snes9x.Snes9x Flatpak]
 
|Has version 1.56.2 which is newer than any PPAs
 
|-
 
|[[ScummVM]]
 
|[https://snapcraft.io/scummvm Snappy]
 
|Has 2.1.0 development builds
 
|-
 
|[[MAME]]
 
|[https://snapcraft.io/mame Snappy]
 
|Allows running 0.201 (and 0.202 in edge channel) in Ubuntu versions outside of 16.04 and 18.04
 
|-
 
|[[RPCS3]]
 
|[https://rpcs3.net AppImage]
 
|Official distribution format. The only known PPA was deleted around August 2018. (It was outdated and only supported 18.04)
 
|-
 
|[[FUSE]]
 
|[https://flathub.org/apps/details/net.sf.fuse_emulator Flatpak]
 
|Has version 1.5.6 which is newer than any official Ubuntu repositories; No PPAs are up-to-date
 
|}
 
  
 +
You can find more repositories by searching "emulatoryouwant launchpad ppa" without the quotes. Check that they have packages for your Ubuntu version (usually by its name, e.g. Trusty is 14.04, Vivid is 15.04, Wily is 15.10), as some PPAs can be abandoned.
 
[[Category:FAQs]]
 
[[Category:FAQs]]
 
== Links ==
 
* [https://doc.ubuntu-fr.org/emulation French Guide] on Ubuntu.org
 

Please note that all contributions to Emulation General Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Emulation General Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: