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

From XiphWiki
Jump to navigation Jump to search
(update wiki with new multimedia signing key hash, fix formatting, remove Ubuntu 12.04, add 17.04 and 17.10)
 
(10 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
It takes 4 simple commands to install the latest Icecast version on a deb based distro.
 
It takes 4 simple commands to install the latest Icecast version on a deb based distro.
  
==== Add the repository ====
+
==== Step 1: Add the repository ====
This expects that you have ''sudo'' installed, if not, open a root shell and run the ''echo'' command directly.
+
This expects that you have '''sudo''' installed. If not, open a root shell and run the '''echo''' command directly.
 +
 
 +
Copy and paste the command for your distribution release and make sure that it's executed as '''one''' line!
  
Copy paste the command for your distribution release and make sure that it's executed as '''one''' line!
 
 
{| class="wikitable"
 
{| class="wikitable"
 
!Distribution Release
 
!Distribution Release
Line 15: Line 16:
 
!Repository
 
!Repository
 
!Comments
 
!Comments
 +
|-
 +
|Debian Testing
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_Testing/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_Testing/ repository]
 +
|
 +
|-
 +
|Debian 10 (buster)
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_10/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_10/ repository]
 +
|
 +
|-
 +
|Debian 9.0 (stretch)
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.0/ repository]
 +
|
 
|-
 
|-
 
|Debian 8.0 (jessie)
 
|Debian 8.0 (jessie)
Line 24: Line 40:
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_7.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_7.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_7.0/ repository]
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_7.0/ repository]
|
 
|-
 
|Debian 6.0 (squeeze)
 
|<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]
 
 
|
 
|
 
|-
 
|-
Line 34: Line 45:
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_14.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_14.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_14.04/ repository]
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_14.04/ repository]
|
+
|LTS<ref name="ubuntu-lts"/>
|-
 
|Ubuntu 15.04 (vivid)
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.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 15.10 (wily)
 
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.10/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_15.10/ repository]
 
|''not'' LTS<ref name="ubuntu-lts"/>!
 
 
|-
 
|-
 
|Ubuntu 16.04 (xenial)
 
|Ubuntu 16.04 (xenial)
Line 51: Line 52:
 
|LTS<ref name="ubuntu-lts"/>
 
|LTS<ref name="ubuntu-lts"/>
 
|-
 
|-
|Ubuntu 17.04 (zesty)
+
|Ubuntu 18.04 (bionic)
|<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>
+
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.04/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.04/ repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.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>!
+
|LTS<ref name="ubuntu-lts"/>!
 +
|-
 +
|Ubuntu 18.10 (cosmic)
 +
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.10/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.10/ repository]
 +
|LTS<ref name="ubuntu-lts"/>!
 
|-
 
|-
|Ubuntu 17.10 (artful)
+
|Ubuntu 19.10 (Eoan Ermine)
|<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>
+
|<syntaxhighlight lang="bash">sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_19.10/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_17.10/ repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_19.10/ repository]
|''not'' LTS<ref name="ubuntu-lts"/>!
+
|LTS<ref name="ubuntu-lts"/>!
 
|-
 
|-
 
|source package, any deb distro
 
|source package, any deb distro
|<syntaxhighlight lang="bash">sudo sh -c "echo deb-src http://download.opensuse.org/repositories/multimedia:/xiph/Debian_8.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
+
|<syntaxhighlight lang="bash">sudo sh -c "echo deb-src http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.0/ ./ >>/etc/apt/sources.list.d/icecast.list"</syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_8.0/ repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.0/ repository]
 
| actually available for ''all'' repository URLs
 
| actually available for ''all'' repository URLs
 
|-
 
|-
Line 70: Line 76:
 
|}
 
|}
  
==== Import the ''Multimedia'' signing key ====
+
==== Step 2: 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 [http://icecast.org/multimedia-obs.key 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.<br />After downloading the key, you can run this command:<br />
+
 
<code><nowiki>gpg multimedia-obs.key</nowiki></code><br /><br />
+
There are many ways to verify this key, e.g. by a simple web search.
 +
 
 +
After downloading the key, you can run this command to verify your copy:
 +
 
 +
<syntaxhighlight lang="bash">gpg multimedia-obs.key</syntaxhighlight>
 +
 
 
It should yield:
 
It should yield:
  pub  rsa2048 2017-11-21 [SC] [expires: 2020-01-30]
+
 
  <nowiki>     0E313DB7936B4E76E720065B77EC2301F23C6AA3</nowiki>
+
  pub  rsa2048 2017-11-21 [SC] [expires: 2024-06-07]
 +
  <nowiki>     0E313DB7936B4E76E720065B77EC2301F23C6AA3</nowiki>
 
  uid          multimedia OBS Project <multimedia@build.opensuse.org>
 
  uid          multimedia OBS Project <multimedia@build.opensuse.org>
  
Then you can import the key:<br />
+
Then you can add the key to your system's Trusted Keys using:
<code><nowiki>sudo apt-key add multimedia-obs.key</nowiki></code><br />
 
  
The most simple, but not necessarily most secure way to add the key with one command line is:<br />
+
<syntaxhighlight lang="bash">sudo apt-key add multimedia-obs.key</syntaxhighlight>
<code><nowiki>wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -</nowiki></code><br />
 
  
==== Update repository index ====
+
The simplest way (but not very secure, since you're not checking the key) is to add the key with one command line:
<code><nowiki>sudo apt-get update</nowiki></code>
+
 
==== Install Icecast ====
+
<syntaxhighlight lang="bash">wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -</syntaxhighlight>
<code><nowiki>sudo apt-get install icecast2</nowiki></code>
+
 
 +
==== Step 3: Update your repository index ====
 +
<syntaxhighlight lang="bash">sudo apt-get update</syntaxhighlight>
 +
==== Step 4: Install Icecast ====
 +
<syntaxhighlight lang="bash">sudo apt-get install icecast2</syntaxhighlight>
  
 
== RedHat and its derivatives ==
 
== RedHat and its derivatives ==
Line 96: Line 110:
 
!Repository
 
!Repository
 
!Comments
 
!Comments
|-
 
|EPEL5 (RHEL 5/CentOS 5)
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|[http://download.opensuse.org/repositories/multimedia:/xiph/CentOS_5 repository]
 
|
 
 
|-
 
|-
 
|EPEL6 (RHEL 6/CentOS 6)
 
|EPEL6 (RHEL 6/CentOS 6)
Line 112: Line 121:
 
|
 
|
 
|-
 
|-
|Fedora 22
+
|Fedora 27
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/Fedora_22 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/Fedora_27 repository]
 
|
 
|
 
|-
 
|-
|Fedora 23
+
|Fedora 28
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/Fedora_23 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/Fedora_28 repository]
 +
|
 +
|-
 +
|Fedora Rawhide
 +
|<syntaxhighlight lang="bash"></syntaxhighlight>
 +
|[http://download.opensuse.org/repositories/multimedia:/xiph/Fedora_Rawhide repository]
 
|
 
|
 
|-
 
|-
Line 132: Line 146:
 
!Comments
 
!Comments
 
|-
 
|-
|SUSE Linux Enterprise 11.3
+
|SUSE Linux Enterprise 11 SP4
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_11_SP3 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_11_SP4 repository]
 
|
 
|
 
|-
 
|-
|SUSE Linux Enterprise 11.4
+
|SUSE Linux Enterprise 12
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_11_SP4 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_12 repository]
 
|
 
|
 
|-
 
|-
|SUSE Linux Enterprise 12
+
|SUSE Linux Enterprise 12 SP4
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_12 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_12_SP4 repository]
 
|
 
|
 
|-
 
|-
|openSUSE 13.1
+
|SUSE Linux Enterprise 15
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/openSUSE_13.1 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/SLE_15 repository]
 
|
 
|
 
|-
 
|-
|openSUSE 13.2
+
|openSUSE Leap 42.3
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/openSUSE_13.2 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/openSUSE_Leap_42.3 repository]
 
|
 
|
 
|-
 
|-
|openSUSE Leap 42.1
+
|openSUSE Leap 15.0
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
 
|<syntaxhighlight lang="bash"></syntaxhighlight>
|[http://download.opensuse.org/repositories/multimedia:/xiph/openSUSE_Leap_42.1 repository]
+
|[http://download.opensuse.org/repositories/multimedia:/xiph/openSUSE_Leap_15.0 repository]
 
|
 
|
 
|-
 
|-

Latest revision as of 11:31, 31 March 2022

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.

Step 1: Add the repository

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

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

Distribution Release Command Repository Comments
Debian Testing
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_Testing/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Debian 10 (buster)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_10/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
Debian 9.0 (stretch)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.0/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository
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
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 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 18.04 (bionic)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.04/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository LTS[1]!
Ubuntu 18.10 (cosmic)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_18.10/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository LTS[1]!
Ubuntu 19.10 (Eoan Ermine)
sudo sh -c "echo deb http://download.opensuse.org/repositories/multimedia:/xiph/xUbuntu_19.10/ ./ >>/etc/apt/sources.list.d/icecast.list"
repository LTS[1]!
source package, any deb distro
sudo sh -c "echo deb-src http://download.opensuse.org/repositories/multimedia:/xiph/Debian_9.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.

Step 2: 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 this key, e.g. by a simple web search.

After downloading the key, you can run this command to verify your copy:

gpg multimedia-obs.key

It should yield:

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

Then you can add the key to your system's Trusted Keys using:

sudo apt-key add multimedia-obs.key

The simplest way (but not very secure, since you're not checking the key) is to add the key with one command line:

wget -qO - http://icecast.org/multimedia-obs.key | sudo apt-key add -

Step 3: Update your repository index

sudo apt-get update

Step 4: Install Icecast

sudo apt-get install icecast2

RedHat and its derivatives

Distribution Release Command Repository Comments
EPEL6 (RHEL 6/CentOS 6)
repository
EPEL7 (RHEL 7/CentOS 7)
repository
Fedora 27
repository
Fedora 28
repository
Fedora Rawhide
repository

openSUSE

Distribution Release Command Repository Comments
SUSE Linux Enterprise 11 SP4
repository
SUSE Linux Enterprise 12
repository
SUSE Linux Enterprise 12 SP4
repository
SUSE Linux Enterprise 15
repository
openSUSE Leap 42.3
repository
openSUSE Leap 15.0
repository
openSUSE Tumbleweed
repository

Footnotes

  1. 1.0 1.1 1.2 1.3 1.4 Cite error: Invalid <ref> tag; no text was provided for refs named ubuntu-lts