iwctl command not found

In this troubleshooting guide we learn how to fix iwctl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

iwctl: command not found

or when using sudo you get the following error message

sudo: iwctl: command not found

Solutions to iwctl: command not found

How To Fix iwctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu iwctl is provided by iwd package.

iwd is:

iNet Wireless Daemon (iwd) is a minimalistic wireless daemon that uses modern Linux interfaces like cfg80211 and nl80211 (netlink). The daemon provides a D-Bus API.

The daemon can be controlled from the command line with the included iwctl client utility.

The included iwmon utility can be used to monitor the 802.11 subsystem generic netlink commands and events. It uses the nlmon kernel driver from Linux 3.10 and later.

Note that the package defaults to relying on dbus activation to start. If you want to use iwd standalone without any manager, then you’ll need to manually enable the system service.

To fix this problem, we can install more using the command below.

sudo apt-get -y install iwd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install iwd.

sudo apt -y install iwd

Or if you have aptitude installed you can use the following command.

sudo aptitude install iwd

Summary

In this tutorial we learn how to fix iwctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.