How To Install dsdp on Kali Linux

In this tutorial we learn how to install dsdp on Kali Linux. dsdp is Software for Semidefinite Programming

Introduction

In this tutorial we learn how to install dsdp on Kali Linux.

What is dsdp

The DSDP software is a free open source implementation of an interior-point method for semidefinite programming. It provides primal and dual solutions, exploits low-rank structure and sparsity in the data, and has relatively low memory requirements for an interior-point method. It allows feasible and infeasible starting points and provides approximate certificates of infeasibility when no feasible solution exists. The dual-scaling algorithm implemented in this package has a convergence proof and worst-case polynomial complexity under mild assumptions on the data. Furthermore, the solver offers scalable parallel performance for large problems and a well documented interface. Some of the most popular applications of semidefinite programming and linear matrix inequalities (LMI) are model control, truss topology design, and semidefinite relaxations of combinatorial and global optimization problems.

This package contains the binaries.

There are three ways to install dsdp on Kali Linux . We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dsdp Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dsdp using apt-get by running the following command:

sudo apt-get -y install dsdp

Install dsdp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dsdp using apt by running the following command:

sudo apt -y install dsdp

Install dsdp Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dsdp using aptitude by running the following command:

sudo aptitude -y install dsdp

How To Uninstall dsdp on Kali Linux

To uninstall only the dsdp package we can use the following command:

sudo apt-get remove dsdp

Uninstall dsdp And Its Dependencies

To uninstall dsdp and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove dsdp

Remove dsdp Configurations and Data

To remove dsdp configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge dsdp

Remove dsdp configuration, data, and all of its dependencies

We can use the following command to remove dsdp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dsdp

References

Summary

In this tutorial we learn how to install dsdp using different package management tools like apt, apt-get and aptitude.