On 3/9/19 7:35 PM, Eyal Lebedinsky wrote:
On 10/3/19 2:16 pm, ToddAndMargo via users wrote:
> Hi All,
>
> I forgot how to ask dnf what package provided program
$ dnf provides libreoffice
Last metadata expiration check: 28 days, 5:51:33 ago on Sun Feb 10
08:41:05 2019.
libreoffice-1:6.0.7.3-1.fc28.x86_64 : Free Software Productivity Suite
Repo : updates
Matched from:
Provide : libreoffice = 1:6.0.7.3-1.fc28
libreoffice-1:6.0.3.2-1.fc28.x86_64 : Free Software Productivity Suite
Repo : fedora
Matched from:
Provide : libreoffice = 1:6.0.3.2-1.fc28
Wildcards accepted in the program path/name.
> -T
Thank you! And you don't have to give it the exact path as with rpm.
$ dnf provides vi
vim-minimal-2:8.1.994-1.fc29.x86_64 : A minimal version of the VIM editor
Repo : @System
Matched from:
Filename : /usr/bin/vi
vim-minimal-2:8.1.994-1.fc29.x86_64 : A minimal version of the VIM editor
Repo : updates
Matched from:
Filename : /usr/bin/vi
vim-minimal-2:8.1.450-1.fc29.x86_64 : A minimal version of the VIM editor
Repo : fedora
Matched from:
Filename : /usr/bin/vi