Linux - HOW-TO: Install Kodi 17.x (Krypton) on Fedora 25 Using RPMFusion Packages

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #1
The HOW-TO: install Kodi 17.x (Krypton) on Fedora 25 Using RPMFusion Packages guide presents an approach to turning a minimal installation of Fedora 25 into a standalone Kodi 17.x (Krypton) installation, with minimal additional software / overhead. The Kodi packages available from RPMFusion are used as the basis for this setup.

The guide shows how to install pre-built packages from RPMFusion (which do not support DVD playback). Alternatively, it also shows how to rebuild Kodi from RPMFusion source with DVD-playback capability enabled.

At the end of this guide you will have a set-top box style of system that, when powered up, will quickly boot and then start Kodi automatically without intervention (e.g. no need to first log in).

Change-Log

2017-Jun-20 Updated Kodi from 17.1 to 17.3; Deprecated nVidia 340.x legacy driver coverage; Fixed small section-heading typo
2017-Apr-11 Upgraded Kodi from 17.0 to 17.1
2017-Feb-10 Upgraded Kodi from 17.x (Krypton) Beta to 17.0 (Krypton) Final
2017-Jan-10 Added section showing how to rebuild Kodi 17.x with DVD playback enabled
2016-Nov-30 Upgraded Fedora 23 to Fedora 25; Upgraded Kodi from 15.x (Isengard) to 17.x (Krypton) Beta
2015-Dec-08 Upgraded Fedora 22 to Fedora 23
2015-Sep-03 Upgraded Fedora 21 to Fedora 22; Upgraded Kodi from 14.x (Helix) to 15.x (Isengard)


Happy installing!

- WireRydr
(This post was last modified: 2017-06-20 06:30 by wirerydr.)
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #2
For those desiring CEC functionality, Slashnull has added a section to the Wiki showing how rebuild the RPMFusion Kodi package with libcec support enabled.

Thanks, Slashnull...
(This post was last modified: 2016-01-18 07:37 by wirerydr.)
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #3
For those using the Legacy 340.x drivers with older nVidia cards: A new driver (340.101) has been released that introduces support for the latest Xorg X11 X-Windows server (version 1.19) that comes with Fedora 25. It is no longer necessary to downgrade your Xorg server to 1.18 (from Fedora 24).

The HOW-TO:Install Kodi on Fedora 25 using RPMFusion packages (wiki) has been updated accordingly. It now also includes a step to undo the downgrade, ensuring you are now using the latest available Xorg server.

Cheers - WireRydr
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #4
The Kodi installation RPMs as built by RPMFusion do not, for various reasons, include DVD playback capability (including TS_VIDEO folders).

For those desiring DVD playback capability, the HOW-TO:Install Kodi on Fedora 25 using RPMFusion packages wiki has been updated to include a new section showing how to rebuild Kodi from the RPMFusion Source RPM with DVD Playback capability enabled. It is a little more involved, but still relatively straightforward.

Feedback is appreciated.

Cheers - WireRydr
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #5
RPMFusion has update their repository to offer the final release version of Kodi 17.0 (Krypton). This Wiki has been updated accordingly.

Cheers - WireRydr
find quote
gwstearns Offline
Junior Member
Posts: 2
Joined: Mar 2013
Reputation: 0
Post: #6
Thanks for the great tutorial on how to install Kodi on Fedora 25 using RPMFusion packages.

I am having a problem though. Step 5.2.2 is:

rpm -iv http://download1.rpmfusion.org/free/fedo...25.src.rpm
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdcss-master.tar.gz https://github.com/xbmc/libdvdcss/archive/master.tar.gz
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdread-master.tar.gz https://github.com/xbmc/libdvdread/archi...ter.tar.gz

Here are the results:

[[email protected] ~]$ rpm -iv http://download1.rpmfusion.org/free/fedo...25.src.rpm
Retrieving http://download1.rpmfusion.org/free/fedo...25.src.rpm
kodi-17.0-1.fc25.x86_64
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[[email protected] ~]$ curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 538 0 --:--:-- --:--:-- --:--:-- 539
100 127k 100 127k 0 0 228k 0 --:--:-- --:--:-- --:--:-- 4152k
[[email protected] ~]$ curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdread-master.tar.gz https://github.com/xbmc/libdvdread/archi...ter.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 123 0 123 0 0 514 0 --:--:-- --:--:-- --:--:-- 514
100 121k 100 121k 0 0 202k 0 --:--:-- --:--:-- --:--:-- 625k

It seems that the first curl line is failing but the next two lines that retrieve kodi-libdvdnav-master.tar.gz and kodi-libdvdread-master.tar.gz complete successfully.

kodi-libdvdcss-master.tar.gz is not retrieved.

Not noticing, I continued on and later step 5.2.6 ---

time rpmbuild -ba ~/rpmbuild/SPECS/kodi.spec 2>&1 | tee ~/build_kodi.log

--- failed with the following:

+ cp -p /home/gwstearns/rpmbuild/SOURCES/kodi-libdvdcss-master.tar.gz tools/depends/target/libdvdcss/libdvdcss-master.tar.gz
cp: cannot stat '/home/scott/rpmbuild/SOURCES/kodi-libdvdcss-master.tar.gz': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.6IQncl (%prep)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.6IQncl (%prep)

Any help you could give me would be greatly appreciated.
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #7
(2017-02-23 02:39)gwstearns Wrote:  Thanks for the great tutorial on how to install Kodi on Fedora 25 using RPMFusion packages.

I am having a problem though. Step 5.2.2 is:

rpm -iv http://download1.rpmfusion.org/free/fedo...25.src.rpm
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdcss-master.tar.gz https://github.com/xbmc/libdvdcss/archive/master.tar.gz
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdread-master.tar.gz https://github.com/xbmc/libdvdread/archi...ter.tar.gz

Here are the results:

[[email protected] ~]$ rpm -iv http://download1.rpmfusion.org/free/fedo...25.src.rpm
Retrieving http://download1.rpmfusion.org/free/fedo...25.src.rpm
kodi-17.0-1.fc25.x86_64
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[[email protected] ~]$ curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 538 0 --:--:-- --:--:-- --:--:-- 539
100 127k 100 127k 0 0 228k 0 --:--:-- --:--:-- --:--:-- 4152k
[[email protected] ~]$ curl -Lo ~/rpmbuild/SOURCES/kodi-libdvdread-master.tar.gz https://github.com/xbmc/libdvdread/archi...ter.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 123 0 123 0 0 514 0 --:--:-- --:--:-- --:--:-- 514
100 121k 100 121k 0 0 202k 0 --:--:-- --:--:-- --:--:-- 625k

It seems that the first curl line is failing but the next two lines that retrieve kodi-libdvdnav-master.tar.gz and kodi-libdvdread-master.tar.gz complete successfully.

kodi-libdvdcss-master.tar.gz is not retrieved.

I suspect a cut-and-paste error may have occurred. In the output you provided, your problem isn't that the first curl line is failing. Rather, you're not even executing it. Your output indicates you go from retrieving the kodi src RPM directly to retrieving the libdvdnav source archive. Actually your output is a bit weird - your rpm line was run as user gwstearns, while your curl lines were run as user scott. If that's actually what you did (instead of just assembling your output from several different attempts), then I'd expect the entire process to break since your ~/rpmbuild structure will be in different places for each user.

In any event I manually checked the libdvdcss link you provided at the top of your post, and it retrieves successfully for me. Then on my dev box I wiped my entire ~/rpmbuild tree, re-ran step 5.2.1 to reinitialize it, and then re-ran 5.2.2 as a cut-and-paste from the wiki - it also worked.

I cut-and-pasted all of 5.2.2 as one paste. But just to rule out any peculiarities in your terminal-emulator, try pasting in each line of 5.2.2 separately.

Cheers - wirerydr
(This post was last modified: 2017-02-23 05:40 by wirerydr.)
find quote
mychaeldw Offline
Junior Member
Posts: 1
Joined: Feb 2017
Reputation: 0
Post: #8
Can Kodi 17 be loaded on android 4.4.4?
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #9
(2017-02-24 02:55)mychaeldw Wrote:  Can Kodi 17 be loaded on android 4.4.4?
You'll probably get more pertinent answers to Android-related questions if you post them in Kodi's Android forum.
(This post was last modified: 2017-02-24 18:58 by wirerydr.)
find quote
Deriv Offline
Junior Member
Posts: 25
Joined: May 2015
Reputation: 0
Post: #10
I have Kodi 17 running on Fedora 25 and there are a couple of regressions when I compare it to how it was with Kodi 16 on Kodibuntu.

- Previously one could start the playback of a VIDEO_TS folder just by navigating to it or its parent folder and press the middle button in Kore. That doesn't work anymore, now one has to select play from the context menu.

- Previously when the playback of a VIDEO_TS folder started it always began with dvd menu, now some it starts with trailers if such are present.

- Some films in a VIDEO_TS folder don't work at all anymore. Even though they worked with Kodi 16 on Kodibuntu
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #11
(2017-02-27 21:55)Deriv Wrote:  I have Kodi 17 running on Fedora 25 and there are a couple of regressions when I compare it to how it was with Kodi 16 on Kodibuntu.
Have you configured your Kodi 17 setup equivalently to your Kodi 16 setup? Default behaviour will sometimes change from from one major version to the next.

(2017-02-27 21:55)Deriv Wrote:  - Previously one could start the playback of a VIDEO_TS folder just by navigating to it or its parent folder and press the middle button in Kore. That doesn't work anymore, now one has to select play from the context menu.
When I try navigating to a VIDEO_TS folder and pressing Kore's middle button, it immediately starts playing the contents. I suggest looking (In Kodi, not Kore) at Settings -> Library -> Videos -> Default Select Action. Mine is set to Play.

(2017-02-27 21:55)Deriv Wrote:  - Previously when the playback of a VIDEO_TS folder started it always began with dvd menu, now some it starts with trailers if such are present.
When I try it with my system (I tried it with 3 different VIDEO_TS folders), it immediately launches the main-menu. I suggest looking at Settings -> Player -> Discs -> Attempt to Skip Introduction Before DVD Menu. Mine is checked. Note that you will need to have your expertise level set to advanced or expert to see this option. Failing that, ensure you have no trailer addons installed, and whatever skin you're using is not configured to auto-play trailers or otherwise recreate a "cinema" type of experience.

(2017-02-27 21:55)Deriv Wrote:  - Some films in a VIDEO_TS folder don't work at all anymore. Even though they worked with Kodi 16 on Kodibuntu
That part I can't speak to. I don't have a lot of VIDEO_TS folders, but every one I tried works. If you cannot get this working then I suggest capturing a debug-log and posting a new question to the Kodi Linux and Live Support forum instead of this one, which is specific to announcements and issues with the Kodi / Fedora Wiki itself.

Cheers - WireRydr
(This post was last modified: 2017-03-03 02:58 by wirerydr.)
find quote
reshadgp Offline
Junior Member
Posts: 3
Joined: Mar 2017
Reputation: 0
Post: #12
I have an Android TVBOX with the following characteristics:
Amlogic S905X Quad Core ARM, Android 6, 2 GB ROM 16 GB.
I have kodi 16.1 already installed on it, but when I want to update with the version 17.1 it does not allow me.
I've read lots of comments here and I realized that first I should uninstall the existing kodi 16.1 and then install the kodi 17.1.
The problem is that I don't know which version should I download, in order to install on my device. I will be thankful if you tell me which version should I install on my device from the following existing version:

RC: ARM – x86 - ARMv8A (64bit)
Nightly: ARMv7a (32bit) - x86 - ARMv8A (64bit)
find quote
dmpickle Offline
Junior Member
Posts: 1
Joined: Mar 2017
Reputation: 0
Post: #13
Is there a way t upgrade to version 17.1 if currently running Jarvis 16.0 on Android v 4.2?
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #14
The wiki has been updated from Kodi 17.0 to 17.1.

Cheers - WireRydr
find quote
wirerydr Offline
Junior Member
Posts: 18
Joined: Nov 2012
Reputation: 0
Post: #15
The wiki has been updated from Kodi 17.1 to 17.3.

Also, the section of the guide describing how to install the older nVidia "Legacy Series" of 340.x drivers (for G8x, G9x, and GT2xx GPUs) has been removed, since the driver repository used in this guide no longer offers the Legacy drivers. Users of older nVidia GPUs can refer to RPMFusion's nVidia HOWTO for instructions on how to install their Legacy drivers instead.

Cheers - WireRydr
find quote