adcli command not found

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

Introduction

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

adcli: command not found

or when using sudo you get the following error message

sudo: adcli: command not found

Solutions to adcli: command not found

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

In Ubuntu adcli is provided by adcli package.

adcli is:

This tool allows the administrator to join the local machine to an Active Directory (AD) domain. It’s taking care of creating the computer account on the domain and adjusting the kerberos (keytab) configuration.

It also allows the domain administrator to manage the users or the groups and the computer accounts in Active Directory (AD) domains.

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

sudo apt-get -y install adcli

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

You can also use apt command to install adcli.

sudo apt -y install adcli

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

sudo aptitude install adcli

Summary

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