How To Install cddlib on Fedora 36

In this tutorial we learn how to install cddlib in Fedora 36. cddlib is A library for generating all vertices in convex polyhedrons

Introduction

In this tutorial we learn how to install cddlib on Fedora 36.

What is cddlib

The C-library cddlib is a C implementation of the Double Description Method of Motzkin et al. for generating all vertices (i.e. extreme points) and extreme rays of a general convex polyhedron in R^d given by a system of linear inequalities P = { x=(x1, …, xd)^T where A is a given m x d real matrix, b is a given m-vector and 0 is the m-vector of all zeros. The program can be used for the reverse operation (i.e. convex hull computation). This means that one can move back and forth between an inequality representation and a generator (i.e. vertex and ray) representation of a polyhedron with cdd. Also, cdd can solve a linear programming problem, i.e. a problem of maximizing and minimizing a linear function over P.

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

Install cddlib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cddlib

Install cddlib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cddlib

How To Uninstall cddlib on Fedora 36

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

sudo dnf remove cddlib

cddlib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/ed3f55977217e89250c2cfeb24d87df9f0c0f8
/usr/lib/.build-id/df
/usr/lib/.build-id/df/aaca1cc161cb41573bf504258afedd086dc914
/usr/lib64/libcdd.so.0
/usr/lib64/libcdd.so.0.1.2
/usr/lib64/libcddgmp.so.0
/usr/lib64/libcddgmp.so.0.1.2
/usr/share/doc/cddlib
/usr/share/doc/cddlib/AUTHORS
/usr/share/doc/cddlib/ChangeLog
/usr/share/licenses/cddlib
/usr/share/licenses/cddlib/COPYING

References

Summary

In this tutorial we learn how to install cddlib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install cddlib on Fedora 36” linkTitle: “cddlib” type: “docs” description: “In this tutorial we learn how to install cddlib in Fedora 36. cddlib is A library for generating all vertices in convex polyhedrons” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cddlib-featured.png

Introduction

In this tutorial we learn how to install cddlib on Fedora 36.

What is cddlib

The C-library cddlib is a C implementation of the Double Description Method of Motzkin et al. for generating all vertices (i.e. extreme points) and extreme rays of a general convex polyhedron in R^d given by a system of linear inequalities P = { x=(x1, …, xd)^T where A is a given m x d real matrix, b is a given m-vector and 0 is the m-vector of all zeros. The program can be used for the reverse operation (i.e. convex hull computation). This means that one can move back and forth between an inequality representation and a generator (i.e. vertex and ray) representation of a polyhedron with cdd. Also, cdd can solve a linear programming problem, i.e. a problem of maximizing and minimizing a linear function over P.

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

Install cddlib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cddlib

Install cddlib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cddlib

How To Uninstall cddlib on Fedora 36

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

sudo dnf remove cddlib

cddlib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/b6b5d23619366628ad548fac7d78c9f941acd3
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/0d60b0478d95cd17055c6089b1ea735ff7f468
/usr/lib/libcdd.so.0
/usr/lib/libcdd.so.0.1.2
/usr/lib/libcddgmp.so.0
/usr/lib/libcddgmp.so.0.1.2
/usr/share/doc/cddlib
/usr/share/doc/cddlib/AUTHORS
/usr/share/doc/cddlib/ChangeLog
/usr/share/licenses/cddlib
/usr/share/licenses/cddlib/COPYING

References

Summary

In this tutorial we learn how to install cddlib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).