Project

General

Profile

AptRepositories » History » Version 35

Mark Clarkstone, 2016-04-04 18:35
Fix the instructions (again).

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
** Precise (12.04) - i386 / amd64
20
** Trusty (14.04) - i386 / amd64
21
** Vivid (15.04) - i386 / amd64
22 1 Adam Sutton
23 34 Mark Clarkstone
* Debian and Raspbian
24
** Wheezy - i386 / amd64 / ARMv6:armhf
25
** Jessie - i386 / amd64 / ARMv6:armhf
26 1 Adam Sutton
27 34 Mark Clarkstone
Notes:
28
it's the intention to include Sid as well, unfortunately there have been some hiccups getting this working.
29
*Raspberry Pi users* be aware that unstable and stable builds are lagging behind due to build issues, please use the release build for now.
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 32 Mark Clarkstone
Select which build type you want and add the repository accordingly:
40 5 Andy Brown
41 1 Adam Sutton
<pre>
42 35 Mark Clarkstone
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE" | sudo tee -a /etc/apt/sources.list
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 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.
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 33 Mark Clarkstone
Select which build type you want and add the repository accordingly:
94 21 Mark Clarkstone
95 1 Adam Sutton
<pre>
96 35 Mark Clarkstone
echo "deb http://dl.bintray.com/dreamcat4/ubuntu BUILDTYPE main" | sudo tee -a /etc/apt/sources.list
97 34 Mark Clarkstone
sudo apt-add-repository "http://dl.bintray.com/dreamcat4/ubuntu BUILDTYPE main"
98 21 Mark Clarkstone
sudo apt-get update
99
sudo apt-get install tvheadend
100
</pre>
101
102 28 Adam Sutton
103 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:
104
105
<pre>
106 28 Adam Sutton
master > unstable > testing > stable
107 21 Mark Clarkstone
</pre>
108
109
h2. Other 
110 28 Adam Sutton
111 21 Mark Clarkstone
If you require builds that are not currently supported see https://github.com/tvheadend/tvheadend-build#looking-for-tvheadend-builds
112 28 Adam Sutton
113
---
114 1 Adam Sutton
115 28 Adam Sutton
h2. Help Me!
116
117 1 Adam Sutton
*So which repository do I use?*
118 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.
119 1 Adam Sutton
120
*Stable, unstable/master, testing or release?*
121 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.
122
* 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.
123
* If you just want the least amount of hassle (and bugs) choose the release builds.