HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kdesrc-build — Easily build KDE components from its source repositories. More information: <https://manned.org/man/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildfromkdesrc-buildclieasilycomponentskde
linux

Problem

How to use the kdesrc-build command: Easily build KDE components from its source repositories. More information: <https://manned.org/man/kdesrc-build>.

Solution

kdesrc-build — Easily build KDE components from its source repositories. More information: <https://manned.org/man/kdesrc-build>.

Initialize kdesrc-build:
kdesrc-build --initial-setup


Compile a KDE component and its dependencies from source:
kdesrc-build {{component_name}}


Compile a component without updating its local code and without compiling its dependencies:
kdesrc-build --no-src --no-include-dependencies {{component_name}}


Refresh the build directories before compiling:
kdesrc-build --refresh-build {{component_name}}


Resume compilation from a specific dependency:
kdesrc-build --resume-from {{dependency_component}} {{component_name}}


Run a component with a specified executable name:
kdesrc-build --run --exec {{executable_name}} {{component_name}}


Build all configured components:
kdesrc-build


Use system libraries in place of a component if it fails to build:
kdesrc-build --no-stop-on-failure {{component_name}}

Code Snippets

Initialize `kdesrc-build`

kdesrc-build --initial-setup

Compile a KDE component and its dependencies from source

kdesrc-build {{component_name}}

Compile a component without updating its local code and without compiling its dependencies

kdesrc-build --no-src --no-include-dependencies {{component_name}}

Refresh the build directories before compiling

kdesrc-build --refresh-build {{component_name}}

Resume compilation from a specific dependency

kdesrc-build --resume-from {{dependency_component}} {{component_name}}

Context

tldr-pages: linux/kdesrc-build

Revisions (0)

No revisions yet.