How To Install gqlclient on Debian 12
Introduction
In this tutorial we learn how to install gqlclient on Debian 12.
What is gqlclient
gqlclient is:
gqlclient can be used as a thin GraphQL client, and can be augmented with code generation.
This package contains the CLI tools gqlclient, gqlclientgen and gqlclientintrospect.
There are three methods to install gqlclient 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 gqlclient Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install gqlclient using apt-get by running the following command:
sudo apt-get -y install gqlclient
Install gqlclient Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gqlclient using apt by running the following command:
sudo apt -y install gqlclient
Install gqlclient 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 gqlclient using aptitude by running the following command:
sudo aptitude -y install gqlclient
How To Uninstall gqlclient on Debian 12
To uninstall only the gqlclient package we can use the following command:
sudo apt-get remove gqlclient
Uninstall gqlclient And Its Dependencies
To uninstall gqlclient and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove gqlclient
Remove gqlclient Configurations and Data
To remove gqlclient configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge gqlclient
Remove gqlclient configuration, data, and all of its dependencies
We can use the following command to remove gqlclient configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gqlclient
Dependencies
gqlclient have the following dependencies:
References
Summary
In this tutorial we learn how to install gqlclient package on Debian 12 using different package management tools: apt, apt-get and aptitude.