How To Install libqcodeeditor-dev on Debian 12

Learn how to install libqcodeeditor-dev on Debian 12 with this tutorial. libqcodeeditor-dev is Qt widget for editing/viewing code

Introduction

In this tutorial we learn how to install libqcodeeditor-dev on Debian 12.

What is libqcodeeditor-dev

libqcodeeditor-dev is:

Abilities:

  • Auto parentheses
  • Different highlight rules
  • Auto indentation
  • Replace tabs with spaces
  • GLSL completion rules
  • GLSL highlight rules
  • C++ highlight rules
  • XML highlight rules
  • JSON highligh rules
  • Frame selection
  • Qt Creator styles

This package contains the build-time libraries

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

Install libqcodeeditor-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libqcodeeditor-dev

Install libqcodeeditor-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqcodeeditor-dev

Install libqcodeeditor-dev 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 libqcodeeditor-dev using aptitude by running the following command:

sudo aptitude -y install libqcodeeditor-dev

How To Uninstall libqcodeeditor-dev on Debian 12

To uninstall only the libqcodeeditor-dev package we can use the following command:

sudo apt-get remove libqcodeeditor-dev

Uninstall libqcodeeditor-dev And Its Dependencies

To uninstall libqcodeeditor-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libqcodeeditor-dev

Remove libqcodeeditor-dev Configurations and Data

To remove libqcodeeditor-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libqcodeeditor-dev

Remove libqcodeeditor-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqcodeeditor-dev

Dependencies

libqcodeeditor-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libqcodeeditor-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.