Project

General

Profile

AptRepositories » History » Version 131

Mark Clarkstone, 2019-07-02 01:13

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 131 Mark Clarkstone
(!) 07/01/2019 - *+Unstable+ packages for buster* are available for i386/amd64. For armhf see #5673#note-3. 
12
13
+We're working on getting stable [4.2.8] for buster sorted ASAP+.
14 130 Mark Clarkstone
15 126 Mark Clarkstone
(/) 03/04/2018 - OK
16 1 Adam Sutton
17 130 Mark Clarkstone
Please report any issues here - #5264.
18 1 Adam Sutton
19 117 Mark Clarkstone
h3. Build Types
20 1 Adam Sutton
21 117 Mark Clarkstone
| *Build Type* | *Description*             | *(Current) Version* | *Repo Component* |
22 121 Mark Clarkstone
| Stable       | Latest release and fixes  | v4.2.7-*~githash      | stable           |
23
| Development  | Development builds        | v4.3.*-*~githash      | unstable         |
24 1 Adam Sutton
25 117 Mark Clarkstone
(/) Stable is the +recommended+ choice for most people.
26
(!) Development is for those who want to help develop and test the latest code.
27 1 Adam Sutton
28 117 Mark Clarkstone
*But, where's release?!*
29 1 Adam Sutton
30 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.
31 101 Mark Clarkstone
32 117 Mark Clarkstone
h3. Supported Distros and Architectures
33 1 Adam Sutton
34 117 Mark Clarkstone
| *Distro*            | *Code-name*      | *Architectures*    | *Notes*                                    |
35
| Debian Stretch 9    | stretch          | amd64, i386        | None                                       |
36
| Debian Jessie 8     | jessie           | amd64, i386        | See footnote 1[1]                          |
37
| Ubuntu Bionic 18.04 | bionic           | amd64, i386        | None                                       |
38
| Ubuntu Xenial 16.04 | xenial           | amd64, i386, arm64 | See footnote 1[1] - applies to arm64 only  |
39
| Ubuntu Trusty 14.04 | trusty           | amd64, i386        | None                                       |
40
| Raspbian Stretch 9  | raspbian-stretch | armhf              | See footnote 1[1]                          |
41
| Raspbian Jessie 8   | raspbian-jessie  | armhf              | See footnote 1[1]                          |
42 72 Mark Clarkstone
43 117 Mark Clarkstone
fn1. Transcoding support is unavailable on these distros.
44 1 Adam Sutton
45 117 Mark Clarkstone
-
46 1 Adam Sutton
47 117 Mark Clarkstone
h3. Usage
48 1 Adam Sutton
49 117 Mark Clarkstone
Here are some copy/paste examples on how to use the repo that should work for most[2].
50 1 Adam Sutton
51 117 Mark Clarkstone
h4. 1. Install Required Packages and add the Repository PGP key
52 116 Andreas Smas
53 117 Mark Clarkstone
<pre>
54
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
55
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
56
</pre>
57 1 Adam Sutton
58 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>
59
60
-
61
62
h4. 2. Create/Add the Sources List
63
64
*Raspbian users (and anyone else who can't install/use lsb-release) please see the third footnote[3]*.
65
66
Stable:
67 94 Mark Clarkstone
<pre>
68 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'
69 1 Adam Sutton
</pre>
70 94 Mark Clarkstone
71 117 Mark Clarkstone
Unstable:
72 94 Mark Clarkstone
<pre>
73 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'
74 1 Adam Sutton
</pre>
75 83 Mark Clarkstone
76 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.
77 94 Mark Clarkstone
78 117 Mark Clarkstone
fn3001. Examples.. 
79
<pre>
80
echo "deb http://apt.tvheadend.org/stable raspbian-jessie main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
81
echo "deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
82 94 Mark Clarkstone
</pre>
83
84 117 Mark Clarkstone
fn3002. *Tip:* If you want to use unstable, simply replace _stable_ with _unstable_.
85 94 Mark Clarkstone
86 117 Mark Clarkstone
-
87 94 Mark Clarkstone
88 117 Mark Clarkstone
h4. 3. Update Sources and Install
89 94 Mark Clarkstone
90
<pre>
91 117 Mark Clarkstone
sudo apt-get update
92
sudo apt-get install tvheadend
93 94 Mark Clarkstone
</pre>
94 106 Mark Clarkstone
95 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> :)
96 21 Mark Clarkstone
97 117 Mark Clarkstone
Job done!
98 21 Mark Clarkstone
99 119 Mark Clarkstone
h3. Help / Feedback
100 21 Mark Clarkstone
101 119 Mark Clarkstone
Please add to issue #5264 or join the IRC channel to report problems/give feedback.
102 117 Mark Clarkstone
103 28 Adam Sutton
---
104
105 117 Mark Clarkstone
h2. Third-party
106 1 Adam Sutton
107 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 ;) ). 
108 1 Adam Sutton
109 117 Mark Clarkstone
In any case we'll try our best to help, or point you to where you can get some!
110 50 Jaroslav Kysela
111 117 Mark Clarkstone
h3. (Older) Official Bintray
112 58 Mark Clarkstone
113 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.
114 58 Mark Clarkstone
115 117 Mark Clarkstone
h4. What Happened to the Bintray Repository?
116 58 Mark Clarkstone
117 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.* :( 
118 58 Mark Clarkstone
119 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.
120 58 Mark Clarkstone
121 117 Mark Clarkstone
*Tip:* You can use both apt.tvheadend.org and bintray.com/tvheadend
122
123
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.
124
125
-
126
127 58 Mark Clarkstone
h3. Help
128
129 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.
130 58 Mark Clarkstone
131 117 Mark Clarkstone
---
132 62 Mark Clarkstone
133 58 Mark Clarkstone
h3. Ubuntu PPA
134 72 Mark Clarkstone
135 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.
136 57 Mark Clarkstone
137 117 Mark Clarkstone
h4. Status
138
139
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.
140
141 1 Adam Sutton
h4. Usage
142 78 Mark Clarkstone
143 117 Mark Clarkstone
*1. Pick a Build Type*
144 1 Adam Sutton
145 118 Mark Clarkstone
For the stable PPA containing daily builds from the latest stable branch:
146 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
147 72 Mark Clarkstone
148 118 Mark Clarkstone
For the unstable PPA containing daily builds from master:
149 96 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
150
151 117 Mark Clarkstone
*2. Update Sources*
152 107 Mark Clarkstone
153
<pre>sudo apt update</pre>
154
155 117 Mark Clarkstone
*3. Install* 
156 72 Mark Clarkstone
<pre>sudo apt install tvheadend</pre>
157
158
h4. Help
159
160 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.