Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I just compiled GnuPG from source on my GNU/Linux RPM-based system and its not working. Why?

0
Posted

I just compiled GnuPG from source on my GNU/Linux RPM-based system and its not working. Why?

0

Many GNU/Linux distributions that are RPM-based will install a version of GnuPG as part of its standard installation, placing the binaries in the /usr/bin directory. Later, compiling and installing GnuPG from source other than from a source RPM won’t normally overwrite these files, as the default location for placement of GnuPG binaries is in /usr/local/bin unless the ‘–prefix’ switch is used during compile to specify an alternate location. Since the /usr/bin directory more than likely appears in your path before /usr/local/bin, the older RPM-version binaries will continue to be used when called since they were not replaced. To resolve this, uninstall the RPM-based version with ‘rpm -e gnupg’ before installing the binaries compiled from source. If dependency errors are displayed when attempting to uninstall the RPM (such as when Red Hat’s up2date is also installed, which uses GnuPG), uninstall the RPM with ‘rpm -e gnupg –nodeps’ to force the uninstall. Any dependent files should be a

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123