How To Install sdpam on Kali Linux
Introduction
In this tutorial we learn how to install sdpam on Kali Linux.
What is sdpam
sdpam is:
This package provides SDPA-M, Matlab/Octave interface of SDPA (SemiDefinite Programming Algorithm). See the information of the package ‘sdpa’. To use SDPA-M on Octave, add /usr/share/sdpa/mex and /usr/lib/sdpa/mex to your Octave path. The summary of each command can be found in /usr/share/sdpa/mex/CommandList.txt The compilation by Matlab can be found at /usr/share/doc/sdpa/README. Further information on SDP and SDPA can be found at http://sdpa.sourceforge.net/
There are three methods to install sdpam 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 sdpam Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install sdpam using apt-get by running the following command:
sudo apt-get -y install sdpamInstall sdpam Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install sdpam using apt by running the following command:
sudo apt -y install sdpamInstall sdpam Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install sdpam using aptitude by running the following command:
sudo aptitude -y install sdpamHow To Uninstall sdpam on Kali Linux
To uninstall only the sdpam package we can use the following command:
sudo apt-get remove sdpamUninstall sdpam And Its Dependencies
To uninstall sdpam and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sdpamRemove sdpam Configurations and Data
To remove sdpam configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sdpamRemove sdpam configuration, data, and all of its dependencies
We can use the following command to remove sdpam configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sdpamDependencies
sdpam have the following dependencies:
- libc6
- libgcc-s1
- libgfortran5
- libscotch-6.1
- libstdc++6
- libopenblas-pthread-dev
- libmumps-seq-5.3
- octave
- libsdpa-dev
References
Summary
In this tutorial we learn how to install sdpam package on Kali Linux using different package management tools: apt, apt-get and aptitude.