Project

General

Profile

AptRepositories » History » Version 137

saen acro, 2022-12-29 15:24

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
12 133 Mark Clarkstone
(/) *Development is the +recommended+ choice for most people as Stable is very out-of-date at the moment.*
13 130 Mark Clarkstone
14 133 Mark Clarkstone
2021/08/15 : Unstable builds are available for Debian Bullseye on amd64 and i386.
15 1 Adam Sutton
16 130 Mark Clarkstone
Please report any issues here - #5264.
17 1 Adam Sutton
18 117 Mark Clarkstone
h3. Build Types
19 1 Adam Sutton
20 117 Mark Clarkstone
| *Build Type* | *Description*             | *(Current) Version* | *Repo Component* |
21 121 Mark Clarkstone
| Stable       | Latest release and fixes  | v4.2.7-*~githash      | stable           |
22 132 Flole Systems
| Development  | Development builds        | v4.3.*-*~githash      | unstable         |
23 1 Adam Sutton
24 117 Mark Clarkstone
*But, where's release?!*
25 1 Adam Sutton
26
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.
27 117 Mark Clarkstone
28
h3. Supported Distros and Architectures
29
30 133 Mark Clarkstone
Rather than listing all the supported distros please take a look at the directory listing on "apt.tvheadend.org":http://apt.tvheadend.org/ for your chosen build type.
31 117 Mark Clarkstone
32 72 Mark Clarkstone
33 133 Mark Clarkstone
fn1. Transcoding support is unavailable on some builds/distros.
34
35 117 Mark Clarkstone
-
36 1 Adam Sutton
37 117 Mark Clarkstone
h3. Usage
38 1 Adam Sutton
39 117 Mark Clarkstone
Here are some copy/paste examples on how to use the repo that should work for most[2].
40 1 Adam Sutton
41 137 saen acro
h4. 1. Install Required Packages and add the Repository PGP key *+OUTDATED+*
42 116 Andreas Smas
43 117 Mark Clarkstone
<pre>
44
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
45 134 Mark Clarkstone
</pre>
46
47
<pre>
48 117 Mark Clarkstone
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
49
</pre>
50 134 Mark Clarkstone
51
*Note*: _apt-key_ on some newer distros may fail as it's no longer available, in such cases please run the following command instead.
52
53
<pre>
54
wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo tee /etc/apt/trusted.gpg.d/tvheadend.asc
55
</pre>
56
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 1 Adam Sutton
Job done!
98 117 Mark Clarkstone
99 1 Adam Sutton
h3. Help / Feedback
100 21 Mark Clarkstone
101 1 Adam Sutton
Please add to issue #5264 or join the IRC channel to report problems/give feedback.
102 119 Mark Clarkstone
103 21 Mark Clarkstone
---
104 119 Mark Clarkstone
105 136 saen acro
h3. user#14626 repository on cloudsmith.io
106
107
https://cloudsmith.io/~tvheadend/
108
109
Simple setup:
110
<pre><code class="shell">
111
curl -1sLf \
112
  'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' \
113
  | sudo -E bash
114
</code></pre>
115
116
---
117
118 135 saen acro
h2. Third-party 
119
120
h3. %{color: #f00}*Unofficial version!*%
121
%{background:lightgreen}*It can contain unpublic code, 
122
reporting bug's in this version is not acceptable*%<notextile></notextile>
123 28 Adam Sutton
124 1 Adam Sutton
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 ;) ). 
125
126 117 Mark Clarkstone
In any case we'll try our best to help, or point you to where you can get some!
127 58 Mark Clarkstone
128 133 Mark Clarkstone
-
129 58 Mark Clarkstone
130 133 Mark Clarkstone
h3. What Happened to the Bintray Repository?
131 58 Mark Clarkstone
132 133 Mark Clarkstone
Unfortunately due to rate-limiting we've decided to stop/end the use of Bintray. *Don't worry the repository won't be disappearing[4], it just won't be updated - sorry about that.* :( 
133 58 Mark Clarkstone
134 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.
135
136
*Tip:* You can use both apt.tvheadend.org and bintray.com/tvheadend
137
138
-
139
140 58 Mark Clarkstone
h3. Help
141
142 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.
143 58 Mark Clarkstone
144 117 Mark Clarkstone
---
145 62 Mark Clarkstone
146 58 Mark Clarkstone
h3. Ubuntu PPA
147 72 Mark Clarkstone
148 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.
149 57 Mark Clarkstone
150 117 Mark Clarkstone
h4. Status
151
152
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.
153
154 1 Adam Sutton
h4. Usage
155 78 Mark Clarkstone
156 117 Mark Clarkstone
*1. Pick a Build Type*
157 1 Adam Sutton
158 118 Mark Clarkstone
For the stable PPA containing daily builds from the latest stable branch:
159 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
160 72 Mark Clarkstone
161 118 Mark Clarkstone
For the unstable PPA containing daily builds from master:
162 96 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
163
164 117 Mark Clarkstone
*2. Update Sources*
165 107 Mark Clarkstone
166
<pre>sudo apt update</pre>
167
168 117 Mark Clarkstone
*3. Install* 
169 72 Mark Clarkstone
<pre>sudo apt install tvheadend</pre>
170
171
h4. Help
172
173 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.