scale-to-fit command not found

In this troubleshooting guide we learn how to fix scale-to-fit command not found error message

Introduction

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

scale-to-fit: command not found

or when using sudo you get the following error message

sudo: scale-to-fit: command not found

Solutions to scale-to-fit: command not found

How To Fix scale-to-fit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scale-to-fit is provided by phoc package.

phoc is:

Tiny wayland compositor based on wlroots for use on mobile phones like the Librem 5.

You likely want to use Phosh (the phone shell) with it.

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

sudo apt-get -y install phoc

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

You can also use apt command to install phoc.

sudo apt -y install phoc

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

sudo aptitude install phoc

Summary

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