Project

General

Profile

AptRepositories » History » Version 30

Mark Clarkstone, 2016-01-12 16:40

1 28 Adam Sutton
h1. Official Apt Repository
2 1 Adam Sutton
3 28 Adam Sutton
The official Apt repository has now been moved to https://bintray.com
4 1 Adam Sutton
5 28 Adam Sutton
Unfortunately the migration required a change to the repository structure that makes it's layout incompatible with the existing http://apt.tvheadend.org repository, therefore we have not tried to map the old URLs to the new repository. Instead the old repository will continue to exist for the foreseeable future (including updates), however we'd prefer if people could migrate to the bintray version. 
6 1 Adam Sutton
7 28 Adam Sutton
h2. Build type
8 1 Adam Sutton
9 28 Adam Sutton
As before there are 3 standard build types (though I've added a 4th to keep old users happy):
10
11
* release  - This will contain the latest official / stable release.
12
* stable   - This will contain a nightly build from the latest release branch. It will pick up fixes in prep. for the next release.
13
* unstable - This will contain a nightly build from the development branch (master). It will contain the bleeding edge, but could be potentially unstable.
14
* obsolete - This contains a build of the last release from the 3.4 branch, it will receive no further updates.
15
16
h2. Supported Distro's / Platforms
17
18 19 Adam Sutton
* Ubuntu
19
** Precise (12.04) - i386 / amd64
20
** Trusty (14.04) - i386 / amd64
21
** Vivid (15.04) - i386 / amd64
22 1 Adam Sutton
* Debian
23
** Wheezy - i386 / amd64
24 28 Adam Sutton
** Jessie - i386 / amd64 / armel
25
* Raspbian (ARMv6)
26 1 Adam Sutton
** Wheezy - armhf
27
** Jessie - armhf
28 7 Adam Sutton
29 1 Adam Sutton
Note: it's the intention to include Sid as well, unfortunately there have been some hiccups getting this working.
30 19 Adam Sutton
31 28 Adam Sutton
h2. Usage
32 8 Dave Chapman
33 28 Adam Sutton
First install bintray's GPG key:
34 19 Adam Sutton
35 1 Adam Sutton
<pre>
36 28 Adam Sutton
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
37 1 Adam Sutton
</pre>
38
39 28 Adam Sutton
Select which release type you want and add the repository accordingly:
40 5 Andy Brown
41 1 Adam Sutton
<pre>
42 29 Jaroslav Kysela
sudo apt-add-repository "http://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE"
43 1 Adam Sutton
sudo apt-get update
44
sudo apt-get install tvheadend
45
</pre>
46
47
Note: if you install more than one suite you will only ever get packages from the one holding the most recent version number, so the order of priority would be:
48 21 Mark Clarkstone
49
<pre>
50 28 Adam Sutton
unstable > stable > release > obsolete
51 21 Mark Clarkstone
</pre>
52
53 28 Adam Sutton
h2. Legacy Bintray Apt Repository
54 21 Mark Clarkstone
55 28 Adam Sutton
If you're still using the old http://bintray.com/dreamcat4 repository do not panic it's +still+ being supported for the forseeable future.
56 21 Mark Clarkstone
57 28 Adam Sutton
h3. Build type
58 21 Mark Clarkstone
59 28 Adam Sutton
This repository also provides 4 possible components. However they are slightly different to those in the official repository and some of the names have different meanings.
60 1 Adam Sutton
61 28 Adam Sutton
* master   - This will contain *nightly* builds from the master branch. This is equivalent to "unstable" in the official repo.
62
* unstable - This will contain *weekly* builds from the master branch. This has no equivalent in the official repo.
63
* testing  - This will contain *nightly* builds from the release/4.x branch. This is equivalent to "stable" in the official repo.
64
* stable   - This will contain the latest stable release. This is equivalent to "release" in the official repo.
65 21 Mark Clarkstone
66
h3. Supported Distro's / Platforms
67 1 Adam Sutton
68 28 Adam Sutton
+This repository only officially supports builds for one platform Ubuntu Trusty amd64.+
69 21 Mark Clarkstone
70 28 Adam Sutton
However the builds are known to work on a variety of other amd64 distributions:
71
72 1 Adam Sutton
* Ubuntu
73 28 Adam Sutton
** Trusty
74
** Utopic
75
** Vivid
76
* Debian
77
** Jessie
78 21 Mark Clarkstone
79 28 Adam Sutton
It may also work on the following:
80 21 Mark Clarkstone
81 28 Adam Sutton
* Mint
82
** Qiuana
83
** Rebecca or Cinnamon
84 21 Mark Clarkstone
85
h3. Usage
86 23 Mark Clarkstone
87 21 Mark Clarkstone
Before you can use the suites you probably want to import the GPG signing key:
88 24 Mark Clarkstone
89 21 Mark Clarkstone
<pre>
90 28 Adam Sutton
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
91 21 Mark Clarkstone
</pre>
92
93 28 Adam Sutton
Select which release type you want and add the repository accordingly:
94 21 Mark Clarkstone
95
<pre>
96 30 Mark Clarkstone
sudo apt-add-repository "http://dl.bintray.com/dreamcat4/ubuntu DISTRO BUILDTYPE"
97 21 Mark Clarkstone
sudo apt-get update
98
sudo apt-get install tvheadend
99
</pre>
100
101 28 Adam Sutton
102 21 Mark Clarkstone
Note: if you install more than one suite you will only ever get packages from the one holding the most recent version number, so the order of priority would be:
103
104
<pre>
105 28 Adam Sutton
master > unstable > testing > stable
106 21 Mark Clarkstone
</pre>
107
108 28 Adam Sutton
h2. Other 
109 21 Mark Clarkstone
110
If you require builds that are not currently supported see https://github.com/tvheadend/tvheadend-build#looking-for-tvheadend-builds
111
112
---
113
114 28 Adam Sutton
h2. Help Me!
115 21 Mark Clarkstone
116 28 Adam Sutton
*Why three repositories?*
117
There was a change in the naming of Tvheadend packages which caused the automated build scripts (that placed the latest builds on apt.tvheadend.org) to break and only [[Adam]] knew how to fix it unfortunately he was unavailable, and thus thanks to dreamcat the bintray repository was born!
118 1 Adam Sutton
119 28 Adam Sutton
Having resurrected the autobuild system, [[Adam]] then saw the benefits of bintray and decided to integrate the old build system (that fed apt.tvheadend.org) to also post to bintray.com. So quickly decided to migrate everything to bintray, but due to the nature of builds being provided it would not be compatible with either of the existing repo's.
120
121 1 Adam Sutton
*So which repository do I use?*
122 28 Adam Sutton
It's preferred that you use the official repository as this is more likely to received continued support. And even if the build system should break and [[Adam]] isn't available dreamcat and perexg now know how to feed the bintray repo by alternative means.
123 1 Adam Sutton
124
*Stable, unstable/master, testing or release?*
125 28 Adam Sutton
* If you want the latest and greatest features and don't mind bugs or crashes choose the unstable builds. It's not recommended this be used for production systems.
126
* If you want to test the latest changes (and don't mind a few minor bugs) that'll shortly be included in the next stable release, use the stable builds.
127
* If you just want the least amount of hassle (and bugs) choose the release builds.