How To Install nec2c on Debian 10
Introduction
In this tutorial we learn how to install nec2c
on Debian 10.
What is nec2c
nec2c is:
The translation was performed mostly “by hand” and a lot of modifications to the original program were introduced in order to modernize the NEC2 and to remove as many built-in limitations as possible. The attendant SOMNEC program was also translated to C and incorporated in nec2c as a function so that Sommerfeld ground solutions are a part of the program.
There are three methods to install nec2c
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install nec2c Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install nec2c
using apt-get
by running the following command:
sudo apt-get -y install nec2c
Install nec2c Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install nec2c
using apt
by running the following command:
sudo apt -y install nec2c
Install nec2c Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install nec2c
using aptitude
by running the following command:
sudo aptitude -y install nec2c
How To Uninstall nec2c on Debian 10
To uninstall only the nec2c
package we can use the following command:
sudo apt-get remove nec2c
Uninstall nec2c And Its Dependencies
To uninstall nec2c
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove nec2c
Remove nec2c Configurations and Data
To remove nec2c
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge nec2c
Remove nec2c configuration, data, and all of its dependencies
We can use the following command to remove nec2c
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge nec2c
Dependencies
nec2c have the following dependencies:
References
Summary
In this tutorial we learn how to install nec2c
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.