The simple stupid way is:
dnf list | grep -i package-name-here
On Thu, Jul 21, 2022 at 1:08 PM Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> Hello,
>
> I would like to check if a package in available for installation by using dnf
> without installation.
>
> Thank
>
>
> ===========================================================================
> Patrick DUPRÉ | | email: pdupre(a)gmx.com
> Laboratoire interdisciplinaire Carnot de Bourgogne
> 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> Tel: +33 (0)380395988 | | Room# D114A
> ===========================================================================
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)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