Project

General

Profile

AptRepositories » History » Version 123

Mark Clarkstone, 2018-11-19 12:50

1 72 Mark Clarkstone
h1. APT Repositories
2 1 Adam Sutton
3 117 Mark Clarkstone
{{>toc}} 
4 50 Jaroslav Kysela
5 117 Mark Clarkstone
h2. Official
6 1 Adam Sutton
7 117 Mark Clarkstone
Our official repository and packages are provided by "Doozer":https://doozer.io on https://apt.tvheadend.org.
8 1 Adam Sutton
9 117 Mark Clarkstone
h4. Status
10 87 Mark Clarkstone
11 1 Adam Sutton
(!) 11/19/2018 - Newer builds for Raspbian Jessie/Stretch and Xenial +armhf+ are stuck, older versions still available, will resolve ASAP.
12 123 Mark Clarkstone
(!) 10/23/2018 - Some TLS issues on older distros - see #5264.
13 1 Adam Sutton
14 117 Mark Clarkstone
h3. Build Types
15 1 Adam Sutton
16 117 Mark Clarkstone
| *Build Type* | *Description*             | *(Current) Version* | *Repo Component* |
17 121 Mark Clarkstone
| Stable       | Latest release and fixes  | v4.2.7-*~githash      | stable           |
18
| Development  | Development builds        | v4.3.*-*~githash      | unstable         |
19 1 Adam Sutton
20 117 Mark Clarkstone
(/) Stable is the +recommended+ choice for most people.
21
(!) Development is for those who want to help develop and test the latest code.
22 1 Adam Sutton
23 117 Mark Clarkstone
*But, where's release?!*
24 1 Adam Sutton
25 117 Mark Clarkstone
We've decided not to offer "frozen" builds anymore, this is so that people get fixes much sooner. Those that are currently using release can modify their apt sources to stable, or continue as they are now, and move when they feel ready.
26 101 Mark Clarkstone
27 117 Mark Clarkstone
h3. Supported Distros and Architectures
28 1 Adam Sutton
29 117 Mark Clarkstone
| *Distro*            | *Code-name*      | *Architectures*    | *Notes*                                    |
30
| Debian Stretch 9    | stretch          | amd64, i386        | None                                       |
31
| Debian Jessie 8     | jessie           | amd64, i386        | See footnote 1[1]                          |
32
| Ubuntu Bionic 18.04 | bionic           | amd64, i386        | None                                       |
33
| Ubuntu Xenial 16.04 | xenial           | amd64, i386, arm64 | See footnote 1[1] - applies to arm64 only  |
34
| Ubuntu Trusty 14.04 | trusty           | amd64, i386        | None                                       |
35
| Raspbian Stretch 9  | raspbian-stretch | armhf              | See footnote 1[1]                          |
36
| Raspbian Jessie 8   | raspbian-jessie  | armhf              | See footnote 1[1]                          |
37 72 Mark Clarkstone
38 117 Mark Clarkstone
fn1. Transcoding support is unavailable on these distros.
39 1 Adam Sutton
40 117 Mark Clarkstone
-
41 1 Adam Sutton
42 117 Mark Clarkstone
h3. Usage
43 1 Adam Sutton
44 117 Mark Clarkstone
Here are some copy/paste examples on how to use the repo that should work for most[2].
45 1 Adam Sutton
46 117 Mark Clarkstone
h4. 1. Install Required Packages and add the Repository PGP key
47 116 Andreas Smas
48 117 Mark Clarkstone
<pre>
49
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
50
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
51
</pre>
52 1 Adam Sutton
53 117 Mark Clarkstone
fn2. We assume you have sudo installed. If not, and you're root, you can omit sudo, otherwise please ask your administrator to.. <pre>apt-get install sudo; usermod -aG sudo <your account name></pre>
54
55
-
56
57
h4. 2. Create/Add the Sources List
58
59
*Raspbian users (and anyone else who can't install/use lsb-release) please see the third footnote[3]*.
60
61
Stable:
62 94 Mark Clarkstone
<pre>
63 117 Mark Clarkstone
sudo sh -c 'echo "deb https://apt.tvheadend.org/stable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list'
64 1 Adam Sutton
</pre>
65 94 Mark Clarkstone
66 117 Mark Clarkstone
Unstable:
67 94 Mark Clarkstone
<pre>
68 117 Mark Clarkstone
sudo sh -c 'echo "deb https://apt.tvheadend.org/unstable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list'
69 1 Adam Sutton
</pre>
70 83 Mark Clarkstone
71 117 Mark Clarkstone
fn3. Unfortunately you won't be able to use the command, at least not in the way it's shown, you need to replace " $(lsb_release -sc)" with "raspbian-stretch", "raspbian-jessie" or your distros code-name.
72 94 Mark Clarkstone
73 117 Mark Clarkstone
fn3001. Examples.. 
74
<pre>
75
echo "deb http://apt.tvheadend.org/stable raspbian-jessie main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
76
echo "deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
77 94 Mark Clarkstone
</pre>
78
79 117 Mark Clarkstone
fn3002. *Tip:* If you want to use unstable, simply replace _stable_ with _unstable_.
80 94 Mark Clarkstone
81 117 Mark Clarkstone
-
82 94 Mark Clarkstone
83 117 Mark Clarkstone
h4. 3. Update Sources and Install
84 94 Mark Clarkstone
85
<pre>
86 117 Mark Clarkstone
sudo apt-get update
87
sudo apt-get install tvheadend
88 94 Mark Clarkstone
</pre>
89 106 Mark Clarkstone
90 117 Mark Clarkstone
*Tip:* On some installs (generally fresh ones) you might be asked to enter some details. If you'd like to reconfigure these details later, you can run.. <pre>sudo dpkg-reconfigure tvheadend</pre> and afterwards.. <pre>sudo service tvheadend restart</pre> :)
91 21 Mark Clarkstone
92 117 Mark Clarkstone
Job done!
93 21 Mark Clarkstone
94 119 Mark Clarkstone
h3. Help / Feedback
95 21 Mark Clarkstone
96 119 Mark Clarkstone
Please add to issue #5264 or join the IRC channel to report problems/give feedback.
97 117 Mark Clarkstone
98 28 Adam Sutton
---
99
100 117 Mark Clarkstone
h2. Third-party
101 1 Adam Sutton
102 117 Mark Clarkstone
Third-party repositories are provided as-is and supported by the person who manages them, we cannot guarantee that we'll be able to help with issues relating to the use of these packages/repositories. The older official Bintray is exempt from this (Yes we know it's not technically third party ;) ). 
103 1 Adam Sutton
104 117 Mark Clarkstone
In any case we'll try our best to help, or point you to where you can get some!
105 50 Jaroslav Kysela
106 117 Mark Clarkstone
h3. (Older) Official Bintray
107 58 Mark Clarkstone
108 117 Mark Clarkstone
This is our older official Bintray repository, packages are built using Doozer, the repository itself is provided by "Bintray":https://bintray.com via https://bintray.com/tvheadend.
109 58 Mark Clarkstone
110 117 Mark Clarkstone
h4. What Happened to the Bintray Repository?
111 58 Mark Clarkstone
112 117 Mark Clarkstone
Unfortunately due to rate-limiting we've decided to phase-out (SLOWLY) the use of Bintray. *Don't worry the repository won't be disappearing[4], it just won't be updated - sorry about that.* :( 
113 58 Mark Clarkstone
114 117 Mark Clarkstone
You can continue to use Bintray if you like, old instructions can be viewed "here":https://tvheadend.org/projects/tvheadend/wiki/AptRepository/116.
115 58 Mark Clarkstone
116 117 Mark Clarkstone
*Tip:* You can use both apt.tvheadend.org and bintray.com/tvheadend
117
118
fn4. mpmc's third-party Bintray repository will still be updated regularly, so Raspbian users don't panic - see the link above for usage. :) However, it's now recommended that you use the official repo.
119
120
-
121
122 58 Mark Clarkstone
h3. Help
123
124 119 Mark Clarkstone
Please tell us here #5264, make sure you mention you're using Bintray. You can also join the IRC channel if you prefer.
125 58 Mark Clarkstone
126 117 Mark Clarkstone
---
127 62 Mark Clarkstone
128 58 Mark Clarkstone
h3. Ubuntu PPA
129 72 Mark Clarkstone
130 117 Mark Clarkstone
Unofficial PPAs are provided by Michael Marley that provide packages for Artful, Zesty, Yakkety, Xenial and so on for the amd64, arm64, armhf, i386 and ppc64el architectures.
131 57 Mark Clarkstone
132 117 Mark Clarkstone
h4. Status
133
134
Please see "here (stable)":https://launchpad.net/~mamarley/+archive/ubuntu/tvheadend-git-stable and "here (unstable)":https://launchpad.net/~mamarley/+archive/ubuntu/tvheadend-git for PPA status.
135
136 1 Adam Sutton
h4. Usage
137 78 Mark Clarkstone
138 117 Mark Clarkstone
*1. Pick a Build Type*
139 1 Adam Sutton
140 118 Mark Clarkstone
For the stable PPA containing daily builds from the latest stable branch:
141 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
142 72 Mark Clarkstone
143 118 Mark Clarkstone
For the unstable PPA containing daily builds from master:
144 96 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
145
146 117 Mark Clarkstone
*2. Update Sources*
147 107 Mark Clarkstone
148
<pre>sudo apt update</pre>
149
150 117 Mark Clarkstone
*3. Install* 
151 72 Mark Clarkstone
<pre>sudo apt install tvheadend</pre>
152
153
h4. Help
154
155 1 Adam Sutton
If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley.