scrcpy command not found

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

Introduction

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

scrcpy: command not found

or when using sudo you get the following error message

sudo: scrcpy: command not found

Solutions to scrcpy: command not found

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

In Ubuntu scrcpy is provided by scrcpy package.

scrcpy is:

This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access.

This package contains the client (desktop) binary.

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

sudo apt-get -y install scrcpy

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

You can also use apt command to install scrcpy.

sudo apt -y install scrcpy

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

sudo aptitude install scrcpy

Summary

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