How To Install clamd on Fedora 34
Introduction
In this tutorial we learn how to install clamd
on Fedora 34.
What is clamd
The Clam AntiVirus Daemon See the README file how this can be done with a minimum of effort. This package contains a generic system wide clamd service which is e.g. used by the clamav-milter package.
We can use yum
or dnf
to install clamd
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install clamd.
Install clamd 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 clamd
using dnf
by running the following command:
sudo dnf -y install clamd
Install clamd 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 clamd
using yum
by running the following command:
sudo yum -y install clamd
How To Uninstall clamd on Fedora 34
To uninstall only the clamd
package we can use the following command:
sudo dnf remove clamd
clamd Package Contents on Fedora 34
/run/clamd.scan
/run/clamd.scan/clamd.sock
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/9c6bff4af221285453db17530b5657690628b2
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/clamd.scan.conf
/usr/sbin/clamd
/usr/share/doc/clamd
/usr/share/doc/clamd/README
/usr/share/doc/clamd/clamd.conf
/usr/share/doc/clamd/clamd.logrotate
/usr/share/man/man5/clamd.conf.5.gz
/usr/share/man/man8/clamd.8.gz
/run/clamd.scan
/run/clamd.scan/clamd.sock
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/40cbeb38b97aa692a231f4059d8a9e2888d399
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/clamd.scan.conf
/usr/sbin/clamd
/usr/share/doc/clamd
/usr/share/doc/clamd/README
/usr/share/doc/clamd/clamd.conf
/usr/share/doc/clamd/clamd.logrotate
/usr/share/man/man5/clamd.conf.5.gz
/usr/share/man/man8/clamd.8.gz
References
Summary
In this tutorial we learn how to install clamd
on Fedora 34 using yum and dnf.