Project

General

Profile

AptRepositories » History » Version 11

Jaroslav Kysela, 2015-06-02 19:30

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