How do I find out which package an app is in?

General support questions
Post Reply
cuhobacu
Posts: 1
Joined: 2020/06/23 09:08:33

How do I find out which package an app is in?

Post by cuhobacu » 2020/06/23 09:35:42

I use pdftest. It's in the poppler package in Slackware, but not in CentOS. I don't know CentOS.

scottro
Forum Moderator
Posts: 2456
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: How do I find out which package an app is in?

Post by scottro » 2020/06/23 11:37:19

It may not be in CentOS. The way to find what package provides a program is to use the provides option. I have a little page on it at http://srobb.net/yumprovides.html, but the basically all you do is

yum provides */pdftest

(Trying on CentOS-8, it looks as if it isn't available.)

If you have something already installed, e.g., poppler, you can also do

rpm -ql poppler
which will show all the files provided by the poppler package.t
New users should check the FAQ and Read Me First pages

User avatar
jlehtone
Posts: 2931
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How do I find out which package an app is in?

Post by jlehtone » 2020/06/23 13:41:58

Are you related to RandomTroll? https://www.linuxquestions.org/question ... ?p=6136600

pdftotext is in the poppler-utils package.

Post Reply

Return to “CentOS 7 - General Support”