Official Ubuntu PPA: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 38: Line 38:
{| width="100%"
{| width="100%"
{{FAQ|1=What_ppa_do_I_have
{{FAQ|1=What_ppa_do_I_have
| BGcolor=
| BGcolor=whitesmoke
| Question= How do I find out what version I am currently using?
| Question= How do I find out what version I am currently using?
| Answer=
| Answer=

Revision as of 10:13, 9 September 2014

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, XBMCbuntu, and many others).

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

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.


Repositories

The XBMC repositories are as follows:

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

FAQ

Why is using XBMC packages from Ubuntu repositories incorrect?

Link

The simple answer is that, these packages derive from XBMC versions which are either outdated and broken or both, and are also 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. Such valid repositories may include some testing builds or experimental code by Team developers that has not been merged for e.g Fernetmenta ppa's ppa:wsnipex/xbmc-fernetmenta-master

How do I find out what version I am currently using?

Link

You can get a complete listing of what repositories are part of your sources list by typing:

sudo apt-cache policy

Changing the PPA repo for XBMC will change what type of install is used (stable, nightly, beta, etc).

Are any dependencies required?

Link

Some dependencies are required to add ppas into your distro via terminal, by typing:

sudo apt-get install python-software-properties pkg-config

How do I add or remove ppas?

Link

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
sudo add-apt-repository -r ppa:current_XBMC_providing_ppa
You can add a ppa to your distro's sources list via terminal, by typing
sudo add-apt-repository ppa:the_ppa_you_wish_to_use

How do I install XBMC?

Link

After adding or removing any ppa you need to refresh your sources list and finally install XBMC, by typing:

sudo apt-get update
sudo apt-get install xbmc xbmc-bin

How do I upgrade XBMC?

Link

After adding or removing any ppa you need to refresh your sources list and finally upgrade xbmc, by typing:

sudo apt-get update
sudo apt-get --only-upgrade install xbmc xbmc-bin

Why wont XBMC upgrade?

Link

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 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.

How do I uninstall XBMC?

Link

If you need to remove and purge an application and finally remove/purge XBMC, by typing:

sudo apt-get update
sudo apt-get remove xbmc*
sudo apt-get purge xbmc*

How to install a specific versions?

Link

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. apt-get install packagename=version is one way to achieve this.

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

Hint: For e.g. You can use result of apt-cache policy xbmc 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.

What are PPA build dependencies?

Link

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 REAME.linux and/or 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