ocsigenserver command not found

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

Introduction

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

ocsigenserver: command not found

or when using sudo you get the following error message

sudo: ocsigenserver: command not found

Solutions to ocsigenserver: command not found

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

In Ubuntu ocsigenserver is provided by ocsigenserver package.

ocsigenserver is:

The Ocsigen project is aimed at proposing clean and safe tools for developing and running client/server Web 2.0 applications.

Ocsigen Server is a full featured Web server. It implements most features of the HTTP protocol, and has a very powerful extension mechanism that make very easy to plug your own OCaml modules for generating pages. Many extensions are available, like a reverse proxy, content compression, access control, authentication, etc.

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

sudo apt-get -y install ocsigenserver

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

You can also use apt command to install ocsigenserver.

sudo apt -y install ocsigenserver

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

sudo aptitude install ocsigenserver

Summary

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