How To Install libjcat on Fedora 34
Introduction
In this tutorial we learn how to install libjcat
on Fedora 34.
What is libjcat
This library allows reading and writing gzip-compressed JSON catalog files, which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file. This provides equivalent functionality to the catalog files supported in Microsoft Windows. libjcat 0.1.6 1.fc34 x86_64 71 k libjcat-0.1.6-1.fc34.src.rpm fedora Library for reading Jcat files https LGPLv2+ This library allows reading and writing gzip-compressed JSON catalog files, which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file. This provides equivalent functionality to the catalog files supported in Microsoft Windows.
We can use yum
or dnf
to install libjcat
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libjcat.
Install libjcat 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 libjcat
using dnf
by running the following command:
sudo dnf -y install libjcat
Install libjcat 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 libjcat
using yum
by running the following command:
sudo yum -y install libjcat
How To Uninstall libjcat on Fedora 34
To uninstall only the libjcat
package we can use the following command:
sudo dnf remove libjcat
libjcat Package Contents on Fedora 34
/usr/bin/jcat-tool
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/a7500cb5854a6f8bcce5f1ee80673b6bf65d83
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/aa8b0abba99794a7c4bc9afbd319892039f329
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Jcat-1.0.typelib
/usr/lib/libjcat.so.1
/usr/lib/libjcat.so.1.0.0
/usr/share/doc/libjcat
/usr/share/doc/libjcat/README.md
/usr/share/licenses/libjcat
/usr/share/licenses/libjcat/LICENSE
/usr/share/man/man1/jcat-tool.1.gz
/usr/bin/jcat-tool
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/3e326a6f7beb3710b65644f6a4518b8aa8ec7c
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/52de17183f2814459b3bb4cfe2b00ec4ea9b92
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Jcat-1.0.typelib
/usr/lib64/libjcat.so.1
/usr/lib64/libjcat.so.1.0.0
/usr/share/doc/libjcat
/usr/share/doc/libjcat/README.md
/usr/share/licenses/libjcat
/usr/share/licenses/libjcat/LICENSE
/usr/share/man/man1/jcat-tool.1.gz
References
- [libjcat website](https://github.com/hughsie/libjcat https://github.com/hughsie/libjcat)
Summary
In this tutorial we learn how to install libjcat
on Fedora 34 using yum and dnf.