Kodi formerly known as XBMC is a free and open source home-theater PC media player software for Windows, Linux, Mac OS, Android , iOS and tvOS. It is developed by the non-profit XBMC/Kodi Foundation. Using Kodi you can play and view videos, music, podcasts from local and network storage media and the internet.
Install Kodi media player on Ubuntu
You can install Kodi on Ubuntu via PPA. Open your terminal app. Type the below command and press the enter key. If need enter your user password.
sudo apt install software-properties-common
Then run the below command in terminal.
sudo add-apt-repository -y ppa:team-xbmc/ppa
This will add the Kodi PPA on your system. Then run the below command,
sudo apt update
After that execute the below command to install Kodi media player on Ubuntu.
sudo apt install kodi
Type Y and press the enter key to confirm the installation of Kodi. After the successful installation of Kodi, open it from the Show Apps menu from the Ubuntu dash dock.
Install Kodi media player via Flatpak:
First install flatpak and flathub on your system if you don’t have then and restart your system after the installation.
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now run below Kodi flatpak install command.
flatpak install flathub tv.kodi.Kodi
And open it using below command.
flatpak run tv.kodi.Kodi
You can also uninstall it using below command.
flatpak uninstall tv.kodi.Kodi
[OR]
sudo flatpak uninstall tv.kodi.Kodi