How to Install Kodi on Raspbian

You want to turn your Raspberry Pi into a media center, but you also need it for other tasks? Perhaps you’re using your Pi for programming, or playing Minecraft. It might have a role as a general project machine, meaning you need regular access to Raspbian.

One solution to this might be to keep several microSD cards at hand, each with different operating systems installed. You might have one with Raspbian ready to run, another with a retro gaming distro, and a third with OSMC, openELEC, or LibreELEC. These are the three Kodi-based Raspberry Pi distributions, and the most common solutions. […]