AptRepositories » History » Revision 13
Revision 12 (Jaroslav Kysela, 2015-06-02 19:32) → Revision 13/148 (Jaroslav Kysela, 2015-06-02 20:29)
h1. Ubuntu Apt Repository for 4.x
# Add Bintray's GPG key:
<pre>apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61</pre>
# Choose a release series, and add it to your sources.list
---
* tvheadend - Master branch - nightly builds
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu master main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Master branch - 'unstable' releases
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu unstable main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Stable branch - nightly builds
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu testing main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Stable branch - official releases
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu stable main | sudo tee -a /etc/apt/sources.list</pre>
h1. Arch Package for 4.x
https://aur.archlinux.org/packages/tvheadend/
h1. Ubuntu Apt Repository up to 3.4
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:
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
* 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.
* 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!
If you had previously added the launchpad PPA, please be sure to remove it (as it no longer exists)
<pre>
sudo apt-add-repository -r http://ppa.launchpad.net/adamsutton/tvheadend
</pre>
Before you can use the repositories you probably want to import the GPG signing key:
<pre>
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
</pre>
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:
<pre>
sudo apt-add-repository http://apt.tvheadend.org/stable
sudo apt-get update
</pre>
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:
<pre>
unstable > beta > stable
</pre>
You can easily remove a repository though, so should you suddenly come over all crazy and want to live on the edge:
<pre>
sudo apt-add-repository -r http://apt.tvheadend.org/stable
sudo apt-add-repository http://apt.tvheadend.org/unstable
sudo apt-get update
</pre>
h2. Debian Apt Repository
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.
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:
<pre>
deb http://apt.tvheadend.org/stable wheezy main
</pre>
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
<pre>
apt-get update
apt-get install tvheadend
</pre>
h3. Raspberry Pi
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:
<pre>
deb http://apt.tvheadend.org/stable wheezy main
</pre>
To your sources.list file.
# Add Bintray's GPG key:
<pre>apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61</pre>
# Choose a release series, and add it to your sources.list
---
* tvheadend - Master branch - nightly builds
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu master main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Master branch - 'unstable' releases
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu unstable main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Stable branch - nightly builds
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu testing main | sudo tee -a /etc/apt/sources.list</pre>
* tvheadend - Stable branch - official releases
<pre>echo deb https://dl.bintray.com/tvheadend/ubuntu stable main | sudo tee -a /etc/apt/sources.list</pre>
h1. Arch Package for 4.x
https://aur.archlinux.org/packages/tvheadend/
h1. Ubuntu Apt Repository up to 3.4
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:
* http://apt.tvheadend.org/stable - this holds the latest stable release, use this for production systems.
* 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.
* 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!
If you had previously added the launchpad PPA, please be sure to remove it (as it no longer exists)
<pre>
sudo apt-add-repository -r http://ppa.launchpad.net/adamsutton/tvheadend
</pre>
Before you can use the repositories you probably want to import the GPG signing key:
<pre>
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
</pre>
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:
<pre>
sudo apt-add-repository http://apt.tvheadend.org/stable
sudo apt-get update
</pre>
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:
<pre>
unstable > beta > stable
</pre>
You can easily remove a repository though, so should you suddenly come over all crazy and want to live on the edge:
<pre>
sudo apt-add-repository -r http://apt.tvheadend.org/stable
sudo apt-add-repository http://apt.tvheadend.org/unstable
sudo apt-get update
</pre>
h2. Debian Apt Repository
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.
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:
<pre>
deb http://apt.tvheadend.org/stable wheezy main
</pre>
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
<pre>
apt-get update
apt-get install tvheadend
</pre>
h3. Raspberry Pi
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:
<pre>
deb http://apt.tvheadend.org/stable wheezy main
</pre>
To your sources.list file.