Project

General

Profile

AptRepositories » History » Version 39

Mark Clarkstone, 2016-10-29 12:57
Add example + put distros in order.

1 28 Adam Sutton
h1. Official Apt Repository
2 1 Adam Sutton
3 31 Jaroslav Kysela
The official Apt repository has now been moved to https://bintray.com/tvheadend
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 39 Mark Clarkstone
** Xenial (16.04) - i386 / amd64
20 1 Adam Sutton
** Vivid (15.04) - i386 / amd64
21 39 Mark Clarkstone
** Trusty (14.04) - i386 / amd64
22
** Precise (12.04) - i386 / amd64
23 1 Adam Sutton
24 34 Mark Clarkstone
* Debian and Raspbian
25 39 Mark Clarkstone
** Jessie - i386 / amd64 / ARMv6:armhf (release build only)
26
** Wheezy - i386 / amd64 / ARMv6:armhf (release build only)
27 34 Mark Clarkstone
28
Notes:
29
it's the intention to include Sid as well, unfortunately there have been some hiccups getting this working.
30
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
Select which build type you want and add the repository accordingly:
40
41
<pre>
42
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE" | sudo tee -a /etc/apt/sources.list
43 39 Mark Clarkstone
</pre>
44
45
> Example:
46
> <pre>
47
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable" | sudo tee -a /etc/apt/sources.list
48
</pre>
49
50
<pre>
51 1 Adam Sutton
sudo apt-get update
52
sudo apt-get install tvheadend
53
</pre>
54
55
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:
56 21 Mark Clarkstone
57
<pre>
58 28 Adam Sutton
unstable > stable > release > obsolete
59 21 Mark Clarkstone
</pre>
60
61 28 Adam Sutton
h2. Legacy Bintray Apt Repository
62 21 Mark Clarkstone
63 32 Mark Clarkstone
If you're still using the old http://bintray.com/dreamcat4 repository do not panic it's +still+ being supported for the foreseeable future.
64 21 Mark Clarkstone
65 28 Adam Sutton
h3. Build type
66 21 Mark Clarkstone
67 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.
68 1 Adam Sutton
69 28 Adam Sutton
* master   - This will contain *nightly* builds from the master branch. This is equivalent to "unstable" in the official repo.
70
* unstable - This will contain *weekly* builds from the master branch. This has no equivalent in the official repo.
71
* testing  - This will contain *nightly* builds from the release/4.x branch. This is equivalent to "stable" in the official repo.
72
* stable   - This will contain the latest stable release. This is equivalent to "release" in the official repo.
73 21 Mark Clarkstone
74
h3. Supported Distro's / Platforms
75 1 Adam Sutton
76 28 Adam Sutton
+This repository only officially supports builds for one platform Ubuntu Trusty amd64.+
77 21 Mark Clarkstone
78 28 Adam Sutton
However the builds are known to work on a variety of other amd64 distributions:
79
80 1 Adam Sutton
* Ubuntu
81 28 Adam Sutton
** Trusty
82
** Utopic
83
** Vivid
84
* Debian
85
** Jessie
86 21 Mark Clarkstone
87 28 Adam Sutton
It may also work on the following:
88 21 Mark Clarkstone
89 28 Adam Sutton
* Mint
90
** Qiuana
91
** Rebecca or Cinnamon
92 21 Mark Clarkstone
93
h3. Usage
94 23 Mark Clarkstone
95 36 Mark Clarkstone
First install bintray's GPG key:
96 24 Mark Clarkstone
97 21 Mark Clarkstone
<pre>
98 28 Adam Sutton
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
99 21 Mark Clarkstone
</pre>
100
101 33 Mark Clarkstone
Select which build type you want and add the repository accordingly:
102 21 Mark Clarkstone
103 1 Adam Sutton
<pre>
104 35 Mark Clarkstone
echo "deb http://dl.bintray.com/dreamcat4/ubuntu BUILDTYPE main" | sudo tee -a /etc/apt/sources.list
105 34 Mark Clarkstone
sudo apt-add-repository "http://dl.bintray.com/dreamcat4/ubuntu BUILDTYPE main"
106 21 Mark Clarkstone
sudo apt-get update
107
sudo apt-get install tvheadend
108
</pre>
109
110 28 Adam Sutton
111 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:
112
113
<pre>
114 28 Adam Sutton
master > unstable > testing > stable
115 21 Mark Clarkstone
</pre>
116
117
h2. Other 
118 28 Adam Sutton
119 21 Mark Clarkstone
If you require builds that are not currently supported see https://github.com/tvheadend/tvheadend-build#looking-for-tvheadend-builds
120 28 Adam Sutton
121
---
122 1 Adam Sutton
123 28 Adam Sutton
h2. Help Me!
124
125 1 Adam Sutton
*So which repository do I use?*
126 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.
127 1 Adam Sutton
128
*Stable, unstable/master, testing or release?*
129 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.
130
* 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.
131
* If you just want the least amount of hassle (and bugs) choose the release builds.