yowsup-cli command not found

In this troubleshooting guide we learn how to fix yowsup-cli command not found error message

Introduction

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

yowsup-cli: command not found

or when using sudo you get the following error message

sudo: yowsup-cli: command not found

Solutions to yowsup-cli: command not found

How To Fix yowsup-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yowsup-cli is provided by yowsup-cli package.

yowsup-cli is:

WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages, via Internet, without having to pay for SMS, using a mobile phone.

In addition to basic messaging, WhatsApp users can create groups, send each other unlimited images, video and audio media messages.

yowsup-cli is a command line program, based in python-yowsup library, that allows you to login and use the WhatsApp service, providing all capabilities of an official WhatsApp client, as encryption of messages. This program can be used for multiple purposes as e.g. to receive messages from network servers or appliances, notifying about issues, via direct command or by special agents (Zabbix, Nagios, iwatch, portsentry, etc.).

This package is a good example of the python-yowsup library implementation.

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

sudo apt-get -y install yowsup-cli

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

You can also use apt command to install yowsup-cli.

sudo apt -y install yowsup-cli

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

sudo aptitude install yowsup-cli

Summary

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