Project

General

Profile

AptRepositories » History » Version 5

Andy Brown, 2013-05-16 18:01

1 5 Andy Brown
h1. Ubuntu Apt Repository
2 1 Adam Sutton
3
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:
4
5
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
6
* 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.
7
* 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!
8
9
Before you can use the repositories you probably want to import the GPG signing key:
10
11
<pre>
12
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
13
</pre>
14
15
You will then need to add which ever repository you feel is most appropriate, for example if you want to live on the edge:
16
17
<pre>
18
sudo apt-add-repository http://apt.tvheadend.org/unstable
19 3 Adam Sutton
sudo apt-get update
20 1 Adam Sutton
</pre>
21
22
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:
23
24 2 Adam Sutton
<pre>
25 1 Adam Sutton
unstable > beta > stable
26 2 Adam Sutton
</pre>
27 1 Adam Sutton
28
You can easily remove a repository though, so should you suddenly come over all sensible:
29
30
<pre>
31
sudo apt-add-repository -r http://apt.tvheadend.org/unstable
32
</pre>
33
34 5 Andy Brown
35
h2. Debian Apt Repository
36
37
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.
38
39
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:
40
41
<pre>
42
deb http://apt.tvheadend.org/stable wheezy main
43
</pre>
44
45
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
46
47
<pre>
48
apt-get update
49
apt-get install tvheadend
50
</pre>
51
52
53
h3. Raspberry Pi
54 4 Adam Sutton
55
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:
56
57
<pre>
58
deb http://apt.tvheadend.org/stable wheezy main
59
</pre>
60
61
To your sources.list file.