How To Install cvc4 on Fedora 36

In this tutorial we learn how to install cvc4 in Fedora 36. cvc4 is Automatic theorem prover for SMT problems

Introduction

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

What is cvc4

CVC4 is an efficient open-source automatic theorem prover for satisfiability modulo theories (SMT) problems. It can be used to prove the validity (or, dually, the satisfiability) of first-order formulas in a large number of built-in logical theories and their combination. CVC4 is the fourth in the Cooperating Validity Checker family of tools (CVC, CVC Lite, CVC3) but does not directly incorporate code from any previous version. A joint project of NYU and U Iowa, CVC4 aims to support the features of CVC3 and SMT-LIBv2 while optimizing the design of the core system architecture and decision procedures to take advantage of recent engineering and algorithmic advances. CVC4 is intended to be an open and extensible SMT engine, and it can be used as a stand-alone tool or as a library, with essentially no limit on its use for research or commercial purposes.

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

Install cvc4 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 cvc4 using dnf by running the following command:

sudo dnf -y install cvc4

Install cvc4 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 cvc4 using yum by running the following command:

sudo yum -y install cvc4

How To Uninstall cvc4 on Fedora 36

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

sudo dnf remove cvc4

cvc4 Package Contents on Fedora 36

/usr/bin/cvc4
/usr/lib/.build-id
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/0810fc8a93268be73fdfc6107678d71ec4e0c9
/usr/share/cvc4
/usr/share/cvc4/drat.plf
/usr/share/cvc4/er.plf
/usr/share/cvc4/lrat.plf
/usr/share/cvc4/sat.plf
/usr/share/cvc4/smt.plf
/usr/share/cvc4/th_arrays.plf
/usr/share/cvc4/th_base.plf
/usr/share/cvc4/th_bv.plf
/usr/share/cvc4/th_bv_bitblast.plf
/usr/share/cvc4/th_bv_rewrites.plf
/usr/share/cvc4/th_int.plf
/usr/share/cvc4/th_lira.plf
/usr/share/cvc4/th_real.plf
/usr/share/doc/cvc4
/usr/share/doc/cvc4/AUTHORS
/usr/share/doc/cvc4/NEWS
/usr/share/doc/cvc4/README.md
/usr/share/doc/cvc4/THANKS
/usr/share/man/man1/cvc4.1.gz
/usr/share/man/man5/cvc4.5.gz

References

Summary

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