Project

General

Profile

AptRepositories » History » Version 12

Jaroslav Kysela, 2015-06-02 19:32

1 9 Jaroslav Kysela
h1. Ubuntu Apt Repository for 4.x
2
3
# Add Bintray's GPG key:
4 12 Jaroslav Kysela
  <pre>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
h1. Ubuntu Apt Repository up to 3.4
22 1 Adam Sutton
23
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:
24
25
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
26
* 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.
27
* 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!
28
29 7 Adam Sutton
If you had previously added the launchpad PPA, please be sure to remove it (as it no longer exists)
30
31
<pre>
32
sudo apt-add-repository -r http://ppa.launchpad.net/adamsutton/tvheadend
33
</pre>
34
35 1 Adam Sutton
Before you can use the repositories you probably want to import the GPG signing key:
36
37
<pre>
38 8 Dave Chapman
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
39 1 Adam Sutton
</pre>
40
41 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:
42 1 Adam Sutton
43
<pre>
44 6 Adam Sutton
sudo apt-add-repository http://apt.tvheadend.org/stable
45 3 Adam Sutton
sudo apt-get update
46 1 Adam Sutton
</pre>
47
48
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:
49
50 2 Adam Sutton
<pre>
51 1 Adam Sutton
unstable > beta > stable
52 2 Adam Sutton
</pre>
53 1 Adam Sutton
54 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:
55 1 Adam Sutton
56
<pre>
57 6 Adam Sutton
sudo apt-add-repository -r http://apt.tvheadend.org/stable
58
sudo apt-add-repository http://apt.tvheadend.org/unstable
59
sudo apt-get update
60 1 Adam Sutton
</pre>
61 5 Andy Brown
62
h2. Debian Apt Repository
63
64
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.
65
66
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:
67
68
<pre>
69
deb http://apt.tvheadend.org/stable wheezy main
70
</pre>
71
72
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
73
74
<pre>
75
apt-get update
76
apt-get install tvheadend
77
</pre>
78
79
80
h3. Raspberry Pi
81 4 Adam Sutton
82
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:
83
84
<pre>
85
deb http://apt.tvheadend.org/stable wheezy main
86
</pre>
87
88
To your sources.list file.