How to install on Raspbian OS?

Hey, i’m running a webserver on my raspberry pi, and i really want to run kodi on the same OS, raspbian, instead of formatting or using multiple SD cards or multibooting. I’ve installed kodi using

Code:
sudo apt-get install kodi

, but when i run

Code:
kodi

or just open it from the Applications menu, it doesn’t start. Do you guys have any tutorials for setting up kodi 17 on raspbian OS, or could any of you tell me how to get it running?