Difference between revisions of "Icecast Server/Installing latest version (official Xiph repositories)"

From XiphWiki
Jump to: navigation, search
m (Reverted edits by Dm8tbr (talk) to last revision by MechanisM)
(update wiki with new multimedia signing key hash, fix formatting, remove Ubuntu 12.04, add 17.04 and 17.10)
Line 29: Line 29:
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_6.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_6.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_6.0/ repository]
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_6.0/ repository]
|
 
|-
 
|Ubuntu 12.04 (precise)
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_12.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_12.04/ repository]
 
 
|
 
|
 
|-
 
|-
Line 55: Line 50:
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_16.04/ repository]
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_16.04/ repository]
 
|LTS<ref name="ubuntu-lts"/>
 
|LTS<ref name="ubuntu-lts"/>
 +
|-
 +
|Ubuntu 17.04 (zesty)
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.04/ repository]
 +
|''not'' LTS<ref name="ubuntu-lts">Ubuntu releases that are not Long-Term-Support have a [https://wiki.ubuntu.com/Releases short life cycle]. Xiph.org will stop offering updated packages for those some time after Canonical/the Ubuntu Project end their support.</ref>!
 +
|-
 +
|Ubuntu 17.10 (artful)
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.10/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.10/ repository]
 +
|''not'' LTS<ref name="ubuntu-lts"/>!
 
|-
 
|-
 
|source package, any deb distro
 
|source package, any deb distro
Line 67: Line 72:
 
==== Import the ''Multimedia'' signing key ====
 
==== Import the ''Multimedia'' signing key ====
 
You need to add the openSUSE OBS [http://icecast.org/multimedia-obs.key '''Multimedia''' signing key] as a trusted key to your system.
 
You need to add the openSUSE OBS [http://icecast.org/multimedia-obs.key '''Multimedia''' signing key] as a trusted key to your system.
There are many ways to verify they key, e.g. by a simple web search. After downloading the key, you can run this command:<br />
+
There are many ways to verify they key, e.g. by a simple web search.<br />After downloading the key, you can run this command:<br />
<code><nowiki>gpg multimedia-obs.key</nowiki></code><br />
+
<code><nowiki>gpg multimedia-obs.key</nowiki></code><br /><br />
Should yield:<br />
+
It should yield:
<code><nowiki>pub 1024D/3A802234 2009-04-23 multimedia OBS Project <multimedia@build.opensuse.org></nowiki></code><br />
+
pub  rsa2048 2017-11-21 [SC] [expires: 2020-01-30]
Then you can import it:<br />
+
<nowiki>     0E313DB7936B4E76E720065B77EC2301F23C6AA3</nowiki>
 +
  uid          multimedia OBS Project <multimedia@build.opensuse.org>
 +
 
 +
Then you can import the key:<br />
 
<code><nowiki>sudo apt-key add multimedia-obs.key</nowiki></code><br />
 
<code><nowiki>sudo apt-key add multimedia-obs.key</nowiki></code><br />
  
The most simple, but not recommended way is:<br />
+
The most simple, but not necessarily most secure way to add the key with one command line is:<br />
 
<code><nowiki>wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -</nowiki></code><br />
 
<code><nowiki>wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -</nowiki></code><br />
  

Revision as of 10:46, 21 November 2017

Xiph.org provides the latest version of Icecast packaged for various distributions. The packages are built centrally from one set of sources on the openSUSE OpenBuildService instance in the Multimedia/Xiph.org project.

Packages are usually available on release day. Packaging follows closely the original distro packaging to stay a seamless drop in replacement. The packages are meant for users who need the latest version of Icecast or HTTPS support, while their distribution doesn't provide it.

Debian and Ubuntu (in all its flavors)

It takes 4 simple commands to install the latest Icecast version on a deb based distro.

Add the repository

This expects that you have sudo installed, if not, open a root shell and run the echo command directly.

Copy paste the command for your distribution release and make sure that it's executed as one line!

Distribution Release Command Repository Comments
Debian 8.0 (jessie)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_8.0/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Debian 7.0 (wheezy)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_7.0/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Debian 6.0 (squeeze)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_6.0/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Ubuntu 14.04 (trusty)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_14.04/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Ubuntu 15.04 (vivid)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.04/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository not LTS[1]!
Ubuntu 15.10 (wily)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.10/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository not LTS[1]!
Ubuntu 16.04 (xenial)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_16.04/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository LTS[1]
Ubuntu 17.04 (zesty)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.04/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository not LTS[1]!
Ubuntu 17.10 (artful)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.10/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository not LTS[1]!
source package, any deb distro
sudo sh -c "echo deb-src http://download.opensuse.org/repositories/multimedia:/xiph/Debian_8.0/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository actually available for all repository URLs
Linux Mint: Use the information listed above for the corresponding Ubuntu release.

Import the Multimedia signing key

You need to add the openSUSE OBS Multimedia signing key as a trusted key to your system. There are many ways to verify they key, e.g. by a simple web search.
After downloading the key, you can run this command:
gpg multimedia-obs.key

It should yield:

pub   rsa2048 2017-11-21 [SC] [expires: 2020-01-30]
      0E313DB7936B4E76E720065B77EC2301F23C6AA3
uid           multimedia OBS Project <multimedia@build.opensuse.org>

Then you can import the key:
sudo apt-key add multimedia-obs.key

The most simple, but not necessarily most secure way to add the key with one command line is:
wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -

Update repository index

sudo apt-get update

Install Icecast

sudo apt-get install icecast2

RedHat and its derivatives

Distribution Release Command Repository Comments
EPEL5 (RHEL 5/CentOS 5)

repository
EPEL6 (RHEL 6/CentOS 6)

repository
EPEL7 (RHEL 7/CentOS 7)

repository
Fedora 22

repository
Fedora 23

repository

openSUSE

Distribution Release Command Repository Comments
SUSE Linux Enterprise 11.3

repository
SUSE Linux Enterprise 11.4

repository
SUSE Linux Enterprise 12

repository
openSUSE 13.1

repository
openSUSE 13.2

repository
openSUSE Leap 42.1

repository
openSUSE Tumbleweed

repository

Footnotes

  1. 1.0 1.1 1.2 1.3 1.4 Ubuntu releases that are not Long-Term-Support have a short life cycle. Xiph.org will stop offering updated packages for those some time after Canonical/the Ubuntu Project end their support.