Refer: http://ubuntuhandbook.org/index.php/2016/02/kodi-16-released-how-to-install-it-via-ppa/
$ sudo add-apt-repository ppa:team-xbmc/ppa
$ sudo apt-get update
$ sudo apt-get install kodi
This probably won't be needed
sudo apt-get install --install-suggests kodi
Helpful Hint
Kodi the \ is the shortcut key to toggle between fullscreen and window
--
Refer: http://askubuntu.com/questions/849396/uninstall-kodi-on-ubuntu-14
If you need to remove and purge an application and finally removing/purging also the application configurations files, do so by using the following commands:
$ sudo apt-get update
$ sudo apt-get remove kodi*
$ sudo apt-get purge kodi*
Then remove the settings folder to remove all settings and library data. This will not delete any videos or music, but just the settings and library data itself:
$ rm -r ~/.kodi/
or
$ rm -r ~/.xbmc/
for older versions before 14.0
