Can't install .rpm

I opened a terminal in the directory of the file clamav-1.5.1.linux.x86_64.rpm and ran it with "rpm-ostree install clamav-1.5.1.linux.x86_64.rpm" but keeps saying it doesn't exist. I tried a different version of the file and same thing. I also tried installing an .rpm file for kdiskmark just to see if it would work and it did. I know I can install clamav without needing the .rpm file with "rpm-ostree install clamav" but none of the clam commands existed this way.
Screenshot_20251130_052501.png
Solution
you can try installing it by extracting the rpm into your /usr/local folder
Was this page helpful?