KF5-CONFIG(1)
π KF5-CONFIG(1) π
okay bestie, so this is the manual page for kf5-config β it lives in the kf5-config User's Manual section of your man pages, and it's literally your little tour guide for finding out where all your Frameworks stuff is hiding on your machine. let's get into it π¦
β¨ NAME β¨
kf5-config β prints Qt(TM) and Frameworks installation paths. that's the whole job. it's giving "where is everything" and honestly? we love a tool that just tells you. π
β¨ SYNOPSIS β¨
kf5-config [--expandvars] [--prefix] [--exec-prefix] [--libsuffix]
[--localprefix] [--version] [--kde-version] [--types]
[--path type] [--userpath type] [--install type]
[--qt-prefix] [--qt-binaries] [--qt-libraries] [--qt-plugins]
like, no subcommands, no drama, just vibes and flags. pick your flag, get your answer. π
β¨ DESCRIPTION β¨
so kf5-config is a command line program you run to retrieve information about Frameworks installation paths, or about your user paths. that's it, that's the whole personality. π
use this program when you need to figure out where the various aspects of the Frameworks installation actually reside on your system β like, physically. on disk. the real location. no cap.
β οΈ note bestie, this one matters:kf5-configis mostly a deprecated replacement forkde4-config, and the recommended tool to use instead isqtpaths(which is shipped with Qt(TM)). so it still works, it's still here, but it's lowkey the old way. if you're starting fresh,qtpathsis the moment. π«Ά
β¨ OPTIONS β¨
one bullet per flag, no skipping, we're doing all of them because we respect the craft. πΈ
--expandvarsβ expands${prefix}and${exec_prefix}in the output. it takes those placeholder-y variables and actually spells them out for you. β¨--prefixβ the compiled in prefix for Frameworks libraries.--exec-prefixβ the compiled in exec_prefix for Frameworks libraries.--libsuffixβ the compiled in library path suffix.--localprefixβ the prefix in$HOMEused to write files.--versionβ the version of Qt(TM), plus the compiled in version string for Frameworks libraries andkf5-config. a little combo platter. π--kde-versionβ the compiled in version string for Frameworks libraries.--typesβ prints a list of all available KDE resource types. the whole roster. π--path typeβ the search path for the specified type.--userpath typeβ the user paths for the types:desktop|document.--install typeβ the prefix to install resource files to.--qt-prefixβ the installation prefix for Qt(TM).--qt-binariesβ the location of installed Qt(TM) binaries.--qt-librariesβ the location of installed Qt(TM) libraries.--qt-pluginsβ the location of installed Qt(TM) plugins. π₯
β¨ EXAMPLES β¨
π« print the top-level Frameworks 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? one flag, one answer, zero chaos. iconic behaviour fr fr. π§
β¨ SEE ALSO β¨
kf5options(7)β go read that one too bestie, iykyk π
β¨ BUGS β¨
None known. not a single one. we're flawless, we're unbothered, we're bug-free (allegedly). πβ¨
β¨ AUTHOR β¨
Stephan Kulow <coolo@kde.org>
- Author. π«‘ thank you for your service king
and that's the whole page!! π this little slice of the docs came to you courtesy of KDE Frameworks Frameworks 5.13, dated 2015-07-31, and it's page KF5-CONFIG(1) of the kf5-config User's Manual. go forth and locate your paths, bestie π
π
π¦ where this page comes from
- debian bookworm: libkf5kdelibs4support5-bin 5.103.0-1 Β· LGPL-2.0-or-later
- epel 9: kf5-kdelibs4support 5.116.0-1.el9 Β· GPLv2+ and LGPLv2+ and BSD
- fedora 43: kf5-kdelibs4support 5.116.0-6.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-BSD
- fedora 44: kf5-kdelibs4support 5.116.0-7.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-BSD
- opensuse-leap 16.0: kdelibs4support 5.116.0-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: kdelibs4support 5.116.0-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: kdelibs4support 5.116.0-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: kdelibs4support 5.116.0-bp160.1.14 Β· LGPL-2.1-or-later
- ubuntu jammy: libkf5kdelibs4support5-bin 5.92.0-0ubuntu1 Β· LGPL-2.0-or-later
- ubuntu noble: libkf5kdelibs4support5-bin 5.115.0-0ubuntu6 Β· LGPL-2.0-or-later
- ubuntu resolute: libkf5kdelibs4support5-bin 5.116.0-1ubuntu1 Β· LGPL-2.0-or-later
- ubuntu stonking: libkf5kdelibs4support5-bin 5.116.0-1ubuntu1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms