Official Ubuntu PPA: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<section begin="intro" />[[w:Personal Package Archive|Personal Package Archive]]s, or '''PPA'''s are software repositories that hold compiled version of software, primarily for [[w:Ubuntu|Ubuntu]] and various Ubuntu derivatives (such as Lubuntu, non-Debian versions of Linux Mint, XBMCbuntu, and many others).
{{mininav| [[HOW-TO:Install Kodi for Linux]] }}


The Team XBMC PPA provides the only officially supported pre-compiled binaries for Ubuntu and Ubuntu-based systems.
<section begin="intro" />[[w:Personal Package Archive|Personal Package Archive]]s, or '''PPA'''s are software repositories that hold compiled version of software, primarily for [[w:Ubuntu|Ubuntu]] and various Ubuntu derivatives (such as Lubuntu, non-Debian versions of Linux Mint, KodiBuntu, XBMCbuntu, and many others).


{{redv|NOTICE|'''All users should use the Team XBMC PPA instead of the system repositories (or any build that uses external ffmpeg/libav) for proper support and best running operation.'''}}<section end="intro" />
The Team Kodi PPA provides the only officially supported pre-compiled binaries for Ubuntu and Ubuntu-based systems.<section end="intro" />


== Repositories ==
== Repositories ==
<section begin="repos" />
<section begin="repos" />
The XBMC repositories are as follows:
The Kodi repositories are as follows:
 
{{Note|Although the URL still has "Team XBMC" in the title, these are the current URLs for Kodi.}}


{| class="prettytable" width="100%"
{| class="prettytable" width="100%"
| https://launchpad.net/~team-xbmc/+archive/ppa || <code>'''ppa:team-xbmc/ppa'''</code> || Final release builds
| https://launchpad.net/~team-xbmc/+archive/ppa || <code>'''ppa:team-xbmc/ppa'''</code> || Final release builds
|-
|-
| https://launchpad.net/~team-xbmc/+archive/unstable || <code>'''ppa:team-xbmc/unstable'''</code> || [[beta|Betas and release candidates]]
| https://launchpad.net/~team-xbmc/+archive/unstable || <code>'''ppa:team-xbmc/unstable'''</code> || [[Development_builds|Betas and release candidates]]
|-
|-
| https://launchpad.net/~team-xbmc/+archive/xbmc-nightly || <code>'''ppa:team-xbmc/xbmc-nightly'''</code> || [[Nightly builds]]
| https://launchpad.net/~team-xbmc/+archive/xbmc-nightly || <code>'''ppa:team-xbmc/xbmc-nightly'''</code> || [[Development_builds|Nightly builds]]
|}<section end="repos" />
|}<section end="repos" />
For the users looking for compile with the PPA build depends in addition to the nightly PPA:
{| class="prettytable" width="100%"
{| class="prettytable" width="100%"
| colspan="3" | For the users looking for compile with the PPA build depends in addition to the nightly PPA:
|-
| https://launchpad.net/~team-xbmc/+archive/xbmc-ppa-build-depends || <code>'''ppa:team-xbmc/xbmc-ppa-build-depends'''</code> || Build Depends
| https://launchpad.net/~team-xbmc/+archive/xbmc-ppa-build-depends || <code>'''ppa:team-xbmc/xbmc-ppa-build-depends'''</code> || Build Depends
|}
|}


== FAQ ==
== See also ==
<section begin="package_maintenance" />
* [https://help.ubuntu.com/community/AptGet/Howto apt-get/How-to]
{| width="100%"
{{FAQ|1=Why_XBMC_ppa
| BGcolor=
| Question= Why are XBMC packages from Ubuntu repositories incorrect?
| Answer=
The simple answer is that, these packages derive from XBMC versions which are either '''outdated''' and '''broken''' or both, and are 100% officially '''unsupported''' at this time.
 
The main thing you must understand is that if you looking for supported official builds, you simply should not use other repositories, unless otherwise indicated by a Team Member or a informed community member.
}}


{| width="100%"
{{updated|18}}
{{FAQ|1=What_ppa_do_I_have
| BGcolor=whitesmoke
| Question= How do I find out what version I am currently using?
| Answer=
You can get a complete listing of what repositories are part of your sources list by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo apt-cache policy
</syntaxhighlight>


Changing the PPA repo for XBMC will change what type of install is used (stable, nightly, beta, etc).
[[Category:Linux]]
}}
[[Category:Manual]]
 
{{FAQ|1=Dependencies
| BGcolor=
| Question=Are any dependencies required?
| Answer=
Some dependencies are required to add ppas into your distro via terminal, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get install python-software-properties pkg-config
</syntaxhighlight>
}}
 
{{FAQ|1=Adding or removing ppas
| BGcolor=whitesmoke
| Question=How do I add or remove ppas?
| Answer=
After you determined which ppa you would like to '''add''' or '''remove''' follow the instructions below.
;You can remove a ppa from your distro's sources list via terminal, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo add-apt-repository -r ppa:current_XBMC_providing_ppa
</syntaxhighlight>
 
;You can add a ppa to your distro's sources list via terminal, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo add-apt-repository ppa:the_ppa_you_wish_to_use
</syntaxhighlight>
}}
 
{{FAQ|1=Installing XBMC
| BGcolor=
| Question=How do I install XBMC?
| Answer=
After adding or removing any ppa you need to refresh your sources list and finally install XBMC, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get update
sudo apt-get install xbmc xbmc-bin
</syntaxhighlight>
}}
 
{{FAQ|1=Updating XBMC
| BGcolor=whitesmoke
| Question=How do I update XBMC?
| Answer=
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]]):
 
<source lang="bash">
sudo apt-get update
sudo apt-get install xbmc xbmc-bin
</source>
}}
 
{{FAQ|1=Upgrading XBMC
| BGcolor=
| Question=How do I upgrade XBMC?
| Answer=
After adding or removing any ppa you need to refresh your sources list and finally upgrade xbmc, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get update
sudo apt-get --only-upgrade install xbmc xbmc-bin
</syntaxhighlight>
}}
 
{{FAQ|1=XBMC wont upgrade
| BGcolor=whitesmoke
| Question=Why wont XBMC upgrade?
| Answer=
After following the above instructions, XBMC is still not upgraded, the main reason why this happens is because the distribution you are using, is no longer supported and has reached an '''''end of life status'''''.
 
See [https://wiki.ubuntu.com/Releases Current Ubuntu releases] if your current distro is listed under End of life table, you will need to upgrade your OS to a supported release.
 
LTS releases are better for long term install and forget, installing obviously the very latest LTS release available.
}}
 
{{FAQ|1=beta_unstable
| BGcolor=
| Question=How can I install a beta/unstable version?
| Answer=
To install a beta/unstable version of XBMC you must first add the unstable repository, then install XBMC:
<source lang="bash">
sudo add-apt-repository ppa:team-xbmc/unstable
sudo apt-get update
sudo apt-get install xbmc
</source>
Follow the prompts to add the repository, then to add the updates, and finally install the new version of XBMC.
{{note|1=You may need to restart your computer for the newly installed version to be working.}}
}}
 
{{FAQ|1=beta_unstable_to_stable
| BGcolor=whitesmoke
| Question=How can I move from a beta/unstable to a stable version?
| Answer=
Check what XBMC versions you have access to:
<source lang="bash">
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
</source>
{{note|1=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.
<source lang="bash">
sudo apt-get install xbmc=2:13.1~git20140606.0917-gotham-0trusty xbmc-bin=2:13.1~git20140606.0917-gotham-0trusty
</source>
{{note|1=You will get a warning you are downgrading, hit Y when asked to continue}}
 
Remove the beta/unstable repository from XBMC to clean up:
<source lang="bash">
sudo add-apt-repository -r ppa:team-xbmc/unstable
</source>
}}
 
{{FAQ|1=Uninstalling XBMC
| BGcolor=
| Question=How do I uninstall XBMC?
| Answer=
If you need to remove and purge an application and finally remove/purge XBMC, by typing:
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get update
sudo apt-get remove xbmc*
sudo apt-get purge xbmc*
</syntaxhighlight>
}}
 
{{FAQ|1=Specific package versions.
| BGcolor=whitesmoke
| Question=How to install a specific versions?
| Answer=
In the event you need to install either by upgrade or downgrade a specific XBMC version (a reason may be a bug or to test a specific version), the PPA providing said version active must be in your '''sources.list.d''' along with a updated list of the packages.
If the packages you intend to install are on a different PPA, you should probably remove that PPA to avoid confusion.
<code>apt-get install packagename=version</code> is one way to achieve this.
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get update
sudo apt-get install xbmc=2:13.1~git20140606.0917-gotham-0trusty xbmc-bin=2:13.1~git20140606.0917-gotham-0trusty
</syntaxhighlight>
 
Hint: For e.g. You can use result of <code>apt-cache policy xbmc</code> to see the candidates <packagename><version> available to you.
{{Note| Removing/purging any previous versions if they are greater version of the package you are looking to install is necessary.}}
}}<section end="package_maintenance" />
 
{{FAQ|1=PPA Build deps
| BGcolor=
| Question=What are PPA build dependencies?
| Answer=
These build dependencies are versions of a library pre-packaged by Team XBMC, because the distro provided versions are behind the current requirements of XBMC.
Both [https://github.com/xbmc/xbmc/blob/master/docs/README.linux REAME.linux] and/or [https://github.com/xbmc/xbmc/blob/master/docs/README.ubuntu README.ubuntu] documents using XBMC ppa build dependencies refer to these dependencies in the Team XBMC PPA's used in conjunction, when compiling on Ubuntu or derivatives distros.
}}
|}
 
== See also ==
* [https://help.ubuntu.com/community/AptGet/Howto apt-get/How-to]

Revision as of 00:18, 24 August 2020

Home icon grey.png   ▶ HOW-TO:Install Kodi for Linux ▶ Official Ubuntu PPA

Personal Package Archives, or PPAs are software repositories that hold compiled version of software, primarily for Ubuntu and various Ubuntu derivatives (such as Lubuntu, non-Debian versions of Linux Mint, KodiBuntu, XBMCbuntu, and many others).

The Team Kodi PPA provides the only officially supported pre-compiled binaries for Ubuntu and Ubuntu-based systems.

Repositories

The Kodi repositories are as follows:

Note: Although the URL still has "Team XBMC" in the title, these are the current URLs for Kodi.

https://launchpad.net/~team-xbmc/+archive/ppa ppa:team-xbmc/ppa Final release builds
https://launchpad.net/~team-xbmc/+archive/unstable ppa:team-xbmc/unstable Betas and release candidates
https://launchpad.net/~team-xbmc/+archive/xbmc-nightly ppa:team-xbmc/xbmc-nightly Nightly builds

For the users looking for compile with the PPA build depends in addition to the nightly PPA:

https://launchpad.net/~team-xbmc/+archive/xbmc-ppa-build-depends ppa:team-xbmc/xbmc-ppa-build-depends Build Depends

See also