How To Install network-config on Debian 9
Introduction
In this tutorial we learn how to install network-config
on Debian 9.
What is network-config
network-config is:
Network-config is a simple and easy to use program that helps configuring the network interfaces for linux-based operating systems. It allows have multiple configurations for the same computer and to easy configure NAT for internet sharing. It can also be used to scan for wireless networks. It is written in perl and uses gtk2+ but also works as a command line program.
There are three methods to install network-config
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install network-config Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install network-config
using apt-get
by running the following command:
sudo apt-get -y install network-config
Install network-config Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install network-config
using apt
by running the following command:
sudo apt -y install network-config
Install network-config 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 network-config
using aptitude
by running the following command:
sudo aptitude -y install network-config
How To Uninstall network-config on Debian 9
To uninstall only the network-config
package we can use the following command:
sudo apt-get remove network-config
Uninstall network-config And Its Dependencies
To uninstall network-config
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove network-config
Remove network-config Configurations and Data
To remove network-config
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge network-config
Remove network-config configuration, data, and all of its dependencies
We can use the following command to remove network-config
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge network-config
Dependencies
network-config have the following dependencies:
References
Summary
In this tutorial we learn how to install network-config
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.