Project

General

Profile

AptRepositories » History » Version 14

Mark Clarkstone, 2015-06-05 17:53

1 9 Jaroslav Kysela
h1. Ubuntu Apt Repository for 4.x
2
3
# Add Bintray's GPG key:
4 14 Mark Clarkstone
  <pre>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61</pre>
5 1 Adam Sutton
# Choose a release series, and add it to your sources.list
6
7
  ---
8 11 Jaroslav Kysela
9 10 Jaroslav Kysela
  * tvheadend - Master branch - nightly builds
10 12 Jaroslav Kysela
  <pre>echo deb https://dl.bintray.com/tvheadend/ubuntu master main | sudo tee -a /etc/apt/sources.list</pre>
11 9 Jaroslav Kysela
12 10 Jaroslav Kysela
  * tvheadend - Master branch - 'unstable' releases
13 12 Jaroslav Kysela
  <pre>echo deb https://dl.bintray.com/tvheadend/ubuntu unstable main | sudo tee -a /etc/apt/sources.list</pre>
14 10 Jaroslav Kysela
15
  * tvheadend - Stable branch - nightly builds
16 12 Jaroslav Kysela
  <pre>echo deb https://dl.bintray.com/tvheadend/ubuntu testing main | sudo tee -a /etc/apt/sources.list</pre>
17 10 Jaroslav Kysela
18
  * tvheadend - Stable branch - official releases
19 12 Jaroslav Kysela
  <pre>echo deb https://dl.bintray.com/tvheadend/ubuntu stable main | sudo tee -a /etc/apt/sources.list</pre> 
20 9 Jaroslav Kysela
21 13 Jaroslav Kysela
h1. Arch Package for 4.x
22
23
  https://aur.archlinux.org/packages/tvheadend/
24
25 9 Jaroslav Kysela
h1. Ubuntu Apt Repository up to 3.4
26 1 Adam Sutton
27
Tvheadend now maintains its own apt repository (rather than the previous use of launchpad). The repository is actually made up of three separate sub-repositories containing builds of varying stability:
28
29
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
30
* http://apt.tvheadend.org/beta - this holds beta builds for the next upcoming release, these are usually fairly stable though expect some problems early in the process.
31
* http://apt.tvheadend.org/unstable - this holds nightly (assuming something has changed) builds, they can vary from reasonably stable to downright awful, use at your own risk!
32
33 7 Adam Sutton
If you had previously added the launchpad PPA, please be sure to remove it (as it no longer exists)
34
35
<pre>
36
sudo apt-add-repository -r http://ppa.launchpad.net/adamsutton/tvheadend
37
</pre>
38
39 1 Adam Sutton
Before you can use the repositories you probably want to import the GPG signing key:
40
41
<pre>
42 8 Dave Chapman
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
43 1 Adam Sutton
</pre>
44
45 6 Adam Sutton
You will then need to add which ever repository you feel is most appropriate, for example if you want to be cautious and have a reliable system:
46 1 Adam Sutton
47
<pre>
48 6 Adam Sutton
sudo apt-add-repository http://apt.tvheadend.org/stable
49 3 Adam Sutton
sudo apt-get update
50 1 Adam Sutton
</pre>
51
52
Note: if you install more than one repository you will only ever get packages from the one holding the most recent version number, so the order of priority would be:
53
54 2 Adam Sutton
<pre>
55 1 Adam Sutton
unstable > beta > stable
56 2 Adam Sutton
</pre>
57 1 Adam Sutton
58 6 Adam Sutton
You can easily remove a repository though, so should you suddenly come over all crazy and want to live on the edge:
59 1 Adam Sutton
60
<pre>
61 6 Adam Sutton
sudo apt-add-repository -r http://apt.tvheadend.org/stable
62
sudo apt-add-repository http://apt.tvheadend.org/unstable
63
sudo apt-get update
64 1 Adam Sutton
</pre>
65 5 Andy Brown
66
h2. Debian Apt Repository
67
68
To add the repository to debian, it is a similar process to the above used for Ubuntu, however debian has a more manual way of adding repo's.
69
70
Selection of unstable > beta > stable is the same. Your /etc/apt/sources.list contains the repo's you currently have setup. So simply add the required revision in the following format:
71
72
<pre>
73
deb http://apt.tvheadend.org/stable wheezy main
74
</pre>
75
76
Change the entry of 'wheezy' to your current release/revision. After adding ensure you have added the GPG signing key (as above with Ubuntu), and then carry out your normal update and install
77
78
<pre>
79
apt-get update
80
apt-get install tvheadend
81
</pre>
82
83
84
h3. Raspberry Pi
85 4 Adam Sutton
86
There are now builds for the pi in the apt repository. We've been a bit naughty and just lumped them in main as armhf (which conflicts with standard debian repo's, but blame poor arch naming!). So you can just use the above commands or add:
87
88
<pre>
89
deb http://apt.tvheadend.org/stable wheezy main
90
</pre>
91
92
To your sources.list file.