How To Install raku-json-name on Debian 12
Introduction
In this tutorial we learn how to install raku-json-name on Debian 12.
What is raku-json-name
raku-json-name is:
This Raku module is a dependency of JSON::Marshal and JSON::Unmarshal in order to save duplication, it is intended to store a separate JSON name for an attribute where the name of the JSON attribute might be changed, either for aesthetic reasons or the name is not a valid Raku identifier. It will of course also be needed in classes that are going to use JSON::Marshal or JSON::Unmarshal for serialisation/de-serialisation.
Of course it could be used in other modules for a similar purpose.
There are three methods to install raku-json-name 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 raku-json-name Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install raku-json-name using apt-get by running the following command:
sudo apt-get -y install raku-json-name
Install raku-json-name Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install raku-json-name using apt by running the following command:
sudo apt -y install raku-json-name
Install raku-json-name 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 raku-json-name using aptitude by running the following command:
sudo aptitude -y install raku-json-name
How To Uninstall raku-json-name on Debian 12
To uninstall only the raku-json-name package we can use the following command:
sudo apt-get remove raku-json-name
Uninstall raku-json-name And Its Dependencies
To uninstall raku-json-name and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove raku-json-name
Remove raku-json-name Configurations and Data
To remove raku-json-name configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge raku-json-name
Remove raku-json-name configuration, data, and all of its dependencies
We can use the following command to remove raku-json-name configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge raku-json-name
Dependencies
raku-json-name have the following dependencies:
References
Summary
In this tutorial we learn how to install raku-json-name package on Debian 12 using different package management tools: apt, apt-get and aptitude.