mate-polkit command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mate-polkit: command not found
or when using sudo you get the following error message
sudo: mate-polkit: command not found
Solutions to mate-polkit: command not found
How To Fix mate-polkit: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mate-polkit is provided by mate-polkit-bin package.
mate-polkit-bin is:
The mate-polkit package provides a D-Bus session bus service that is used to bring up authentication dialogs used for obtaining privileges.
This package contains an executable wrapper script for the MATE policy kit authentication agent.
This package eases using mate-polkit as PolicyKit-1 authentication agent on non-MATE desktop environments that don’t auto-launch their own authentication agent (e.g., i3, awesome, ratpoison and alike).
To fix this problem, we can install more using the command below.
sudo apt-get -y install mate-polkit-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mate-polkit-bin.
sudo apt -y install mate-polkit-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install mate-polkit-bin
Summary
In this tutorial we learn how to fix mate-polkit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.