On Wed, 18 May 2022 22:32:49 -0700
Samuel Sieb <sam...@sieb.net> wrote:

> It's a common convention used in the rpm packaging to indicate what 
> you're needing instead of specifying a specific package.  The
> required "library" (or whatever) could move to another package and it
> wouldn't matter.  But it's just as useful when you know you need a
> certain dependency, but don't know which package it is.  And yes, you
> do have to quote them, at least if you're using bash.
> 
> Random examples:
> # rpm -q --provides perl-bignum
> 
> perl(Math::BigFloat::Trace) = 0.60
> 
> perl(Math::BigInt::Trace) = 0.60
> 
> perl(bigint) = 0.60
> 
> perl(bignum) = 0.60
> 
> perl(bigrat) = 0.60
> 
> 
> # rpm -q --provides openssl-devel
> 
> pkgconfig(libcrypto) = 1.1.1n
> 
> pkgconfig(libssl) = 1.1.1n
> 
> pkgconfig(openssl) = 1.1.1n
> 
> 
> For Java, you would use the "mvn()" notation if you know the Java 
> package name (Maven dependency) you're looking for:
> # dnf install "mvn(com.ongres.scram:client)"
> Package ongres-scram-client-2.1-3.fc35.noarch is already installed.

Thanks for the explanation.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to