How To Install gr-iqbal on Kali Linux

In this tutorial we learn how to install gr-iqbal on Kali Linux. gr-iqbal is GNU Radio Blind IQ imbalance estimator and correction

Introduction

In this tutorial we learn how to install gr-iqbal on Kali Linux.

What is gr-iqbal

gr-iqbal is:

The general idea is to suppress symmetrical images caused by IQ imbalance in the RX path of quadrature receivers. It’s composed of two subblocks:

“IQ Bal Fix”: This applies the actual correction. to a complex stream. The correction parameters are only magnitude/phase and the actual correction algo is the same as applied in hardware in the USRP. You can either specify the correction parameters manually on the block, or send them via ‘messages’.

“IQ Bal Optimize”: This blocks tries to blindly detect the imbalance by minimizing the correlation between the left and right part of the spectrum. See the code for the “how it does it”. The general idea is inspired from papers found on the internet and the way some SDR software achieve the same things (sdr# for eg, although there are significant differences in the actual implementation).

There are three methods to install gr-iqbal 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 gr-iqbal Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gr-iqbal using apt-get by running the following command:

sudo apt-get -y install gr-iqbal

Install gr-iqbal Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gr-iqbal using apt by running the following command:

sudo apt -y install gr-iqbal

Install gr-iqbal 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 gr-iqbal using aptitude by running the following command:

sudo aptitude -y install gr-iqbal

How To Uninstall gr-iqbal on Kali Linux

To uninstall only the gr-iqbal package we can use the following command:

sudo apt-get remove gr-iqbal

Uninstall gr-iqbal And Its Dependencies

To uninstall gr-iqbal and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gr-iqbal

Remove gr-iqbal Configurations and Data

To remove gr-iqbal configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gr-iqbal

Remove gr-iqbal configuration, data, and all of its dependencies

We can use the following command to remove gr-iqbal configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gr-iqbal

Dependencies

gr-iqbal have the following dependencies:

References

Summary

In this tutorial we learn how to install gr-iqbal package on Kali Linux using different package management tools: apt, apt-get and aptitude.