Compiling and Installing EmulationStation and RetroArch on Ubuntu Linux

Compiling and Installing EmulationStation and RetroArch on Ubuntu Linux


Hey guys, in this video we’re going to go
over how to compile and install EmulationStation and RetroArch on Ubuntu Linux. This will allow you to play old games such
as nes. EmulationStation will act as the frontend,
and RetroArch will be the emulation. We’ll go over all the steps in detail to
get it up and running, since there are a few configuration steps to take care of after
it’s installed. In future videos, we’ll take a look at how
you can improve the system with themes, as well as add support for different consoles
by adding more emulators. Before you can begin any installing, we’ll
first need to open a terminal. To do this, press Ctrl + Alt + T on your keyboard
at the same time. The first step to installing emulation station
on Ubuntu is to download all the dependencies. The developers have listed these in an easy
format for you to install, and we’ve copied it down to the video description. Just copy that set of commands into the terminal
and press enter to execute. Next we need to install the emulator itself. EmulationStation is just the frontend that
tells the emulator what to do. It doesn’t actually emulate the games itself. To do that, we’ll start by adding the repository. Type in the following line, which can be found
in the video description. Now type in sudo apt-get update. Now we can go ahead and install the emulator. Type in the following line as found in the
video description. So it looks like our emulator is all set up. We’ll now go ahead and download the source
code from github. Type in git clone, followed by the URL in
the video description. This will download all the source code into
a new folder. Now switch directories to the folder we just
created. Type in cd EmulationStation. We’re going to use cmake to configure the
program. Type in cmake followed by a space and a period
and hit the enter key. Now type in make. This will compile the program. Next type in sudo make install to install
the program. Now that EmulationStation is installed, we’ll
need to make a directory for all the roms. Type in mkdir ~/roms. Now we need a subfolder to that. Type in ~/roms/nes. The next step involves downloading roms from
the internet. You’ll need to search up nes roms yourself
and find one you want to experiment with. Once you’re done, put this rom in the nes
folder we just created. You can easily do this through the folders
menu instead of the terminal if you find it easier. Now we’ll launch emulation station. Type in emulationstation, with no spaces into
the terminal and press enter. The first time you type this in, you’ll
get an error saying that it isn’t configured properly. EmulationStation will automatically make sample
a configuration file. We’ll use the terminal to switch to the
.emulationstation folder. If you try to access this from the folders
window, you’ll need to turn on view hidden files. Now we need to edit the configuration file. Type in gedit es_systems.cfg. Look somewhere in the middle of the document,
and you’ll see a line referring to command. This is the command the emulationstation runs
to launch the nes emulator. We’ll want to edit the path the file is
referring to, since it isn’t accurate. To do this, change the path to the one found
in the video description. Finally, add the –f flag before –L. This
will cause the program to open in full screen mode instead of the smaller windowed mode
over the desktop. At this point, all we have left to do is launch
EmulationStation and configure our controller. In our case, we’re just going to use our
keyboard, but it’s possible to use a USB controller if you have one available. Once that’s done, simply work your way through
the menus and launch your games. Thanks for watching this video on setting
up EmulationStation and RetroArch on Ubuntu. If you liked this video, don’t forget to
subscribe to the channel and give the video a like.

28 thoughts on “Compiling and Installing EmulationStation and RetroArch on Ubuntu Linux

  1. What a fantastic fucking tutorial. Straightforward and to the point, no longer than it needed to be, and you didn't spend a single breath with an unnecessary preamble or anything that was unrelated to the task at hand.

  2. Or you could just install actual RetroPie: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroPie-Ubuntu-16.04-LTS-x86-Flavor

  3. Any tips or maybe a tutorial on how to compile ES on Windows (VS)? I want to translate it, but couldn't compile the source, Cmake is a mess.

  4. I still got the same error after changing that command line in the confit file. I checked it and tried it about 5 times now. I'm stuck.

  5. I was running through the steps and ended up with a broken dependency. libsdls.dev can't seem to be repaired or reinstalled. Any ideas?

  6. hello, thank you for the video. i am trying to play a game and it is saying home directory not accessible: permission denied. how can i fix this so i can play the games?

  7. when executing the command: make (to install emulationstation) I get the following error:

    es-core/CMakeFiles/es-core.dir/build.make:278: recipe for target 'es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o' failed
    make[2]: * [es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o] Error 1
    CMakeFiles/Makefile2:217: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed
    make[1]: * [es-core/CMakeFiles/es-core.dir/all] Error 2
    Makefile:149: recipe for target 'all' failed
    make: * [all] Error 2

    any suggestions?

  8. Man, I'm stumped, literally everything was going perfect until after I entered -f I'm not sure what I wrong :/

  9. Great video. Thank you. I have everything working EXCEPT the games don't recognise my USB controller. Like, Emulation Station recognises it and responds, but as soon as the game boots it only responds to my USB keyboard. I've found a couple of people posting about similar issues online but none of their solutions seem to work for me. Any ideas?

  10. Hiii… if retroarch is already a GUI for libretro and its cores.. why to use another interface (Emulationstation). I just want to know because I'm ignorant on this hehehe

  11. i need help this is what happens to me on my raspberry pi 3 linux comes with absolutely no warranty to the extent permitted by applicable law i try typing something and says command not found how do i get to the emulationstation as when loads its gets only as far as this what am i missing ive put the image on sd card i havent put on any roms as ive been trying to get to the emulatonstaton all i have is writing like codes but no station please help setup

  12. If you run into "cant find any systems" after following the tutorial step-by-step: I got it working. If your roms are .zip, you have to extract the files from them so they are .nes. Then run emulationstation

    Emulation station runs in full screen, but the roms are still in a small window. (I do have the -f in the command). Any suggestions?

  13. How can I fix this?
    —————————————————————————————————————————————
    [email protected]:~/EmulationStation$ mkdir ~/roms
    [email protected]:~/EmulationStation$ mkdir ~/roms/nes
    [email protected]:~/EmulationStation$ emulationstation
    Creating config directory "/home/nyanmyohtet/.emulationstation"
    lvl0: es_systems.cfg file does not exist!
    lvl0: Example config written! Go read it at "/home/nyanmyohtet/.emulationstation/es_systems.cfg"!
    lvl0: Error while parsing systems configuration file!
    [email protected]:~/EmulationStation$ cd
    [email protected]:~$ cd ~/.emulationstation
    [email protected]:~/.emulationstation$ gedit es_systems.cfg
    [email protected]:~/.emulationstation$ emulationstation
    lvl0: No systems found! Does at least one system have a game present? (check that extensions match!)
    (Also, make sure you've updated your es_systems.cfg for XML!)
    [email protected]:~/.emulationstation$

  14. Got everything working but when i load a rom, any rom, it kicks to the console for a second and displays ==================== then goes back to the roms list. Please Help!

  15. If you get an error while compiling (during the "make" step), follow these instructions. https://github.com/Aloshi/EmulationStation/issues/692

  16. i get to the point where you change the config file, but gedit wasn't a valid command, installed gedit but now it brings up a blank document. I cant find the config file in the gui either. Any ideas?

  17. es-core/CMakeFiles/es-core.dir/build.make:278: recipe for target 'es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o' failed
    make[2]: * [es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o] Error 1
    CMakeFiles/Makefile2:217: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed
    make[1]: * [es-core/CMakeFiles/es-core.dir/all] Error 2
    Makefile:151: recipe for target 'all' failed
    make: * [all] Error 2

  18. Anybody know why it keeps asking me to enter username and password. copy and pasted the url many of times. even typed it by hand same thing. any help is appreciated

Leave a Reply

Your email address will not be published. Required fields are marked *