How to Fix the Sound in Kali Linux

Kali Linux is a security and forensic-driven Linux distro that has many uses beyond its specialist toolset. It is based on Debian, which means it has a lot of benefits and also unfortunately some bugs or problems. One of the issues Kali users face is the lack of sound on a fresh installation. It is important to note that this is not a lack of care or key development, rather that the distribution is not geared toward audio output, nor is this a major concern of its support community.

How to fix Kali’s sound issue

Getting Kali to give audio output is a simple enough process with a little bit of effort. The first thing to do is kill all existing sound services to prevent any conflicts for the later stages of this guide. This can be done via the Terminal by entering the following command:

This will enable the next step which is to remove Pulseaudio completely:

We will be returning to Pulseaudio later on. However, it is wise to use apt-purge as opposed to apt-remove because this ensures that the configuration files are removed to prevent conflicts.

Next, we need an alternative to the absent Pulseaudio. This is where Alsa and its drivers can be used. Alsa-base is a set of configuration files that allow the driver to be used by the Kernel. Linux 2.6 was shipped with the drivers needed for the majority of sound cards.

Install Alsa with the following:

Now that Alsa is installed, we need some way to control it. KMix is a good way to do this.

At this point, it is wise to reboot so that KMix and Alsa will load. Once the small volume control, KMix, is installed, we can return to Pulseaudio.

The final step is to install Gnome-Core. This gives several vital packages and components for desktop environments. You can install it by typing this into the Terminal:

Once this is complete, you should restart the device to ensure everything plays well together. If you find any problems, then repeat the steps carefully.

It is important to remember that while all of this seems like a great deal of effort, Kali is meant to be used by ethical penetration testers, security professionals, or by those who want to learn this craft. It is not meant to be used necessarily as a daily driver, or as a media device. As with all Linux distributions, users are free to modify their systems to suit their needs. However, if you need something that is media friendly, then perhaps Linux Mint is the way to go.

Let us know in the comments if you have a better way to enable sound on Kali Linux.

Matthew Muller

Matt has worked in the tech industry for many years and is now a freelance writer. His experience is within Windows, Linux, Privacy and Android.

One comment

  1. Package alsa-base is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘alsa-base’ has no installation candidate
    E: Unable to locate package alsa-utilsalsa-oss

    I am getting this error when i am trying to install alsa package.

Comments are closed.