I tested installing a package for which I had to use yum localinstall <pkgfile>.rpm. Worked fine, but I cannot figure out how to remove it. How can I achieve that?


Either yum erase <package_name> or rpm -e <package_name> should remove any installed package. yum localinstall has been deprecated for some time, and in current versions of Fedora, as well as RHEL 8, it's simply an alias for yum install

  • 2
    ... or even dnf install. – Stephen Kitt Dec 17 '20 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.