AptRepositories-draft » History » Version 3
Mark Clarkstone, 2018-10-18 23:17
1 | 1 | Mark Clarkstone | h1. APT Repositories |
---|---|---|---|
2 | |||
3 | 3 | Mark Clarkstone | {{>toc}} |
4 | 1 | Mark Clarkstone | |
5 | 3 | Mark Clarkstone | h2. Official |
6 | 1 | Mark Clarkstone | |
7 | 3 | Mark Clarkstone | Our official repository and packages are provided by "Doozer":https://doozer.io on https://apt.tvheadend.org. |
8 | 1 | Mark Clarkstone | |
9 | 3 | Mark Clarkstone | h4. Status |
10 | 1 | Mark Clarkstone | |
11 | 3 | Mark Clarkstone | (/) 10/18/2018 - OK, no reported issues. |
12 | 1 | Mark Clarkstone | |
13 | 3 | Mark Clarkstone | h3. Build Types |
14 | 1 | Mark Clarkstone | |
15 | 3 | Mark Clarkstone | | *Build Type* | *Description* | *(Current) Version* | *Repo Component* | |
16 | | Stable | Latest release and fixes | v4.2.7~githash | stable | |
||
17 | | Development | Development builds | v4.3.*~githash | unstable | |
||
18 | 1 | Mark Clarkstone | |
19 | 3 | Mark Clarkstone | (/) Stable is the +recommended+ choice for most people. |
20 | (!) Development is for those who want to help develop and test the latest code. |
||
21 | 1 | Mark Clarkstone | |
22 | 3 | Mark Clarkstone | h3. Supported Distros and Architectures |
23 | 1 | Mark Clarkstone | |
24 | 3 | Mark Clarkstone | | *Distro* | *Code-name* | *Architectures* | *Notes* | |
25 | | Debian Stretch 9 | stretch | amd64, i386 | None | |
||
26 | | Debian Jessie 8 | jessie | amd64, i386 | See footnote 1[1] | |
||
27 | | Ubuntu Bionic 18.04 | bionic | amd64, i386 | None | |
||
28 | | Ubuntu Xenial 16.04 | xenial | amd64, i386, arm64 | See footnote 1[1] - applies to arm64 only | |
||
29 | | Ubuntu Trusty 14.04 | trusty | amd64, i386 | None | |
||
30 | | Raspbian Stretch 9 | raspbian-stretch | armhf | See footnote 1[1] | |
||
31 | | Raspbian Jessie 8 | raspbian-jessie | armhf | See footnote 1[1] | |
||
32 | 1 | Mark Clarkstone | |
33 | 3 | Mark Clarkstone | fn1. Transcoding support is unavailable on these distros. |
34 | 1 | Mark Clarkstone | |
35 | h3. Usage |
||
36 | |||
37 | 3 | Mark Clarkstone | Here are some copy/paste examples on how to use the repo that should work for most[2]. |
38 | 1 | Mark Clarkstone | |
39 | |||
40 | 3 | Mark Clarkstone | h4. 1. Install Required Packages and add the Repository PGP key |
41 | |||
42 | 1 | Mark Clarkstone | <pre> |
43 | 3 | Mark Clarkstone | sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates |
44 | sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add - |
||
45 | 2 | Mark Clarkstone | </pre> |
46 | 1 | Mark Clarkstone | |
47 | 3 | 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</pre> and <pre>usermod -aG sudo <your account name></pre> |
48 | 1 | Mark Clarkstone | |
49 | 3 | Mark Clarkstone | h4. 2. Create/Add the Sources List |
50 | 1 | Mark Clarkstone | |
51 | 3 | Mark Clarkstone | *Raspbian users (and anyone else who can't install/use lsb-release) please see the third footnote[3]*. |
52 | 1 | Mark Clarkstone | |
53 | 3 | Mark Clarkstone | Stable: |
54 | 1 | Mark Clarkstone | <pre> |
55 | 3 | Mark Clarkstone | sh -c 'echo "deb https://apt.tvheadend.org/stable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list' |
56 | 1 | Mark Clarkstone | </pre> |
57 | |||
58 | 3 | Mark Clarkstone | Unstable: |
59 | 1 | Mark Clarkstone | <pre> |
60 | 3 | Mark Clarkstone | sh -c 'echo "deb https://apt.tvheadend.org/unstable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list' |
61 | 1 | Mark Clarkstone | </pre> |
62 | |||
63 | 3 | 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. |
64 | 1 | Mark Clarkstone | |
65 | 3 | Mark Clarkstone | fn3001. Examples.. |
66 | > <pre>echo "deb http://apt.tvheadend.org/stable raspbian-jessie main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list</pre> |
||
67 | > <pre>echo "deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list</pre> |
||
68 | 1 | Mark Clarkstone | |
69 | 3 | Mark Clarkstone | fn3002. *Tip:* If you want to use unstable, simply replace _stable_ with _unstable_. |
70 | 1 | Mark Clarkstone | |
71 | 3 | Mark Clarkstone | h4. 3. Update Sources and Install |
72 | |||
73 | 1 | Mark Clarkstone | <pre> |
74 | sudo apt-get update |
||
75 | sudo apt-get install tvheadend |
||
76 | </pre> |
||
77 | |||
78 | 3 | 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> :) |
79 | 1 | Mark Clarkstone | |
80 | 3 | Mark Clarkstone | Job done! |
81 | 1 | Mark Clarkstone | |
82 | h3. Help |
||
83 | |||
84 | Please open an issue or join the IRC channel to report problems with the official repository. |
||
85 | |||
86 | 3 | Mark Clarkstone | --- |
87 | 1 | Mark Clarkstone | |
88 | 3 | Mark Clarkstone | h2. Third-party |
89 | 1 | Mark Clarkstone | |
90 | 3 | 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 ;)). |
91 | |||
92 | In any case we'll try our best to help, or point you to where you can get some! |
||
93 | |||
94 | h3. (Older) Official Bintray |
||
95 | |||
96 | 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. |
||
97 | |||
98 | h4. What Happened to the Bintray Repository? |
||
99 | |||
100 | 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 as often :(.* |
||
101 | |||
102 | If you would like to use old instructions they can be viewed "here":https://tvheadend.org/projects/tvheadend/wiki/AptRepository/116 :) |
||
103 | |||
104 | 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 :) |
||
105 | |||
106 | h3. Help |
||
107 | |||
108 | Please open an issue or join the IRC channel to report problems with the official repository. |
||
109 | |||
110 | 1 | Mark Clarkstone | h3. Ubuntu PPA |
111 | |||
112 | Unofficial PPAs are provided by Michael Marley that provide packages for Artful, Zesty, Yakkety, and Xenial for the amd64, arm64, armhf, i386 and ppc64el architectures. |
||
113 | |||
114 | 3 | Mark Clarkstone | h4. Status |
115 | |||
116 | (!) 10/18/2018 - 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. |
||
117 | |||
118 | 1 | Mark Clarkstone | h4. Usage |
119 | |||
120 | 3 | Mark Clarkstone | *1. Pick a Build Type* |
121 | 1 | Mark Clarkstone | |
122 | For the Stable PPA containing daily builds from the latest stable branch: |
||
123 | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre> |
||
124 | |||
125 | For the Unstable PPA containing daily builds from master: |
||
126 | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre> |
||
127 | |||
128 | 3 | Mark Clarkstone | *2. Update Sources* |
129 | 1 | Mark Clarkstone | |
130 | <pre>sudo apt update</pre> |
||
131 | |||
132 | 3 | Mark Clarkstone | *3. Install* |
133 | 1 | Mark Clarkstone | <pre>sudo apt install tvheadend</pre> |
134 | |||
135 | h4. Help |
||
136 | |||
137 | If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley. |