How To Install picosat on Fedora 34

picosat is A SAT solver

Introduction

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

What is picosat

PicoSAT solves the SAT problem, which is the classical NP complete problem of searching for a satisfying assignment of a propositional formula in conjunctive normal form (CNF). PicoSAT can generate proofs and cores in memory by compressing the proof trace. It supports the proof format of TraceCheck.

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

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

sudo dnf -y install picosat

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

sudo yum -y install picosat

How To Uninstall picosat on Fedora 34

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

sudo dnf remove picosat

picosat Package Contents on Fedora 34

/usr/bin/picogcnf
/usr/bin/picomcs
/usr/bin/picomus
/usr/bin/picosat
/usr/bin/picosat.trace
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/b2534e7afcc476f5f14d2e7b8889e47e0ee283
/usr/lib/.build-id/64
/usr/lib/.build-id/64/fdca2e73f2888bf9a83a9a7f11ae98a3e21e50
/usr/lib/.build-id/76
/usr/lib/.build-id/76/2737b2f75a977787059071f06005de27929216
/usr/lib/.build-id/76/a46bac4b52ac51dd8b191fbadfb7d394baa78e
/usr/lib/.build-id/93
/usr/lib/.build-id/93/f37eaa1b3deafc768a1559de7c2a325f5ab49f
/usr/share/man/man1/picomus.1.gz
/usr/share/man/man1/picosat.1.gz
/usr/share/man/man1/picosat.trace.1.gz

References

Summary

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