AptRepositories » History » Version 1
Adam Sutton, 2013-04-04 17:17
| 1 | 1 | Adam Sutton | h1. Apt Repository |
|---|---|---|---|
| 2 | |||
| 3 | Tvheadend now maintains its own apt repository (rather than the previous use of launchpad). The repository is actually made up of three separate sub-repositories containing builds of varying stability: |
||
| 4 | |||
| 5 | * http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems. |
||
| 6 | * http://apt.tvheadend.org/beta - this holds beta builds for the next upcoming release, these are usually fairly stable though expect some problems early in the process. |
||
| 7 | * http://apt.tvheadend.org/unstable - this holds nightly (assuming something has changed) builds, they can vary from reasonably stable to downright awful, use at your own risk! |
||
| 8 | |||
| 9 | Before you can use the repositories you probably want to import the GPG signing key: |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add - |
||
| 13 | </pre> |
||
| 14 | |||
| 15 | You will then need to add which ever repository you feel is most appropriate, for example if you want to live on the edge: |
||
| 16 | |||
| 17 | <pre> |
||
| 18 | sudo apt-add-repository http://apt.tvheadend.org/unstable |
||
| 19 | </pre> |
||
| 20 | |||
| 21 | Note: if you install more than one repository you will only ever get packages from the one holding the most recent version number, so the order of priority would be: |
||
| 22 | |||
| 23 | unstable > beta > stable |
||
| 24 | |||
| 25 | You can easily remove a repository though, so should you suddenly come over all sensible: |
||
| 26 | |||
| 27 | <pre> |
||
| 28 | sudo apt-add-repository -r http://apt.tvheadend.org/unstable |
||
| 29 | </pre> |