How To Install librtaudio6 on Kali Linux
Introduction
In this tutorial we learn how to install librtaudio6
on Kali Linux.
What is librtaudio6
librtaudio6 is:
RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, and OSS), Macintosh OS X, SGI, and Windows (DirectSound and ASIO) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives:
- object-oriented C++ design
- simple, common API across all supported platforms
- only one source and two header files for easy inclusion in programming projects
- allow simultaneous multi-api support
- support dynamic connection of devices
- provide extensive audio device parameter control
- allow audio device capability probing
- automatic internal conversion for data format, channel number compensation, (de)interleaving, and byte-swapping
RtAudio incorporates the concept of audio streams, which represent audio output (playback) and/or input (recording). Available audio devices and their capabilities can be enumerated and then specified when opening a stream.
This package provides the shared library.
There are three methods to install librtaudio6
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install librtaudio6 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install librtaudio6
using apt-get
by running the following command:
sudo apt-get -y install librtaudio6
Install librtaudio6 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install librtaudio6
using apt
by running the following command:
sudo apt -y install librtaudio6
Install librtaudio6 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install librtaudio6
using aptitude
by running the following command:
sudo aptitude -y install librtaudio6
How To Uninstall librtaudio6 on Kali Linux
To uninstall only the librtaudio6
package we can use the following command:
sudo apt-get remove librtaudio6
Uninstall librtaudio6 And Its Dependencies
To uninstall librtaudio6
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove librtaudio6
Remove librtaudio6 Configurations and Data
To remove librtaudio6
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge librtaudio6
Remove librtaudio6 configuration, data, and all of its dependencies
We can use the following command to remove librtaudio6
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librtaudio6
Dependencies
librtaudio6 have the following dependencies:
References
Summary
In this tutorial we learn how to install librtaudio6
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.