## Filters

Search filtering on the name is done in the backend for efficiency reasons. This can be added into the compiled backend if this is not possible in any new backend design.

Filter options are:

Option | Description
--- | ---
`installed` or `~installed` | If the package is installed on the system
`devel` or `~devel` | Development packages typically end -devel, -dgb and -static.
`gui` or `~gui` | GUI programs typically depend on gtk, libkde or libxfce.
`free` or `~free` | Free software. The package contains only software and other content that is available under a free license. See http://fedoraproject.org/wiki/Licensing for a list of licenses that are considered free. If a license cannot be determined from the package metadata, or the status of the license is not known, the package will be marked as 'non-free'.
`visible` or `~visible` | Repositories may want to specify if a package should be visible in an application chooser.
`supported` or `~supported` | If the package is supported or is a third party addon.
`basename` or `~basename` | The basename filter will only return results according to the package basename. This is useful if you are searching for pm-utils and you only want to show the main pm-utils package, not any of the `-devel` or `-debuginfo` or `-common` suffixes in the UI. The basename is normally the original name of the source package.
`newest` or `~newest` | The newest filter will only return the newest package available. This is useful if you are searching for `gimp` and only `gimp-2.4.5-1.fc9.i386` would be returned, not `gimp-2.4.5-1.fc9.i386`, `gimp-2.4.4-1.fc9.i386` and `gimp-2.4.3-1.fc9.i386`.
`arch` or `~arch` | The arch filter will only return the packages that match the exact architecture of the system, for instance only showing x86_64 packages on a AMD Turion 64. This would mean that x86_64 packages could be filtered from non-native 32-bit packages. This allows the used to choose non-native packages if a multi-lib policy is allowed.
`source` or `~source` | The source filter will only return source packages. These are typically useful when rebuilding other packages.

So valid options would be:

Option | Description
--- | ---
`none` | All packages installed or available with no filtering
`devel;~installed` | All non-installed development packages
`installed;~devel` | All installed non-development packages
`gui;~installed;~devel` | All non-installed, non-devel gui programs