How To Install jqp on Debian 12

Learn how to install jqp on Debian 12 with this tutorial. jqp is TUI playground to experiment with jq (program)

Introduction

In this tutorial we learn how to install jqp on Debian 12.

What is jqp

jqp is:

A TUI tool that allows for experimentation with jq with fast iteration. This application utilizes itchny’s (https://github.com/itchyny) implementation of jq written in Go, gojq (https://github.com/itchyny/gojq).

There are three methods to install jqp 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 jqp Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jqp

Install jqp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jqp using apt by running the following command:

sudo apt -y install jqp

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

sudo aptitude -y install jqp

How To Uninstall jqp on Debian 12

To uninstall only the jqp package we can use the following command:

sudo apt-get remove jqp

Uninstall jqp And Its Dependencies

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

sudo apt-get -y autoremove jqp

Remove jqp Configurations and Data

To remove jqp configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge jqp

Remove jqp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jqp

Dependencies

jqp have the following dependencies:

References

Summary

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