Changes

Jump to navigation Jump to search

Emulation on Ubuntu

2,325 bytes added, 11:32, 3 July 2017
The reason the repositories don't work on other distributions is because of the packaging tool Ubuntu uses, called APT. Fedora and Arch use different ones, and they're not compatible with each other.
==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===
A big Possibly the biggest difference between Windows and Ubuntu (and perhaps, GNU/Linux in general) is the way that when you want programs are handled. On Windows, getting software requires the developer to install package an installer (or a program on Linux portable build for flash drives and the like) that you don't have to go get from their website. They may also have to bundle dependencies (like the siteVisual C++ Runtime) or link you to their location if a license prevents that. If your software is closer to open-source, download an installer and install it 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 (except in some specific casesalthough this is very rare).
There's something called These "repositories, which are " 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 them, update them and uninstall them. It's really cool.
Your Linux distribution comes with their official repositories already configured so you can get a lot of the main programs for immediately, but thereare risks with the emulators in particular; repositories aren't focused on having every emulator, and in many cases when they do, but they don't always have every good emulatornewer 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 most updated takes quite a bit of the time if they have it it's an old version. So what Rather than using the defaults, we are going to do is 'll add more repositories made by users or developers themselves that have up-to-date 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 programsmachine.
All While this is coolcan seem exciting, but there will be keep in mind that some emulators that you wonaren't find available on repositories, and many good ones aren't on Linux at all, so you'll have may need to use different methods to get them, but . But don't worry, I'll explain it ; this will be explained 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.
===How to add the Adding new repositories===To add this repos :<small>''Note: If you ever rely on a tutorial that says to type <code>apt-get</code>, you will have can use <code>apt</code> instead. There generally isn't a difference.''</small>:<small>''Another note: Pay attention to run where <code>sudo</code> is used. That's the next equivalent to running a Windows program as an administrator. If you're ever suspicious about any command on 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
...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 have to run the next command to update tell apt to refresh the packages databaselist: sudo apt-get update
Once that's done you will have all the packages from those repos available to install.
===How to install, update and uninstall emulators after the repos are added=Graphical====For To add a new repository from the GUI, install synaptic (or make sure it's installed) by typing in this task I recommend you to command from the terminal: sudo apt install Synaptic. That 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. See  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 xenial for 16.04, you type yakkety for 16.10, zesty for 17.04, and trusty for 14.04. You can then see what emulators you have with each of the repos you added has , and can now install the emulators ones you want. 
===Repositories List===
The "Type" column describes how often the emulators are updated on these categorizes repositoriesby update frequency. Software in the Testing repositories branches usually get updates quite as often as possible (some have even daily updates) , while software in the Stable repositories branches are only as recent as the versions are, and usually get updates after between a few months gap<!--. If a desired emulator isn't found here, and Abandoned you can find more repositories are, wellby 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%"
|-
! scope="col"|Emulators it hasEmulator/Project
! scope="col"|ppa:user/ppa-name
! scope="col"|Type
! scope="col"|Latest Emulator Version
! scope="col"|Supported Ubuntu Versions
! scope="col"|ARM(<nowikiref group=N>*1These repositories have packages compiled for ARM architectures, and could work with HP Hardfloat, odroid, Raspberry Pi 2, etc.</nowikiref>)
|-
|rowspan="2"|[[RetroArch]]<br/>(libretro)
|[https://launchpad.net/~libretro/+archive/ubuntu/testing ppa:libretro/testing]
|Testing
|1.6.0
|14.04,16.04,16.10,17.04<nowikiref group=N name=version>(*2)Core availability may vary between Ubuntu versions.</nowikiref>
|✓
|-
|Stable
|1.6.0
|14.04,16.04,16.10,17.04<nowiki>(*2)<ref group=N name=version /nowiki>
|✓
|-
|✗
|-
|[https://launchpad.net/~c.falco/+archive/ubuntu/alpha ppa:c.falco/alpha]<nowikiref group=N>(*4)Some MAME builds may also appear in [https://launchpad.net/~c.falco/+archive/ubuntu/trashbin ppa:c.falco/trashbin].</nowikiref>
|Testing
|0.186
|-
|[[ScummVM]]
|[https://www.scummvm.org/downloads/ Official Site (.deb)]<ref group=N>ScummVM's website provides raw Debian packages (*5.deb)which can be installed with tools like gdebi.</ref>
|Stable
|1.9.0
|16,04,16.10<nowiki>(*6)<ref group=N name=zesty /nowiki>
|✗
|-
|[[higan]]
|[http://www.playdeb.net/game/higan PlayDeb](*7)<ref group=N name=playdeb>PlayDeb is not a PPA and must use different commands to add their repository. See their [http://www.playdeb.net/updates#how_to_install how to install] section for more information.</ref>
|Stable
|103
|-
|[[Gens]]
|[http://www.playdeb.net/game/Gens PlayDeb](*7)<ref group=N name=playdeb />
|Stable
|2.15.5
|Stable
|0.9.11+r1~4
|12.04,14.04,15.04,15.10,16.04,16.10(*8)<ref group=N name=zesty>This package is in the official repository for Ubuntu 17.04.</ref>
|✓
|-
|Testing
|2.5-7+r630~7
|14.04,15.04,15.10,16.04(*9)<ref group=N name=yakkety>This package is in the official repository for Ubuntu 16.10 and newer.</ref>
|✓
|-
|✓
|-
|[[Mednafen]], <br/>[[FCEUX]], <br/>[[ZSNES]],<br />old versions of other <small>Other older emulatorsnot listed</small>
|Official Ubuntu repos
|(Varies<nowikiref group=N>*3Only updated once per Ubuntu version.</nowikiref>)
|Varies
|Varies
|}
<nowiki>*1</nowiki>:Repository with ARM support might work with HP Hardfloat, odroid, Raspberry Pi 2, etc. <nowiki>*2</nowiki>:Core availability may vary between Ubuntu versions. <nowiki>*3</nowiki>:Only updated once per Ubuntu version. <nowiki>*4</nowiki>:Some MAME builds may also appear in [https://launchpad.net/~c.falco/+archive/ubuntu/trashbin ppa:c.falco/trashbin]. <nowiki>*5</nowiki>:ScummVM Official Site provides the raw Debian packages (.deb) which can be installed by using tools such as ''gdebi''. <nowiki>*6</nowiki>:Ubuntu 17.04 has ScummVM 1.9.0 in the official Ubuntu repository. <nowiki>*7</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>*8</nowiki>:Ubuntu 17.04 has DeSmuME 0.9.11 in the official Ubuntu repository. <nowiki>*9<references group=N /nowiki>:Ubuntu 16.10 and newer have Mupen64Plus 2.5 in the official Ubuntu repository. 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, Xenial is 16.04, Yakkety is 16.10, Zesty is 17.04), as some PPAs can be abandoned.
[[Category:FAQs]]
== Links ==
* [https://doc.ubuntu-fr.org/emulation French Guide] on Ubuntu.org
927
edits

Navigation menu