Project

General

Profile

AptRepositories » History » Version 9

Jaroslav Kysela, 2015-06-02 19:24

1 9 Jaroslav Kysela
h1. Ubuntu Apt Repository for 4.x
2
3
# Add Bintray's GPG key:
4
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
5
6
# Choose a release series, and add it to your sources.list
7
8
* tvheadend - Master branch - nightly builds
9
<pre>
10
echo deb https://dl.bintray.com/tvheadend/ubuntu master main | sudo tee -a /etc/apt/sources.list
11
</pre>
12
13
* tvheadend - Master branch - 'unstable' releases
14
<pre>
15
echo deb https://dl.bintray.com/tvheadend/ubuntu unstable main | sudo tee -a /etc/apt/sources.list
16
</pre>
17
18
* tvheadend - Stable branch - nightly builds
19
<pre>
20
echo deb https://dl.bintray.com/tvheadend/ubuntu testing main | sudo tee -a /etc/apt/sources.list
21
</pre>
22
23
* tvheadend - Stable branch - official releases
24
<pre>
25
echo deb https://dl.bintray.com/tvheadend/ubuntu stable main | sudo tee -a /etc/apt/sources.list
26
</pre> 
27
28
h1. Ubuntu Apt Repository up to 3.4
29 1 Adam Sutton
30
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:
31
32
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
33
* 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.
34
* 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!
35
36 7 Adam Sutton
If you had previously added the launchpad PPA, please be sure to remove it (as it no longer exists)
37
38
<pre>
39
sudo apt-add-repository -r http://ppa.launchpad.net/adamsutton/tvheadend
40
</pre>
41
42 1 Adam Sutton
Before you can use the repositories you probably want to import the GPG signing key:
43
44
<pre>
45 8 Dave Chapman
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
46 1 Adam Sutton
</pre>
47
48 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:
49 1 Adam Sutton
50
<pre>
51 6 Adam Sutton
sudo apt-add-repository http://apt.tvheadend.org/stable
52 3 Adam Sutton
sudo apt-get update
53 1 Adam Sutton
</pre>
54
55
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:
56
57 2 Adam Sutton
<pre>
58 1 Adam Sutton
unstable > beta > stable
59 2 Adam Sutton
</pre>
60 1 Adam Sutton
61 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:
62 1 Adam Sutton
63
<pre>
64 6 Adam Sutton
sudo apt-add-repository -r http://apt.tvheadend.org/stable
65
sudo apt-add-repository http://apt.tvheadend.org/unstable
66
sudo apt-get update
67 1 Adam Sutton
</pre>
68 5 Andy Brown
69
h2. Debian Apt Repository
70
71
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.
72
73
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:
74
75
<pre>
76
deb http://apt.tvheadend.org/stable wheezy main
77
</pre>
78
79
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
80
81
<pre>
82
apt-get update
83
apt-get install tvheadend
84
</pre>
85
86
87
h3. Raspberry Pi
88 4 Adam Sutton
89
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:
90
91
<pre>
92
deb http://apt.tvheadend.org/stable wheezy main
93
</pre>
94
95
To your sources.list file.