Project

General

Profile

AptRepositories » History » Version 138

saen acro, 2022-12-29 15:29

1 72 Mark Clarkstone
h1. APT Repositories
2 1 Adam Sutton
3 117 Mark Clarkstone
{{>toc}} 
4 50 Jaroslav Kysela
5 138 saen acro
h2. user#14626 repository on cloudsmith.io
6 1 Adam Sutton
7 138 saen acro
https://cloudsmith.io/~tvheadend/
8
9
Simple setup:
10
<pre><code class="shell">
11
curl -1sLf \
12
  'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' \
13
  | sudo -E bash
14
</code></pre>
15
This repository support 
16
---
17
18
h2. *+OUTDATED+* Official 
19
20 117 Mark Clarkstone
Our official repository and packages are provided by "Doozer":https://doozer.io on https://apt.tvheadend.org.
21 1 Adam Sutton
22 117 Mark Clarkstone
h4. Status
23 87 Mark Clarkstone
24 1 Adam Sutton
25 133 Mark Clarkstone
(/) *Development is the +recommended+ choice for most people as Stable is very out-of-date at the moment.*
26 130 Mark Clarkstone
27 133 Mark Clarkstone
2021/08/15 : Unstable builds are available for Debian Bullseye on amd64 and i386.
28 1 Adam Sutton
29 130 Mark Clarkstone
Please report any issues here - #5264.
30 1 Adam Sutton
31 117 Mark Clarkstone
h3. Build Types
32 1 Adam Sutton
33 117 Mark Clarkstone
| *Build Type* | *Description*             | *(Current) Version* | *Repo Component* |
34 121 Mark Clarkstone
| Stable       | Latest release and fixes  | v4.2.7-*~githash      | stable           |
35 132 Flole Systems
| Development  | Development builds        | v4.3.*-*~githash      | unstable         |
36 1 Adam Sutton
37 117 Mark Clarkstone
*But, where's release?!*
38 1 Adam Sutton
39
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.
40 117 Mark Clarkstone
41
h3. Supported Distros and Architectures
42
43 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.
44 117 Mark Clarkstone
45 72 Mark Clarkstone
46 133 Mark Clarkstone
fn1. Transcoding support is unavailable on some builds/distros.
47
48 117 Mark Clarkstone
-
49 1 Adam Sutton
50 117 Mark Clarkstone
h3. Usage
51 1 Adam Sutton
52 117 Mark Clarkstone
Here are some copy/paste examples on how to use the repo that should work for most[2].
53 1 Adam Sutton
54 137 saen acro
h4. 1. Install Required Packages and add the Repository PGP key *+OUTDATED+*
55 116 Andreas Smas
56 117 Mark Clarkstone
<pre>
57
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
58 134 Mark Clarkstone
</pre>
59
60
<pre>
61 117 Mark Clarkstone
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
62
</pre>
63 134 Mark Clarkstone
64
*Note*: _apt-key_ on some newer distros may fail as it's no longer available, in such cases please run the following command instead.
65
66
<pre>
67
wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo tee /etc/apt/trusted.gpg.d/tvheadend.asc
68
</pre>
69
70 1 Adam Sutton
71 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>
72
73
-
74
75
h4. 2. Create/Add the Sources List
76
77
*Raspbian users (and anyone else who can't install/use lsb-release) please see the third footnote[3]*.
78
79
Stable:
80 94 Mark Clarkstone
<pre>
81 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'
82 1 Adam Sutton
</pre>
83 94 Mark Clarkstone
84 117 Mark Clarkstone
Unstable:
85 94 Mark Clarkstone
<pre>
86 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'
87 1 Adam Sutton
</pre>
88 83 Mark Clarkstone
89 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.
90 94 Mark Clarkstone
91 117 Mark Clarkstone
fn3001. Examples.. 
92
<pre>
93
echo "deb http://apt.tvheadend.org/stable raspbian-jessie main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
94
echo "deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
95 94 Mark Clarkstone
</pre>
96
97 117 Mark Clarkstone
fn3002. *Tip:* If you want to use unstable, simply replace _stable_ with _unstable_.
98 94 Mark Clarkstone
99 117 Mark Clarkstone
-
100 94 Mark Clarkstone
101 117 Mark Clarkstone
h4. 3. Update Sources and Install
102 94 Mark Clarkstone
103
<pre>
104 21 Mark Clarkstone
sudo apt-get update
105 119 Mark Clarkstone
sudo apt-get install tvheadend
106 136 saen acro
</pre>
107
108
*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> :)
109
110
Job done!
111
112
h3. Help / Feedback
113
114
Please add to issue #5264 or join the IRC channel to report problems/give feedback.
115
116
---
117
118
119 135 saen acro
h2. Third-party 
120
121
h3. %{color: #f00}*Unofficial version!*%
122
%{background:lightgreen}*It can contain unpublic code, 
123
reporting bug's in this version is not acceptable*%<notextile></notextile>
124 28 Adam Sutton
125 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 ;) ). 
126
127 117 Mark Clarkstone
In any case we'll try our best to help, or point you to where you can get some!
128 58 Mark Clarkstone
129 133 Mark Clarkstone
-
130 58 Mark Clarkstone
131 133 Mark Clarkstone
h3. What Happened to the Bintray Repository?
132 58 Mark Clarkstone
133 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.* :( 
134 58 Mark Clarkstone
135 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.
136
137
*Tip:* You can use both apt.tvheadend.org and bintray.com/tvheadend
138
139
-
140
141 58 Mark Clarkstone
h3. Help
142
143 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.
144 58 Mark Clarkstone
145 117 Mark Clarkstone
---
146 62 Mark Clarkstone
147 58 Mark Clarkstone
h3. Ubuntu PPA
148 72 Mark Clarkstone
149 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.
150 57 Mark Clarkstone
151 117 Mark Clarkstone
h4. Status
152
153
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.
154
155 1 Adam Sutton
h4. Usage
156 78 Mark Clarkstone
157 117 Mark Clarkstone
*1. Pick a Build Type*
158 1 Adam Sutton
159 118 Mark Clarkstone
For the stable PPA containing daily builds from the latest stable branch:
160 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
161 72 Mark Clarkstone
162 118 Mark Clarkstone
For the unstable PPA containing daily builds from master:
163 96 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
164
165 117 Mark Clarkstone
*2. Update Sources*
166 107 Mark Clarkstone
167
<pre>sudo apt update</pre>
168
169 117 Mark Clarkstone
*3. Install* 
170 72 Mark Clarkstone
<pre>sudo apt install tvheadend</pre>
171
172
h4. Help
173
174 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.