How To Install yices on Fedora 34

yices is SMT solver SMT solver

Introduction

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

What is yices

Yices 2 is an efficient SMT solver that decides the satisfiability of formulas containing uninterpreted function symbols with equality, linear real and integer arithmetic, bitvectors, scalar types, and tuples. Yices 2 can process input written in the SMT-LIB notation (both versions 2.0 and 1.2 are supported). Alternatively, you can write specifications using the Yices 2 specification language, which includes tuples and scalar types. Yices 2 can also be used as a library in other software. yices 2.6.2 7.fc34 x86_64 1.2 M yices-2.6.2-7.fc34.src.rpm fedora SMT solver http GPLv3+ and BSD Yices 2 is an efficient SMT solver that decides the satisfiability of formulas containing uninterpreted function symbols with equality, linear real and integer arithmetic, bitvectors, scalar types, and tuples. Yices 2 can process input written in the SMT-LIB notation (both versions 2.0 and 1.2 are supported). Alternatively, you can write specifications using the Yices 2 specification language, which includes tuples and scalar types. Yices 2 can also be used as a library in other software.

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

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

sudo dnf -y install yices

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

sudo yum -y install yices

How To Uninstall yices on Fedora 34

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

sudo dnf remove yices

yices Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/d3ab74d6ea21432aaef3bc51c2af6aa4f49227
/usr/lib/libyices.so.2.6
/usr/lib/libyices.so.2.6.2
/usr/share/doc/yices
/usr/share/doc/yices/SMT-LIB-LANGUAGE
/usr/share/doc/yices/YICES-LANGUAGE
/usr/share/licenses/yices
/usr/share/licenses/yices/LICENSE.txt
/usr/share/licenses/yices/copyright.txt
/usr/lib/.build-id
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/2d6ca3d17ae2e10f2af63f9187a28a60dfe0f3
/usr/lib64/libyices.so.2.6
/usr/lib64/libyices.so.2.6.2
/usr/share/doc/yices
/usr/share/doc/yices/SMT-LIB-LANGUAGE
/usr/share/doc/yices/YICES-LANGUAGE
/usr/share/licenses/yices
/usr/share/licenses/yices/LICENSE.txt
/usr/share/licenses/yices/copyright.txt

References

Summary

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