How To Install librpminspect on Fedora 34
Introduction
In this tutorial we learn how to install librpminspect
on Fedora 34.
What is librpminspect
The library providing the backend test functionality and API for the rpminspect frontend program. This library can also be used by other programs wanting to incorporate RPM test functionality. librpminspect 1.5 1.fc34 x86_64 303 k rpminspect-1.5-1.fc34.src.rpm updates Library providing RPM test API and functionality https GPLv3+ and LGPLv2+ and ASL 2.0 and CC-BY The library providing the backend test functionality and API for the rpminspect frontend program. This library can also be used by other programs wanting to incorporate RPM test functionality.
We can use yum
or dnf
to install librpminspect
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install librpminspect.
Install librpminspect 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 librpminspect
using dnf
by running the following command:
sudo dnf -y install librpminspect
Install librpminspect 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 librpminspect
using yum
by running the following command:
sudo yum -y install librpminspect
How To Uninstall librpminspect on Fedora 34
To uninstall only the librpminspect
package we can use the following command:
sudo dnf remove librpminspect
librpminspect Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/586c269a869fa1634b15f5e8badb47569dba5f
/usr/lib64/librpminspect.so.0
/usr/lib64/librpminspect.so.0.5.0
/usr/share/licenses/librpminspect
/usr/share/licenses/librpminspect/COPYING.LIB
/usr/share/licenses/librpminspect/LICENSE-2.0.txt
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/5f3834d24255026ec54481f7939fd6c77d5166
/usr/lib64/librpminspect.so.0
/usr/lib64/librpminspect.so.0.5.0
/usr/share/licenses/librpminspect
/usr/share/licenses/librpminspect/COPYING.LIB
/usr/share/licenses/librpminspect/LICENSE-2.0.txt
/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ca7b258ce86226f4fb8f26896164eaf7daf33f
/usr/lib/librpminspect.so.0
/usr/lib/librpminspect.so.0.5.0
/usr/share/licenses/librpminspect
/usr/share/licenses/librpminspect/COPYING.LIB
/usr/share/licenses/librpminspect/LICENSE-2.0.txt
References
- [librpminspect website](https://github.com/rpminspect/rpminspect https://github.com/rpminspect/rpminspect)
Summary
In this tutorial we learn how to install librpminspect
on Fedora 34 using yum and dnf.