wpctl command not found

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

Introduction

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

wpctl: command not found

or when using sudo you get the following error message

sudo: wpctl: command not found

Solutions to wpctl: command not found

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

In Ubuntu wpctl is provided by wireplumber package.

wireplumber is:

WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire’s API, providing convenience for writing the daemon’s modules as well as external tools for managing PipeWire.

This package contains the WirePlumber daemon and command-line utilities.

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

sudo apt-get -y install wireplumber

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

You can also use apt command to install wireplumber.

sudo apt -y install wireplumber

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

sudo aptitude install wireplumber

Summary

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