sdpa command not found

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

Introduction

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

sdpa: command not found

or when using sudo you get the following error message

sudo: sdpa: command not found

Solutions to sdpa: command not found

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

In Ubuntu sdpa is provided by sdpa package.

sdpa is:

The software SDPA (SemiDefinite Programming Algorithm) is one of the most efficient and stable software packages for solving SDPs based on the primal-dual interior-point method. SDP (SemiDefinite Program) is used for financial engineering, machine learning, control theory, sensor network problem, quantum chemistry, quantum information, combinatorial optimizaiton, polynomial optimization, and so on. Further information on SDP and SDPA can be found at http://sdpa.sourceforge.net/

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

sudo apt-get -y install sdpa

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

You can also use apt command to install sdpa.

sudo apt -y install sdpa

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

sudo aptitude install sdpa

Summary

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