Personal tools
     DOCUMENTATION

FAQ:Find Available Software to Install

From rPath Wiki

Jump to: navigation, search
FAQ
Question: How can I find software available for installation on a Conary-based system?


Answer: Use conary repquery, often abbreviated conary rq, to display information about software available from one or more Conary repositories. The command is designed to limit results to only the software that is appropriate for the current system.

When used with no additional parameters, the command lists available packages and their revisions from all the labels Conary is configured to search. This configuration is maintained by the installLabelPath setting on the local system, which can be viewed using conary config:

$> conary config | grep installLabelPath
installLabelPath       conary.rpath.com@rpl:1 foresight.rpath.org@fl:desktop

Labels contain a Conary repository's hostname and branch. The label and the revision make up a complete version string. The branch makes it possible for a single repository to contain software meant for different purposes (such as for either software under development or stable software) or different system environments (such as for either rPath Linux or Foresight Desktop Linux).

Given the amount of output generated from such a command, consider piping it through less:

$> conary rq | less
Cheetah=1.0-1-0.1
Cheetah:source=1.0-1
...
cairo:source=/conary.rpath.com@rpl:devel//1/1.0.2-1.1
cairo:source=/foresight.rpath.org@fl:desktop/1.2.0-2
...
muine=0.8.5-1-1
muine:source=0.8.5-2
...
zsnes=1.42-6-1
zsnes:source=1.42-6

Add a package (or other trove) name to query all labels in the install label path for available troves of that name:

$> conary rq gaim
gaim=/conary.rpath.com@rpl:devel//1/1.5.0-4.2-1
gaim=/foresight.rpath.org@fl:1-devel//1/2.0.0beta6-3-7

See the conary repquery page for more information about how to refine a repository query.