svmocas command not found

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

Introduction

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

svmocas: command not found

or when using sudo you get the following error message

sudo: svmocas: command not found

Solutions to svmocas: command not found

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

In Ubuntu svmocas is provided by libocas-tools package.

libocas-tools is:

This library implements Optimized Cutting Plane Algorithm (OCAS) for training linear Support Vector Machine (SVM) classifiers from large-scale data. The computational effort of OCAS scales linearly with the number of training examples. It is one of the fastest SVM solvers around for solving linear and multiclass L2 regularized SVMs.

This package contains the standalone applications.

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

sudo apt-get -y install libocas-tools

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

You can also use apt command to install libocas-tools.

sudo apt -y install libocas-tools

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

sudo aptitude install libocas-tools

Summary

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