How To Install xnecview on Kali Linux

In this tutorial we learn how to install xnecview on Kali Linux. xnecview is NEC structure and gain pattern viewer

Introduction

In this tutorial we learn how to install xnecview on Kali Linux.

What is xnecview

xnecview is:

xnecview allows a representation of a NEC (Numerical Electromagnetics Code) structure, such as an antenna which is to be modelled to be displayed on the screen. After an NEC run the gain pattern in various formats can also be superimposed. This can be rotated and translated for viewing from different angles. Plots of SWR and gain as a function of frequency can also be produced. In addition to on screen display, Postscript or PNG output can also be produced.

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

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

sudo apt-get update

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

sudo apt-get -y install xnecview

Install xnecview Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xnecview using apt by running the following command:

sudo apt -y install xnecview

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

sudo aptitude -y install xnecview

How To Uninstall xnecview on Kali Linux

To uninstall only the xnecview package we can use the following command:

sudo apt-get remove xnecview

Uninstall xnecview And Its Dependencies

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

sudo apt-get -y autoremove xnecview

Remove xnecview Configurations and Data

To remove xnecview configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge xnecview

Remove xnecview configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xnecview

Dependencies

xnecview have the following dependencies:

References

Summary

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