HOW-TO:Install Kodi for Linux
Installing Linux |
HOW-TO:Install Kodi for Linux |
These are instructions for people who already have a Linux-based OS set up. 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.
Official Team Kodi/XBMC repositories
Ubuntu
- Simple Install Instructions
Note: Click here to find out how to use the terminal.
- Before you run these comands type "sudo echo" into the terminal and hit Enter.
- Then copy the area below up to sudo add...
- Go back to the terminal, hit the middle mouse button and when it prompts hit Enter.
- Copy the part after sudo add... and paste it to the terminal.
- If it askes you if you want to install enter y and hit Enter
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
Updating
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
XBMCbuntu
Installing a Beta/Unstable Version
To install a beta/unstable version of XBMC you must first add the unstable repository, then install XBMC:
sudo add-apt-repository ppa:team-xbmc/unstable sudo apt-get update sudo apt-get install xbmc
Follow the prompts to add the repository, then to add the updates, and finally install the new version of XBMC. Note: You may need to restart your computer for the newly installed version to be working.
Going From a Beta/Unstable Version to a Stable Version
Check what XBMC versions you have access to:
sudo apt-cache policy xbmc xbmc: Installed: 2:13.2~git20140719.0900-beta2-0trusty Candidate: 2:13.2~git20140719.0900-beta2-0trusty Version table: *** 2:13.2~git20140719.0900-beta2-0trusty 0 500 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 2:13.1~git20140606.0917-gotham-0trusty 0 500 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ trusty/main amd64 Packages 2:12.3+dfsg1-3ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Note: In the above example we have an unstable (team-xbmc/unstable) and the release versions (team-xbmc/ppa) available. The version with the *** is the currently installed version (unstable)
To install the release version we need to install the team-xbmc/ppa version (in the above example: "2:13.1~git20140606.0917-gotham-0trusty"). This requires us to install both the "xbmc" and the "xbmc-bin" package.
sudo apt-get install xbmc=2:13.1~git20140606.0917-gotham-0trusty xbmc-bin=2:13.1~git20140606.0917-gotham-0trusty
Note: You will get a warning you are downgrading, hit Y when asked to continue
Remove the beta/unstable repository from XBMC to clean up:
sudo add-apt-repository -r ppa:team-xbmc/unstable
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/
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.
- 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.