Skip to content

Instantly share code, notes, and snippets.

@elundmark
Created April 12, 2014 14:26
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elundmark/10538373 to your computer and use it in GitHub Desktop.
Save elundmark/10538373 to your computer and use it in GitHub Desktop.
One way to Install Gens in (X)Ubuntu 14.04 LTS 64-bit
# Read the article below, if you still can't get it to work, follow the instructions below, worked for me on Lubuntu 14.04 64-bit
# http://danielj.se/2011/05/01/install-gensgs-megadrive-emulator-on-64-bit-ubuntu/
# Remove dep. from DEBIAN/control source first and re-compile w/ dpkg -g DIR # > ./gens_2.15.5_i386.deb
# * If you don't know what to do, here's a short guide:
# - Open the original ./gens_2.15.5_i386.deb w/ an unarchiver, showing the DEBIAN folder + usr. this is the raw contents of the deb file.
# - Extract all those files to a tmp dir named gens_2.15.5_i386. Close the unarchiver window.
# - Open DEBIAN/control in that folder and remove the line w/ dependencies. Save.
# - Terminal > cd [tmp dir] > $ dpkg -b $PWD # Re-compiles to ./[FOLDER_NAME].deb
# ia32-libs, removed from 14.04
# http://askubuntu.com/questions/366438/
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
# Install gens:i386 dependencies manually
sudo apt-get install libatk1.0-0 libatk1.0-0:i386
sudo apt-get install libc6 libc6:i386
sudo apt-get install libcairo2 libcairo2:i386
sudo apt-get install libgl1-mesa libgl1-mesa:i386
sudo apt-get install libgl1-mesa-glx libgl1-mesa-glx:i386
sudo apt-get install libglib2.0-0 libglib2.0-0:i386
sudo apt-get install libgtk2.0-0 libgtk2.0-0:i386
sudo apt-get install libpango1.0-0 libpango1.0-0:i386
sudo apt-get install libsdl1.2debian libsdl1.2debian:i386
sudo apt-get install zlib1g zlib1g:i386
# Install your modified deb
sudo dpkg --force-architecture -i ./gens_2.15.5_i386.deb
@xaphod
Copy link

xaphod commented May 29, 2016

Thank you! This still works on ubuntu 15 with Gens 2.16.7, with just a few changes. Wouldn't have been able to do it without this gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment