Install Kodi on Debian, Ubuntu, Arch Linux & OpenSUSE Leap

Kodi, formerly XBMC (Xbox Media Center), is a free and open-source media player software licensed under GPLv2. It can run on Linux, OS X, FreeBSD, Windows, Android, and Apple TV OS. It has a 10-foot user interface which means it can easily read from a distance of 10 feet and controlled by a regular television remote control.

You can watch live television, TV shows, movies or set up a home theater PC with Kodi. In this tutorial, we will be discussing how to install Kodi on Debian, Ubuntu, Arch Linux, and OpenSUSE.

install kodi debian ubuntu arch linux opensuse

Install Kodi on Debian

Kodi is included in Debian repository. Run the following command to install it.

sudo apt-get install kodi

To start kodi

kodi

Install Kodi on Ubuntu-based Linux distros via PPA

For Ubuntu, Linux Mint, Elementary OS, etc, there’s an official Kodi PPA available.

sudo add-apt-repository ppa:team-xbmc/ppa

sudo apt-get update

sudo apt-get install kodi

To start Kodi, type:

kodi

in terminal.

Install Kodi on Ubuntu ARM/Raspberry Pi OS

Note that the above PPA doesn’t work on Ubuntu ARM edition for Raspberry Pi or the official Raspberrry Pi OS. To install Kodi on Ubuntu ARM/Raspberrry Pi OS, simply run

sudo apt install kodi

If your Raspberry Pi doesn’t have a desktop environment, then at least you need to install an X window system in order to run Kodi.

sudo apt install xinit xterm xserver-xorg-video-fbdev

Xinit allows you to run a GUI program in X window system, without having to start a window manager or a full desktop environment. To start Kodi, we can run

xinit kodi

To automatically start Kodi at boot time, we need to create a systemd service unit with a command-line text editor like Nano.

sudo nano /etc/systemd/system/kodi.service

Add the following lines to the file.

[Unit]
  Description=Kodi Media Center
  After=network-online.target
  Wants=network-online.target

[Service]
  Type=simple 
  Environment=HOME=/root
  ExecStart=/usr/bin/xinit kodi
  Restart=always
  RestartSec=2

[Install]
  WantedBy=multi-user.target

Save and close the file. Enable auto-start at boot time.

sudo systemctl enable kodi

Now you can reboot to see if this works.

sudo shutdown -r now

You might also want to automatically mount external HDD on your Raspberry Pi, so you can select folders on your HDD from the Kodi interface.

nstall Kodi on Arch Linux

Kodi is in the Arch Linux community repository, so we can easily install kodi using pacman

sudo pacman -S kodi

Install Kodi on OpenSUSE Leap 42.1

Kodi in available in the packman repository, so first enable packman on OpenSUSE Leap 42.1 with this command:

sudo zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ packman

Then install kodi with zypper

sudo zypper install kodi

Where to Download Movie and TV Shows

  1. Use a torrenting client like Deluge.
  2. Learn how to download from Usenet.

Advantages of Usenet

  1. It gives you better privacy because others can’t see what you are downloading.
  2. Superfast download speed.
  3. Files on Usenet are usually kept much longer than torrent files. For example, Newsdemon stores files for 4430 days (more than 12 years), so you can download old content at a very fast speed.

Enjoy!

Rate this tutorial
[Total: 22 Average: 4]

One Response to “Install Kodi on Debian, Ubuntu, Arch Linux & OpenSUSE Leap

Leave a Comment

  • Comments with links are moderated by admin before published.
  • Your email address will not be published.
  • Use <pre> ... </pre> HTML tag to quote the output from your terminal/console.
  • Please use the community (https://community.linuxbabe.com) for questions unrelated to this article.
  • I don't have time to answer every question. Making a donation would incentivize me to spend more time answering questions.


The maximum upload file size: 2 MB.
You can upload: image.