mpsyt command not found

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

Introduction

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

mpsyt: command not found

or when using sudo you get the following error message

sudo: mpsyt: command not found

Solutions to mpsyt: command not found

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

In Ubuntu mpsyt is provided by mps-youtube package.

mps-youtube is:

This project is a terminal based YouTube client with an interactive text interface and in-built help. It can be used to search YouTube, create local playlists to queue your favourite content, play audio or video (launched in external player) and can download YouTube content in various formats (mp4, flv, webm, ogg, m4a, m4v and 3gp).

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

sudo apt-get -y install mps-youtube

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

You can also use apt command to install mps-youtube.

sudo apt -y install mps-youtube

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

sudo aptitude install mps-youtube

Summary

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