How To Install libfec-dev on Kali Linux
Introduction
In this tutorial we learn how to install libfec-dev
on Kali Linux.
What is libfec-dev
libfec-dev is:
This package provides a set of functions that implement several popular forward error correction (FEC) algorithms and several low-level routines useful in modems implemented with digital signal processing (DSP).
The following routines are provided:
- Viterbi decoders for the following convolutional codes: r=1/2 k=7 (“Voyager” code, now a widely used industry standard) r=1/2 k=9 (Used on the IS-95 CDMA forward link) r=1/6 k=15 (“Cassini” code, used by several NASA/JPL deep space missions)
- Reed-Solomon encoders and decoders for any user-specified code.
- Optimized encoder and decoder for the CCSDS-standard (255,223) Reed-Solomon code, with and without the CCSDS-standard “dual basis” symbol representation.
- Compute dot product between a 16-bit buffer and a set of 16-bit coefficients. This is the basic DSP primitive for digital filtering and correlation.
- Compute sum of squares of a buffer of 16-bit signed integers. This is useful in DSP for finding the total energy in a signal.
- Find peak value in a buffer of 16-bit signed integers, useful for scaling a signal to prevent overflow.
This package automatically makes use of various SIMD (Single Instruction stream, Multiple Data stream) instruction sets, when available: MMX, SSE and SSE2 on the IA-32 (Intel) architecture, and Altivec on the PowerPC G4 and G5 used by Power Macintoshes.
There are three methods to install libfec-dev
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 libfec-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfec-dev
using apt-get
by running the following command:
sudo apt-get -y install libfec-dev
Install libfec-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfec-dev
using apt
by running the following command:
sudo apt -y install libfec-dev
Install libfec-dev 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 libfec-dev
using aptitude
by running the following command:
sudo aptitude -y install libfec-dev
How To Uninstall libfec-dev on Kali Linux
To uninstall only the libfec-dev
package we can use the following command:
sudo apt-get remove libfec-dev
Uninstall libfec-dev And Its Dependencies
To uninstall libfec-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libfec-dev
Remove libfec-dev Configurations and Data
To remove libfec-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libfec-dev
Remove libfec-dev configuration, data, and all of its dependencies
We can use the following command to remove libfec-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfec-dev
Dependencies
libfec-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libfec-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.