darkice command not found

In this troubleshooting guide we learn how to fix darkice command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

darkice: command not found

or when using sudo you get the following error message

sudo: darkice: command not found

Solutions to darkice: command not found

How To Fix darkice: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu darkice is provided by darkice package.

darkice is:

DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and sends the mp3 stream to one or more IceCast and/or ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2 servers. DarkIce uses lame as a shared object as its mp3 encoder, and the Ogg Vorbis as its Ogg Vorbis encoder.

A legacy SYSV init script is provided for existing configurations. You have to set RUN=yes in /etc/default/darkice to run darkice as a daemon. With modern systems, this is not needed as realtime scheduling is available to normal users.

To fix this problem, we can install more using the command below.

sudo apt-get -y install darkice

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install darkice.

sudo apt -y install darkice

Or if you have aptitude installed you can use the following command.

sudo aptitude install darkice

Summary

In this tutorial we learn how to fix darkice command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.