How to Install Kodi on Ubuntu 16.04 or 18.04
This post will guide you how to install Kodi tool on your Ubuntu Linux 18.04 or 16.04. How do I install Kodi from PPA repository on your Ubuntu Linux system. This tutorial will show you three ways to install Kodi tool on Ubuntu system. And the below instructions apply for Ubuntu 16.04/18.04 and other Ubuntu based distribution or Debian Linux.
- What is Kodi?
- Prerequisites
- Method1: Installing Kodi Using Ubuntu Software
- Method2: Installing Kodi Using Default Apt Repository
- Method3: Installing Kodi From PPA Repository
What is Kodi?
Kodi is a free and open-source media player software application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating systems and hardware platforms, with a software 10-foot user interface for use with televisions and remote controls. It allows users to play and view most streaming media, such as videos, music, podcasts, and videos from the Internet, as well as all common digital media files from local and network storage media.
Prerequisites
- Before you get started with this post, and you need to have a non-root user with sudo privileges so that you can update or install packages under Ubuntu system.
- Before you begin, you also need to update the package index and all installed packages to the latest version on your Ubuntu system with the following steps:
$ sudo apt update $ sudo apt upgrade
Method1: Installing Kodi Using Ubuntu Software
You need to log in Graphical User Interface of your Ubuntu system, and click Ubuntu Software menu. Then type keyword kodi in search text box. Just click Install button to install it.
Method2: Installing Kodi Using Default Apt Repository
Kodi is already available in the default Ubuntu Repository, so you just need to run the following apt install command to install it, type:
$ sudo apt install kodi
Outptus:
devops@devops:~$ sudo apt install kodi Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fonts-noto-hinted fonts-roboto-hinted javascript-common kodi-bin kodi-data kodi-repository-kodi kodi-visualization-spectrum libass9 libavfilter6 libavresample3 libbs2b0 libcec4 libcrossguid0 libflite1 libjs-iscroll libjs-jquery libmicrohttpd12 libmodplug1 libmysofa0 libmysqlclient20 libnfs11 libnorm1 libp8-platform2 libpcrecpp0v5 libpgm-5.2-0 libpostproc54 librubberband2 libswscale4 libtinyxml2.6.2v5 libzmq5 mesa-utils python-olefile python-pil Suggested packages: python-pil-doc python-pil-dbg The following NEW packages will be installed: fonts-noto-hinted fonts-roboto-hinted javascript-common kodi kodi-bin kodi-data kodi-repository-kodi kodi-visualization-spectrum libass9 libavfilter6 libavresample3 libbs2b0 libcec4 libcrossguid0 libflite1 libjs-iscroll libjs-jquery libmicrohttpd12 libmodplug1 libmysofa0 libmysqlclient20 libnfs11 libnorm1 libp8-platform2 libpcrecpp0v5 libpgm-5.2-0 libpostproc54 librubberband2 libswscale4 libtinyxml2.6.2v5 libzmq5 mesa-utils python-olefile python-pil 0 upgraded, 34 newly installed, 0 to remove and 149 not upgraded. Need to get 50.3 MB of archives. After this operation, 133 MB of additional disk space will be used. Do you want to continue? [Y/n]
Method3: Installing Kodi From PPA Repository
If you want to install the latest version of Kodi on your Ubuntu system, you should install Kodi from their official repositories. Just run the following commands:
sudo apt-get install software-properties-common sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi
Outputs:
devops@devops:~$ sudo apt-get install software-properties-common Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python3-software-properties software-properties-gtk The following packages will be upgraded: python3-software-properties software-properties-common software-properties-gtk 3 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. Need to get 96.3 kB of archives. After this operation, 3,072 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 software-properties-common all 0.96.24.32.11 [9,996 B] Get:2 http://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 software-properties-gtk all 0.96.24.32.11 [62.7 kB] Get:3 http://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 python3-software-properties all 0.96.24.32.11 [23.6 kB] Fetched 96.3 kB in 2s (63.9 kB/s) (Reading database ... 182427 files and directories currently installed.) Preparing to unpack .../software-properties-common_0.96.24.32.11_all.deb ... Unpacking software-properties-common (0.96.24.32.11) over (0.96.24.32.9) ... Preparing to unpack .../software-properties-gtk_0.96.24.32.11_all.deb ... Unpacking software-properties-gtk (0.96.24.32.11) over (0.96.24.32.9) ... Preparing to unpack .../python3-software-properties_0.96.24.32.11_all.deb ... Unpacking python3-software-properties (0.96.24.32.11) over (0.96.24.32.9) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for shared-mime-info (1.9-2) ... Setting up python3-software-properties (0.96.24.32.11) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for dbus (1.12.2-1ubuntu1.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up software-properties-common (0.96.24.32.11) ... Setting up software-properties-gtk (0.96.24.32.11) ... devops@devops:~$ sudo add-apt-repository ppa:team-xbmc/ppa Official Team Kodi stable releases More info: https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa Press [ENTER] to continue or Ctrl-c to cancel adding it. Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Get:6 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic InRelease [15.4 kB] Hit:8 http://repository.spotify.com stable InRelease Hit:9 https://repo.skype.com/deb stable InRelease Get:10 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic/main i386 Packages [31.2 kB] Get:7 http://dl.bintray.com/apache/cassandra 311x InRelease [3,183 B] Get:11 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic/main amd64 Packages [31.4 kB] Get:12 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic/main Translation-en [10.3 kB] Fetched 91.4 kB in 16s (5,866 B/s) Reading package lists... Done devops@devops:~$ sudo apt-get update Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Hit:6 http://repository.spotify.com stable InRelease Hit:8 https://repo.skype.com/deb stable InRelease Get:7 http://dl.bintray.com/apache/cassandra 311x InRelease [3,183 B] Hit:9 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic InRelease Fetched 3,183 B in 2s (1,880 B/s) Reading package lists... Done devops@devops:~$ sudo apt-get install kodi Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: kodi-inputstream-adaptive kodi-inputstream-rtmp kodi-peripheral-joystick kodi-x11 libass9 libcec4 libcrossguid0 libfstrcmp0 libmicrohttpd12 libmysqlclient20 libnfs11 libp8-platform2 libpcrecpp0v5 libshairplay0 libtinyxml2.6.2v5 mesa-utils python-bluez python-cryptodome python-olefile python-pil python-simplejson Suggested packages: kodi-pvr-mythtv kodi-pvr-vdr-vnsi kodi-pvr-tvheadend-hts kodi-pvr-dvbviewer kodi-pvr-iptvsimple kodi-audioencoder-vorbis kodi-audioencoder-flac kodi-audioencoder-lame python-cryptodome-dbg python-cryptodome-doc python-pil-doc python-pil-dbg The following NEW packages will be installed: kodi kodi-inputstream-adaptive kodi-inputstream-rtmp kodi-peripheral-joystick kodi-x11 libass9 libcec4 libcrossguid0 libfstrcmp0 libmicrohttpd12 libmysqlclient20 libnfs11 libp8-platform2 libpcrecpp0v5 libshairplay0 libtinyxml2.6.2v5 mesa-utils python-bluez python-cryptodome python-olefile python-pil python-simplejson 0 upgraded, 22 newly installed, 0 to remove and 147 not upgraded. Need to get 40.3 MB of archives. After this operation, 108 MB of additional disk space will be used. Do you want to continue? [Y/n]Y …… Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Setting up kodi-inputstream-rtmp (2.0.5-1~bionic) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up python-pil:amd64 (5.1.0-1) ... Setting up libfstrcmp0 (0.7.D001-1.1build1) ... Setting up mesa-utils (8.4.0-1) ... Setting up libcec4:amd64 (4.0.2+dfsg1-2ubuntu1.1) ... Setting up kodi-x11 (2:18.4+git20190831.2224-final-0bionic) ... Setting up kodi (2:18.4+git20190831.2224-final-0bionic) ... Processing triggers for libc-bin (2.27-3ubuntu1) ...
Note: Some (later) Ubuntu versions include Kodi built by Ubuntu themselves. If you have installed Ubuntu Kodi, please remove the packages “kodi kodi-bin kodi-data” before trying to install team-xbmc PPA packages.
Now Kodi tool should be installed on your Ubuntu system. And you can launch it by running kodi command under the command line.
$ kodi
Conclusion
You should know that how to install Kodi tool on your Ubuntu or Debian Linux. If you want to see more detailed information about Kodi, you can directly go to its official web site.