ocp command not found

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

Introduction

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

ocp: command not found

or when using sudo you get the following error message

sudo: ocp: command not found

Solutions to ocp: command not found

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

In Ubuntu ocp is provided by opencubicplayer package.

opencubicplayer is:

This is a port of the Open Cubic Player to UNIX from DOS. Provides a nice textbased frontend, with some few optional features in graphical. Plays modules, sids, wave, audio CD, midi, ogg, flac, adlib, mp3, ahx, hvl, and ym.

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

sudo apt-get -y install opencubicplayer

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

You can also use apt command to install opencubicplayer.

sudo apt -y install opencubicplayer

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

sudo aptitude install opencubicplayer

Summary

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