Difference between revisions of "Linux"

From Official Kodi Wiki
Jump to: navigation, search
(Add note about python-cryptography)
(5 intermediate revisions by 3 users not shown)
Line 14: Line 14:
 
  | image 4 = Applications-development.png
 
  | image 4 = Applications-development.png
 
  | link 4 = Developing Kodi for Linux
 
  | link 4 = Developing Kodi for Linux
  | link 5 = #How-to's
+
  | link 5 = Ubuntu binary add-ons
  | link name 5 = How-to's
+
| link 6 = #How-tos
  | description 5 =  
+
  | link name 6 = How-tos
  | image 6 = Gnome-colors-fusion-icon.png
+
  | description 6 =  
  | link 6 = #Tips and tricks
+
  | image 7 = Gnome-colors-fusion-icon.png
  | link name 6 = Tips and tricks
+
  | link 7 = #Tips and tricks
  | description 6 = Boost performance, troubleshoot, enhance, and more.
+
  | link name 7 = Tips and tricks
  | link 7 = #Helpful applications
+
  | description 7 = Boost performance, troubleshoot, enhance, and more.
  | link name 7 = Helpful applications
+
  | link 8 = #Helpful applications
| description 7 =
+
  | link name 8 = Helpful applications
| link 8 = #Device specific info
 
| link name 8 = Device specific info
 
 
  | description 8 =  
 
  | description 8 =  
  | link 9 = Supplemental tools
+
  | link 9 = #Device specific info
  | link name 9 = Supplemental tools
+
  | link name 9 = Device specific info
 
  | description 9 =  
 
  | description 9 =  
  | link 10 = #Random notes
+
  | link 10 = Supplemental tools
  | link name 10 = Random notes
+
  | link name 10 = Supplemental tools
 
  | description 10 =  
 
  | description 10 =  
 +
| link 11 = #Random notes
 +
| link name 11 = Random notes
 +
| description 11 =
 
}}
 
}}
  
Line 41: Line 42:
 
== Linux distributions ==
 
== Linux distributions ==
 
For install instructions for various Linux distros, see '''[[HOW-TO:Install Kodi for Linux]]'''.
 
For install instructions for various Linux distros, see '''[[HOW-TO:Install Kodi for Linux]]'''.
 +
 +
{{note|1=Your Linux distribution must include version 1.7 or newer of the Python cryptography module or you will encounter very strange behavior related to add-ons and internet access. If you are running Ubuntu 16.04 or another older Debian-based distribution, see https://forum.kodi.tv/showthread.php?tid=304613&pid=2562213#pid2562213 for a possible solution.}}
  
 
=== x86 ===
 
=== x86 ===
* [[Kodibuntu]]
+
* [[LibreELEC]]
* [[OpenELEC]]
 
  
 
=== ARM ===
 
=== ARM ===
 
;[[Raspberry Pi]]
 
;[[Raspberry Pi]]
* [[OpenELEC]]
+
* [[LibreELEC]]
 
* [[OSMC]]
 
* [[OSMC]]
 
* [[XBian]]
 
* [[XBian]]
  
 
;[[SolidRun CuBox-i|SolidRun CuBox-i / CuBoxTV]]
 
;[[SolidRun CuBox-i|SolidRun CuBox-i / CuBoxTV]]
* [[OpenELEC]]
+
* [[LibreELEC]]
 
* [[GeeXboX]]
 
* [[GeeXboX]]
 
* [[XBian]]
 
* [[XBian]]
Line 62: Line 64:
 
* Amlogic M6/M8 devices - [[EmbER]] (Embedded Entertainment ROM)
 
* Amlogic M6/M8 devices - [[EmbER]] (Embedded Entertainment ROM)
  
== How-to's ==
+
== How-tos ==
 
<dpl>
 
<dpl>
 
  category = How-to
 
  category = How-to

Revision as of 12:41, 28 October 2018

Home icon grey.png   ▶ Devices ▶ Linux
Attention talk.png Read this page and still need help? Check out the Kodi for Linux discussion forum.

Kodi for Linux is primarily developed for Ubuntu Linux. Third-party packages for most other Linux distributions are however available, and it is also possible to compile Kodi media center software application from scratch for nearly any Linux distribution. Linux supports full hardware decoding with most graphics cards. Linux is generall the best way to get a fast, free, and "appliance" feel for an Kodi powered HTPC.

1 Main topics

Other Linux-specific wiki pages for topics, guides, and advice. For everything else, standard Kodi pages will normally apply.

icon HOW-TO:Install Kodi for Linux
icon Linux FAQ
Frequently Asked Questions for Kodi running under Linux-based operating systems.
icon Supported hardware
Kodi is officially supported on a number of operating systems and hardware devices that are designed to be connected directly to a TV. Kodi runs well on what are relatively "underpowered" systems, thanks to hardware video decoding being common on nearly all supported platforms. These requirements don't include what might be required for some "advanced" features, such as PVR, which might require additional hardware.
icon Developing Kodi for Linux
Team-Kodi (formerly called Team-XBMC) first ported XBMC Media Center software to Linux in 2007, and the whole project cross-platform application was renamed to Kodi in 2014. Kodi itself is a huge open source project and it takes loads of people working together to maintain it for all platforms, that is why Team-Kodi is always on the lookout for C/C++ programmers to volunteer in assisting us with the development of Kodi. Whether you have contributed to the Kodi/XBMC project in the past or not, please consider doing so now.
icon Ubuntu binary add-ons
How to install certain binary add-ons for Ubuntu, such as PVR, audio decoder/encoders, audio DSP, screensavers, and visualizations.
icon How-tos
icon Tips and tricks
Boost performance, troubleshoot, enhance, and more.
icon Helpful applications
icon Device specific info
icon Supplemental tools
icon Random notes

2 Requirements

CPU x86 or x86-64 processor such as: Intel Pentium 4/ Pentium M, AMD Athlon 64 / Opteron, or newer CPU (that support SSE2, which all CPUs made within the last 10-years does).
  • If your GPU/VPU does not support hardware video decoding then you will require a fast modern processor is required to decode some 1080p videos encoded in H.264, VC-1/WMV9, HEVC/H.265 VP9, etc
RAM
  • Recommended: 1GB or more in a HTPC media player appliance-like computer dedicated for Kodi, and 2GB or more in a computer for multipurpose use.
Graphics

Kodi will run on most graphics cards made within the last 10-years or so, though for good hardware video decoding support a little newer graphics cards can be required. This includes most cards from AMD/ATI, Intel, or NVIDIA which support OpenGL 2.0 or later.

AMD/Intel

Video decoding For hardware video decoding, which may be necessary on low-performance CPUs to playback 1080p content, make sure your GPU or VPU supports either VAAPI or VDPAU. For everything but older AMD cards and Nvidia, VAAPI is recommended. On AMD, you might have to start with the environment variable KODI_GL_INTERFACE set to GLX in order to get VDPAU support.
ATI ( VA-API minimum 2.0.0 or VDPAU ) Intel ( VA-API minimum 1.7.1 ) Nvidia ( VDPAU )
Minimum without HW decoding: ATI Radeon RV710/M92 (HD 4300/4500) Note: These are uvd2.2 cards Arrandale / Clarkdale or newer Nvidia GeForce 6-Series
Minimum for HW decoding of 8-bit H.264 and VC-1: AMD/ATI Radeon HD 5000 Series or newer Bay Trail /Sandybridge or newer Nvidia GeForce 8-Series or newer
Minimum for HW decoding of 8-bit HEVC (H.265): AMD Radeon Rx 300 series or newer Braswell / Skylake or newer Nvidia GeForce 900 series (GM20x) or newer
Minimum for HW decoding of 10-bit HEVC (H.265): AMD Radeon 400 series or newer Apollo Lake / Kaby Lake or newer Not available
Minimum for HW decoding of VP9: Stoney Ridge APU or newer; not available for desktop GPUs at the moment Apollo Lake / Kaby Lake or newer Not available
Drive space The Kodi application generally only takes up between 100 to 200 MB of space, depending on how the binary is compiled. Technically speaking, if your hardware supports netbooting, you do not even require a internal storage for either the operating-system or for Kodi.
  • Minimum: 4 to 8GB
  • Recommended: 16GB or more
Depending on how big your video library is. Most of the space required for Kodi comes from the images/artwork cache, which can be adjusted: HOW-TO:Reduce disk space usage.

Note: There´s no 304.xxx driver for Ubuntu 18.04 available anymore from the "Graphic Drivers"-ppa. Users who are using GeForce 6-series cards should either stay on an older Ubuntu version or use newer cards


3 Linux distributions

For install instructions for various Linux distros, see HOW-TO:Install Kodi for Linux.

Note: Your Linux distribution must include version 1.7 or newer of the Python cryptography module or you will encounter very strange behavior related to add-ons and internet access. If you are running Ubuntu 16.04 or another older Debian-based distribution, see https://forum.kodi.tv/showthread.php?tid=304613&pid=2562213#pid2562213 for a possible solution.

3.1 x86

3.2 ARM

Raspberry Pi
SolidRun CuBox-i / CuBoxTV
Other

4 How-tos

Archive:Compile Kodi on openSUSE
HOW-TO:Configure your Cyberlink Media Centre Remote on Linux
HOW-TO:Gyration USB remote in Ubuntu for XBMC using Lirc
HOW-TO:Install Kodi for Linux
HOW-TO:Keep resolv.conf settings in DHCP after reboot
HOW-TO:Keep resolv.conf settings in STATIC IP after reboot
HOW-TO:Keep static IP
NFS
Network File System, or NFS, is a way to share folders over a network, and was added to XBMC in v11 (Eden). The main benefits of using NFS instead of SMB are its low protocol overhead (which allows it to send data across a network more quickly) and its use of simple UID's to authenticate users rather than username/password combinations. This part bears repeating, as many people are confused on this point and try to create usernames and passwords to get Kodi to work with NFS: NFS does not use usernames or passwords as logins; it uses a UNIX-based "userID" (UID) alone.
HOW-TO:Remap HDMI audio on Gen 1 ION - Linux
HOW-TO:Set up LIRC
HOW-TO:Set up PS3 BD Remote
HOW-TO:Set up Wake-on-LAN for Ubuntu
HOW-TO:Suspend and wake in Ubuntu
Ubuntu binary add-ons
How to install certain binary add-ons for Ubuntu, such as PVR, audio decoder/encoders, audio DSP, screensavers, and visualizations.


5 Device specific info

Stop hand.png These pages are maintained by the community and should not be considered an endorsement or recommendation. Device pages are made when there's a bunch of useful information for a particular device, and someone takes the time to make that page. Keep in mind, some devices simply don't need a page of specific information, but are still excellent devices. *


Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.

6 Random notes

Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.

  •  ?

7 See also