How to Uninstall and Install icecast2 Ubuntu 22.04

Updated: September 4, 2022

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. In this guide, I will show you how to install icecast2 on Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install icecast2 on Ubuntu 22.04

Install icecast2 Ubuntu 22.04

icecast2 is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install icecast2 using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get icecast2 on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install icecast2 Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install icecast2

Install icecast2 using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After installing it, you can now install icecast2, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install icecast2 Ubuntu by executing this command in the terminal.

sudo aptitude install icecast2

Uninstall icecast2 on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

You can uninstall icecast2 Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove icecast2

If you want to uninstall icecast2 and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge icecast2

Conclusion

In this tutorial, I showed you ways to install icecast2 on Ubuntu 22.04 and some ways to uninstall icecast2 too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.