HOW-TO:Install Kodi for Linux: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
{{see also|Linux FAQ}}
{{see also|Linux FAQ}}


These are instructions for people who already have a Linux-based OS setup. If you have not installed a Linux-based OS yet, you might wish to try out [[XBMCbuntu]] which will install both the OS and XBMC with an easy installer.
These are instructions for people who already have a Linux-based OS setup. If you have not installed a Linux-based OS yet, you might wish to try out [[XBMCbuntu]] which will install both the OS and {{kodi}} with an easy installer.


= Official Team Kodi/XBMC repositories =
= Official Team Kodi repositories =


== Ubuntu ==
== Ubuntu ==
Line 18: Line 18:
sudo add-apt-repository ppa:team-xbmc/ppa
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get update
sudo apt-get install xbmc # for 13.2
sudo apt-get install xbmc # for 13.2
sudo apt-get install kodi  # for 14.0 and up
sudo apt-get install kodi  # for 14.0 and up
</syntaxhighlight>
</syntaxhighlight>
Line 41: Line 41:
=== Installing a development build ===
=== Installing a development build ===
{{see also|Development builds}}
{{see also|Development builds}}
To install a beta/unstable version of XBMC you must first add the unstable repository, then install XBMC:
To install a beta/unstable version of {{kodi}} you must first add the unstable repository, then install XBMC:


Use <code>ppa:team-xbmc/xbmc-nightly</code> for nightly builds and <code>ppa:team-xbmc/unstable</code> for [[beta]] builds.
Use <code>ppa:team-xbmc/xbmc-nightly</code> for nightly builds and <code>ppa:team-xbmc/unstable</code> for [[beta]] builds.
Line 114: Line 114:


* [[HOW-TO compile XBMC for Linux from source code]]
* [[HOW-TO compile XBMC for Linux from source code]]
* [[HOW-TO compile XBMC for Linux on Debian/Ubuntu]] - This is a tutorial on how to compile and install XBMC on Debian and Ubuntu.
* [[HOW-TO compile XBMC for Linux on Debian/Ubuntu]] - This is a tutorial on how to compile and install {{kodi}} on Debian and Ubuntu.


= See also =
= See also =
Line 120: Line 120:
* [[HOW-TO:Autostart XBMC for Linux]]
* [[HOW-TO:Autostart XBMC for Linux]]


{{gotham updated}}
{{Helix updated}}


[[Category:Linux]]
[[Category:Linux]]

Revision as of 20:34, 23 December 2014

Home icon grey.png   ▶ Installing
▶ Linux
▶ HOW-TO:Install Kodi for Linux

These are instructions for people who already have a Linux-based OS setup. If you have not installed a Linux-based OS yet, you might wish to try out XBMCbuntu which will install both the OS and Kodi with an easy installer.

Official Team Kodi repositories

Ubuntu

Simple Install Instructions

Note: Click here to find out how to use the terminal.

Use the command line terminal and enter the following commands. Follow the prompts as you would any other software installation.

sudo apt-get install python-software-properties pkg-config
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install xbmc # for 13.2
sudo apt-get install kodi  # for 14.0 and up

Team XBMC PPA

Upgrading

To update XBMC/Kodi when a new version is released, just do a general system/package or use the following commands in the terminal (or via SSH):

sudo apt-get update
sudo apt-get install xbmc  # for 13.2
sudo apt-get install kodi  # for 14.0 and up


XBMCbuntu

XBMCbuntu

Installing a development build

To install a beta/unstable version of Kodi you must first add the unstable repository, then install XBMC:

Use ppa:team-xbmc/xbmc-nightly for nightly builds and ppa:team-xbmc/unstable for beta builds.

sudo add-apt-repository ppa:team-xbmc/xbmc-nightly
sudo apt-get update
sudo apt-get install kodi  # for 14.0 and up

Follow the prompts to add the repository, then to add the updates, and finally install the new version of XBMC.

Going back to a stable version from a development version

To return to a stable release:

Find the current PPA you are using:

sudo apt-cache policy

Remove the unstable or nightly PPA where it says PPAHERE:

sudo add-apt-repository -r ppa:PPAHERE

Then restore the stable version with the following commands:

sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get remove xbmc
sudo apt-get install xbmc  # for 13.2
sudo apt-get install kodi  # for 14.0 and up

Uninstalling

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 xbmc* # for 13.2 and lower
sudo apt-get purge xbmc* # for 13.2 and lower

sudo apt-get remove kodi* #for 14.0 and up
sudo apt-get purge kodi* #for 14.0 and up

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 ~/.xbmc/
rm ~/.kodi/ # for 14.0 and up

Other repositories

Unofficial Linux binaries that are un/semi supported by Team XBMC. These use internal ffmpeg libraries rather than system ffmpeg or libav, which is recommended for XBMC.

Debian

http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/

Fedora

Kodi can be installed from rpmfusion repositories. Building a dedicated home theatre system can be easily done using packages found from Fedora's HTPC page.

OpenELEC

OpenELEC

Installation from source

If distribution packages are not available, or you need a newer version, or specific features enabled, then you will most likely need to compile from source. While compiling from source does not differ very much between distributions (except for installation of build dependencies), a few different guides are available in this wiki.

See also