I wanted to install dhcp server. When I typed ifconfig
it says,command not found but can be installed with sudo apt install net-tools
. Then I did so. Results were
Reading package lists... Done
Building dependency tree...Done
Reading state information...Done
E: Unable to locate package net-tools
I updated cache. Then checked the repository in my ubuntu version whether it has or not that particular package. I got something like this.
jammy (22.04LTS) (net): NET-3 networking toolkit
1.60+git20181103.0eebece-1ubuntu5: amd64 arm64 armhf i386 ppc64el s390x
I can't figure it out whether it is in universe or multiverse repository. And how to solve this after this.
ifconfig
has been retired from default installation because Netplan is now in use instead ofifupdown
, a change that's been in place for a while now. Whatifconfig
command were you trying to run? There may be equivalentip
commands to execute, or you may not even need to execute any specialifconfig
command options. – Thomas Ward Nov 18 '22 at 18:02/etc/apt/sources.list
– Artur Meinild Nov 18 '22 at 18:19