Re: What use are these (rpm) entries in 'man'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 02, 2007 at 09:40:45AM -0800, Jeff Spaleta wrote:
> On 11/2/07, Chris G <cl@xxxxxxxx> wrote:
> > "python-docutils" isn't anything really, certainly not a command.
> >
> > Entering "yum info python-docutils" does produce some output but it
> > relates more to packaging and installation than to the utilities
> > provided.
> 
> python-docutils is a packagename. Once you know its a packagename,
> then depending on what information you want about the installed
> packagename you may or may not want to query the repository data via
> yum. You may want to make very specific queries to the local rpmdb and
> if so you will most likely want to use the rpm command.
> 
> For example...
> Since man -k docutils returned a hit for the rpm packagename
> python-docutils, it means that python-docutils is installed. You can
> use the cmdline rpm command to look at the installed files associated
> with that installed packagename. rpm -ql python-docutils.
> 
That did actually find the executables which python-docutils installs
which is what I was originally looking for, thank you.

> If i wanted to be even more narrow about it and just look for
> installed commands I'd naively run rpm -ql python-docutils|grep "/bin"
>  to generate a list of files with "/bin" in the full pathname.
> 
Probably a good idea as it does install a *lot* of files.

> FYI, yum does not by default give you access to the full set of
> information that can be obtained about installed packages that the rpm
> cmdline program does.  repoquery in the yum-utils package can a larger
> subset of information queries..against repositories if you need
> detailed information about packages not yet installed.
> 

-- 
Chris Green


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux