passenger-memory-stats command not found

In this troubleshooting guide we learn how to fix passenger-memory-stats command not found error message

Introduction

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

passenger-memory-stats: command not found

or when using sudo you get the following error message

sudo: passenger-memory-stats: command not found

Solutions to passenger-memory-stats: command not found

How To Fix passenger-memory-stats: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu passenger-memory-stats is provided by passenger package.

passenger is:

Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. Phusion Passenger supports Ruby, Python, Node.js and Meteor.

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

sudo apt-get -y install passenger

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

You can also use apt command to install passenger.

sudo apt -y install passenger

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

sudo aptitude install passenger

Summary

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