How To Install klamav on Fedora 34

klamav is Clam Anti-Virus on the KDE Desktop

Introduction

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

What is klamav

ClamAV Anti-Virus protection for the KDE desktop.

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

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

sudo dnf -y install klamav

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

sudo yum -y install klamav

How To Uninstall klamav on Fedora 34

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

sudo dnf remove klamav

klamav Package Contents on Fedora 34

/usr/bin/ScanWithKlamAV
/usr/bin/klamarkollon
/usr/bin/klamav
/usr/bin/klammail
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/0ce57cf80ac141976770e19c681092d7add8b1
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/4aabc207bbd6111794611ab2f6b2d5c3559ec9
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/c047e11d3ac7d69b49fa8a6db6a1027802b7d0
/usr/share/applications/klamav.desktop
/usr/share/apps/klamav
/usr/share/apps/klamav/about
/usr/share/apps/klamav/about/aboutklamav.html
/usr/share/apps/klamav/about/klam.png
/usr/share/apps/klamav/about/main.html
/usr/share/apps/klamav/about/nodb.html
/usr/share/apps/klamav/about/tshirt.png
/usr/share/apps/klamav/about/wait.html
/usr/share/apps/klamav/eventsrc
/usr/share/apps/klamav/icons
/usr/share/apps/klamav/icons/hicolor
/usr/share/apps/klamav/icons/hicolor/32x32
/usr/share/apps/klamav/icons/hicolor/32x32/actions
/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scan_found.png
/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scan_safe.png
/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scanning.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_error.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_on_acc_disabled.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_on_acc_enabled.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_quarantining.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_update_required.png
/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_virus.png
/usr/share/apps/klamav/icons/hicolor/48x48
/usr/share/apps/klamav/icons/hicolor/48x48/apps
/usr/share/apps/klamav/icons/hicolor/48x48/apps/klamav.png
/usr/share/apps/klamav/klamavui.rc
/usr/share/apps/konqueror/servicemenus/klamav-dropdown.desktop
/usr/share/config.kcfg/klamavconfig.kcfg
/usr/share/doc/HTML/en/klamav
/usr/share/doc/HTML/en/klamav/common
/usr/share/doc/HTML/en/klamav/index.cache.bz2
/usr/share/doc/HTML/en/klamav/index.docbook
/usr/share/doc/klamav
/usr/share/doc/klamav/AUTHORS
/usr/share/doc/klamav/COPYING
/usr/share/doc/klamav/ChangeLog
/usr/share/doc/klamav/README
/usr/share/doc/klamav/TODO
/usr/share/icons/hicolor/32x32/apps/klamav.png
/usr/share/icons/hicolor/48x48/apps/klamav.png
/usr/share/locale/cs/LC_MESSAGES/klamav.mo
/usr/share/locale/de/LC_MESSAGES/klamav.mo
/usr/share/locale/es/LC_MESSAGES/klamav.mo
/usr/share/locale/fr/LC_MESSAGES/klamav.mo
/usr/share/locale/hu/LC_MESSAGES/klamav.mo
/usr/share/locale/it/LC_MESSAGES/klamav.mo
/usr/share/locale/pl/LC_MESSAGES/klamav.mo
/usr/share/locale/pt_BR/LC_MESSAGES/klamav.mo
/usr/share/locale/ru/LC_MESSAGES/klamav.mo
/usr/share/locale/tr/LC_MESSAGES/klamav.mo
/usr/share/locale/uk/LC_MESSAGES/klamav.mo
/usr/share/locale/zh_CN/LC_MESSAGES/klamav.mo

References

Summary

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