How To Install golang-github-muhammadmuzzammil1998-jsonc-dev on Debian 12

Learn how to install golang-github-muhammadmuzzammil1998-jsonc-dev on Debian 12 with this tutorial. golang-github-muhammadmuzzammil1998-jsonc-dev is JSON with comments for Go!

Introduction

In this tutorial we learn how to install golang-github-muhammadmuzzammil1998-jsonc-dev on Debian 12.

What is golang-github-muhammadmuzzammil1998-jsonc-dev

golang-github-muhammadmuzzammil1998-jsonc-dev is:

JSONC is a superset of JSON which supports comments. JSON formatted files are readable to humans but the lack of comments decreases readability. With JSONC, you can use block (/* */) and single line (//) comments to describe the functionality. Microsoft VS Code also uses this format in their configuration files like settings.json, keybindings.json, launch.json, etc.

What this package offers

“JSONC for Go” offers ability to convert and unmarshal JSONC to pure JSON. It also provides functionality to read JSONC file from disk and return JSONC and corresponding JSON encoding to operate on. However, it only provides a one-way conversion. That is, you can not generate JSONC from JSON. Read documentation (DOCUMENTATION.md) for detailed examples.

There are three methods to install golang-github-muhammadmuzzammil1998-jsonc-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 golang-github-muhammadmuzzammil1998-jsonc-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 golang-github-muhammadmuzzammil1998-jsonc-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-muhammadmuzzammil1998-jsonc-dev

Install golang-github-muhammadmuzzammil1998-jsonc-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-muhammadmuzzammil1998-jsonc-dev using apt by running the following command:

sudo apt -y install golang-github-muhammadmuzzammil1998-jsonc-dev

Install golang-github-muhammadmuzzammil1998-jsonc-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 golang-github-muhammadmuzzammil1998-jsonc-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-muhammadmuzzammil1998-jsonc-dev

How To Uninstall golang-github-muhammadmuzzammil1998-jsonc-dev on Debian 12

To uninstall only the golang-github-muhammadmuzzammil1998-jsonc-dev package we can use the following command:

sudo apt-get remove golang-github-muhammadmuzzammil1998-jsonc-dev

Uninstall golang-github-muhammadmuzzammil1998-jsonc-dev And Its Dependencies

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

sudo apt-get -y autoremove golang-github-muhammadmuzzammil1998-jsonc-dev

Remove golang-github-muhammadmuzzammil1998-jsonc-dev Configurations and Data

To remove golang-github-muhammadmuzzammil1998-jsonc-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge golang-github-muhammadmuzzammil1998-jsonc-dev

Remove golang-github-muhammadmuzzammil1998-jsonc-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge golang-github-muhammadmuzzammil1998-jsonc-dev

Dependencies

golang-github-muhammadmuzzammil1998-jsonc-dev have the following dependencies:

References

Summary

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