E: Unable to locate package ifconfig code example
Example 1: install ifconfig on ubuntu
apt-get update
apt-get install net-tools
Example 2: linux install ifconfig
apt-get install net-tools
apt-get update
apt-get install net-tools
apt-get install net-tools