# &kde; User's Manual

`kf5-config`

1

`kf5-config`

Prints &kde; installation paths

    kf5-config
    --expandvars
    --prefix
    --exec-prefix
    --libsuffix
    --localprefix
    --version
    --types
    --path type
    --userpath type
    --install type

## Description

kf5-config is a command line program used to retrieve information about &kde; installation or user paths.

Use this program to determine where the various aspects of the &kde; installation reside on your system.

## Options

`--expandvars`

- expand ${prefix} and ${exec_prefix} in output

`--prefix`

- Compiled in prefix for &kde; libraries

`--exec-prefix`

- Compiled in exec_prefix for &kde; libraries

`--libsuffix`

- Compiled in library path suffix

`--localprefix`

- Prefix in $`HOME` used to write files

`--version`

- Compiled in version string for &kde; libraries

`--types`

- Print a list of all available &kde; resource types

`--path `type``

- Search path for the specified `type`

`--userpath `type``

- User paths for the types: desktop|autostart|trash|document

`--install `type``

- Prefix to install resource files to

## Examples

Print the top-level &kde; installation directory:

`%```kf5-config --prefix``

Print a list of all resource types:

`%```kf5-config --types``

Print the installed wallpaper path:

`%```kf5-config --path wallpaper``

## See Also

kdeoptions(7)

## Bugs

None known.