How To Install hackrf on Fedora 34

hackrf is HackRF Utilities HackRF Utilities

Introduction

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

What is hackrf

Hardware designs and software for HackRF, a project to produce a low cost, open source software radio platform. hackrf 2018.01.1 9.fc34 x86_64 61 k hackrf-2018.01.1-9.fc34.src.rpm fedora HackRF Utilities https GPLv2 Hardware designs and software for HackRF, a project to produce a low cost, open source software radio platform.

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

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

sudo dnf -y install hackrf

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

sudo yum -y install hackrf

How To Uninstall hackrf on Fedora 34

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

sudo dnf remove hackrf

hackrf Package Contents on Fedora 34

/usr/bin/hackrf_cpldjtag
/usr/bin/hackrf_debug
/usr/bin/hackrf_info
/usr/bin/hackrf_spiflash
/usr/bin/hackrf_sweep
/usr/bin/hackrf_transfer
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/4c427668988d6edac3c8f56d54abcfb5eb9d7f
/usr/lib/.build-id/29/f1f2615407c5c6938144d4521a69f2306f7078
/usr/lib/.build-id/82
/usr/lib/.build-id/82/dbd64399d3d164abe9c964ba0e660eaf377988
/usr/lib/.build-id/98
/usr/lib/.build-id/98/b4e6436714e38251ae272d7196dfd15b1e3ae2
/usr/lib/.build-id/be
/usr/lib/.build-id/be/f8e7b73507fff8102c255b798c1a27ceb9dfb7
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/8d2f0c6dc8889c65c5b349af724f0f7706ff8b
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/e3f4084c015827ab6bcc61f8aa6737df2b3c0a
/usr/lib/libhackrf.so.0
/usr/lib/libhackrf.so.0.5.0
/usr/lib/udev/rules.d/53-hackrf.rules
/usr/share/doc/hackrf
/usr/share/doc/hackrf/Readme.md
/usr/share/licenses/hackrf
/usr/share/licenses/hackrf/COPYING
/usr/share/licenses/hackrf/TRADEMARK
/usr/bin/hackrf_cpldjtag
/usr/bin/hackrf_debug
/usr/bin/hackrf_info
/usr/bin/hackrf_spiflash
/usr/bin/hackrf_sweep
/usr/bin/hackrf_transfer
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/d6ebc9f8c4a3e04cae8d128e25218fc07c358d
/usr/lib/.build-id/69
/usr/lib/.build-id/69/2eb8dcd9e2bdd76d1694d3cb4bc3bf1f3741ae
/usr/lib/.build-id/74
/usr/lib/.build-id/74/4b46ae43cd7f4d2a6ab0599993e6e4cca094d8
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/50d8545d8e35c1eebd4cc7b14b4c5a4f9cbd7b
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/554253133de4cde6fbef9b33529bff5c86e828
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/aa684ced3bb75e60557752b2a836fbe43657a2
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/ece405c650bd2e76ceee8cc50e24fd53608b4e
/usr/lib/udev/rules.d/53-hackrf.rules
/usr/lib64/libhackrf.so.0
/usr/lib64/libhackrf.so.0.5.0
/usr/share/doc/hackrf
/usr/share/doc/hackrf/Readme.md
/usr/share/licenses/hackrf
/usr/share/licenses/hackrf/COPYING
/usr/share/licenses/hackrf/TRADEMARK

References

Summary

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