How To Install kdesdk-scripts on Debian 9

In this tutorial we learn how to install kdesdk-scripts on Debian 9. kdesdk-scripts is scripts and data files for development

Introduction

In this tutorial we learn how to install kdesdk-scripts on Debian 9.

What is kdesdk-scripts

kdesdk-scripts is:

This package contains scripts and data files to facilitate development of KDE software. Also included are scripts which are not specific to KDE, such as helper scripts for working with Subversion and CVS repositories.

In addition to these scripts, this package provides:

  • gdb macros for Qt programming
  • Vim and EMACS helper files for Qt/KDE programming
  • bash and zsh completion rules for KDE applications
  • Valgrind error suppressions for KDE applications

This package is part of the KDE Software Development Kit module.

There are three methods to install kdesdk-scripts on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kdesdk-scripts Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install kdesdk-scripts

Install kdesdk-scripts Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kdesdk-scripts

Install kdesdk-scripts 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install kdesdk-scripts

How To Uninstall kdesdk-scripts on Debian 9

To uninstall only the kdesdk-scripts package we can use the following command:

sudo apt-get remove kdesdk-scripts

Uninstall kdesdk-scripts And Its Dependencies

To uninstall kdesdk-scripts and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove kdesdk-scripts

Remove kdesdk-scripts Configurations and Data

To remove kdesdk-scripts configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge kdesdk-scripts

Remove kdesdk-scripts configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kdesdk-scripts

Dependencies

kdesdk-scripts have the following dependencies:

References

Summary

In this tutorial we learn how to install kdesdk-scripts package on Debian 9 using different package management tools: apt, apt-get and aptitude.