How To Install icecast2 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install icecast2
on Ubuntu 20.04.
What is icecast2
icecast2 is:
Icecast is a versatile multimedia streaming server which can create (for instance) a private jukebox or “Internet radio station”. It supports Ogg streaming using the Vorbis and Theora codecs, as well as other formats such as MP3, AAC, or NSV, and is compatible with most media players.
Package: icecast2 Architecture: amd64 Version: 2.4.4-3 Priority: optional Section: universe/sound Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Multimedia Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2013 Pre-Depends: init-system-helpers (>= 1.54~) Depends: adduser, libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), libogg0 (>= 1.0rc3), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>= 1.1.2), libwolfssl24 (>= 4.2.0~), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), debconf (>= 0.5) | debconf-2.0, lsb-base Suggests: ices2 Filename: pool/universe/i/icecast2/icecast2_2.4.4-3_amd64.deb Size: 1319304 MD5sum: c24dd9d98676420d34e6cd40b657cd21 SHA1: 9208d20486d4e19ebd8bd3fc2f684f502ca8de2f SHA256: f17bdc265b3c09d54151938def17c5c94cea819cc740c4d939705a1e1c11aff0 Homepage: https://icecast.org/ Description-en: streaming media server Icecast is a versatile multimedia streaming server which can create (for instance) a private jukebox or “Internet radio station”. It supports Ogg streaming using the Vorbis and Theora codecs, as well as other formats such as MP3, AAC, or NSV, and is compatible with most media players.
There are three methods to install icecast2
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install icecast2 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install icecast2
using apt-get
by running the following command:
sudo apt-get -y install icecast2
Install icecast2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install icecast2
using apt
by running the following command:
sudo apt -y install icecast2
Install icecast2 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install icecast2
using aptitude
by running the following command:
sudo aptitude -y install icecast2
How To Uninstall icecast2 on Ubuntu 20.04
To uninstall only the icecast2
package we can use the following command:
sudo apt-get remove icecast2
Uninstall icecast2 And Its Dependencies
To uninstall icecast2
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove icecast2
Remove icecast2 Configurations and Data
To remove icecast2
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge icecast2
Remove icecast2 configuration, data, and all of its dependencies
We can use the following command to remove icecast2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge icecast2
References
Summary
In this tutorial we learn how to install icecast2
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.