How To Install csdp on Fedora 34

csdp is C library for SemiDefinite Programming C library for SemiDefinite Programming

Introduction

In this tutorial we learn how to install csdp on Fedora 34.

What is csdp

CSDP is a library of routines that implements a predictor corrector variant of the semidefinite programming algorithm of Helmberg, Rendl, Vanderbei, and Wolkowicz. The main advantages of this code are that it is written to be used as a callable subroutine, it is written in C for efficiency, the code runs in parallel on shared memory multiprocessor systems, and it makes effective use of sparsity in the constraint matrices. csdp 6.2.0 11.fc34 x86_64 302 k csdp-6.2.0-11.fc34.src.rpm fedora C library for SemiDefinite Programming https CPL CSDP is a library of routines that implements a predictor corrector variant of the semidefinite programming algorithm of Helmberg, Rendl, Vanderbei, and Wolkowicz. The main advantages of this code are that it is written to be used as a callable subroutine, it is written in C for efficiency, the code runs in parallel on shared memory multiprocessor systems, and it makes effective use of sparsity in the constraint matrices.

We can use yum or dnf to install csdp on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install csdp.

Install csdp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install csdp using dnf by running the following command:

sudo dnf -y install csdp

Install csdp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install csdp using yum by running the following command:

sudo yum -y install csdp

How To Uninstall csdp on Fedora 34

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

sudo dnf remove csdp

csdp Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/ee13925b5c923085df6e58ea63fd3bf55f4953
/usr/lib/libsdp.so.6
/usr/lib/libsdp.so.6.2.0
/usr/share/doc/csdp
/usr/share/doc/csdp/AUTHORS
/usr/share/doc/csdp/README
/usr/share/doc/csdp/csdpuser.pdf
/usr/share/licenses/csdp
/usr/share/licenses/csdp/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/fc99b5e899b9cf338e7fb2c008eb7f352941f6
/usr/lib64/libsdp.so.6
/usr/lib64/libsdp.so.6.2.0
/usr/share/doc/csdp
/usr/share/doc/csdp/AUTHORS
/usr/share/doc/csdp/README
/usr/share/doc/csdp/csdpuser.pdf
/usr/share/licenses/csdp
/usr/share/licenses/csdp/LICENSE

References

Summary

In this tutorial we learn how to install csdp on Fedora 34 using yum and dnf.