connmanctl command not found

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

Introduction

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

connmanctl: command not found

or when using sudo you get the following error message

sudo: connmanctl: command not found

Solutions to connmanctl: command not found

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

In Ubuntu connmanctl is provided by connman package.

connman is:

The Linux Connection Manager project provides a daemon for managing Internet connections within embedded devices running the Linux operating system. The Connection Manager is designed to be slim and to use as few resources as possible. It is fully modular system that can be extended through plug-ins. The plug-in approach allows for easy adaption and modification for various use cases.

ConnMan provies IPv4 and IPv6 connectivity via:

  • ethernet
  • WiFi, using wpasupplicant
  • Cellular, using oFono
  • Bluetooth, using bluez

ConnMan implements DNS resolving and caching, DHCP clients for both IPv4 and IPv6, link-local IPv4 address handling and tethering (IP connection sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.

This package contains the connman daemon and its plugins.

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

sudo apt-get -y install connman

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

You can also use apt command to install connman.

sudo apt -y install connman

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

sudo aptitude install connman

Summary

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