How To Install kdesrc-build on Ubuntu 18.04

In this tutorial we learn how to install kdesrc-build on Ubuntu 18.04. kdesrc-build is tool for building KDE from its source repositories

Introduction

In this tutorial we learn how to install kdesrc-build on Ubuntu 18.04.

What is kdesrc-build

kdesrc-build is:

kdesrc-build provides an easy way to build KDE, downloading the development version from the repositories and compiling it.

It was previously known as kdesvn-build, and part of the KDE Software Development Kit module.

There are three methods to install kdesrc-build on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kdesrc-build Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kdesrc-build using apt-get by running the following command:

sudo apt-get -y install kdesrc-build

Install kdesrc-build Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kdesrc-build using apt by running the following command:

sudo apt -y install kdesrc-build

Install kdesrc-build Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install kdesrc-build using aptitude by running the following command:

sudo aptitude -y install kdesrc-build

How To Uninstall kdesrc-build on Ubuntu 18.04

To uninstall only the kdesrc-build package we can use the following command:

sudo apt-get remove kdesrc-build

Uninstall kdesrc-build And Its Dependencies

To uninstall kdesrc-build and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove kdesrc-build

Remove kdesrc-build Configurations and Data

To remove kdesrc-build configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge kdesrc-build

Remove kdesrc-build configuration, data, and all of its dependencies

We can use the following command to remove kdesrc-build configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kdesrc-build

References

Summary

In this tutorial we learn how to install kdesrc-build package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.