Retropie 4.5.1 on Kali Rolling Virtual Box

Install retropie

You are going to run into error=”Unsupported OS” and the first fix is to follow this article to edit the system.sh in the scriptmodules dir.

https://retropie.org.uk/forum/topic/16526/unsupported-os-debian-based-kali-linux/14

Then you will run into another error Unable to Install Packages pyudev

And another error about python setup tools

apt-get install python-setuptools
git clone https://github.com/lunaryorn/pyudev.git
cd pyudev
python setup.py install
run sudo /root/Retropie-Setup/retropie_setup.sh

check out config and bluetooth to make sure it downloads the packages and install from menu

install the archlinux packages

if you get an error that kodi binary could not be installed run

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi