How To Install libnewtonsoft-json-cil-dev on Debian 10

Learn how to install libnewtonsoft-json-cil-dev on Debian 10 with this tutorial. libnewtonsoft-json-cil-dev is high-performance JSON framework for .NET – development files

Introduction

In this tutorial we learn how to install libnewtonsoft-json-cil-dev on Debian 10.

What is libnewtonsoft-json-cil-dev

libnewtonsoft-json-cil-dev is:

Json.NET is a high-performance JSON framework for .NET. It has the following features:

  • Flexible JSON serializer for converting between .NET objects and JSON
  • LINQ to JSON for manually reading and writing JSON
  • High performance, faster than .NET’s build-in JSON serializers
  • Write indented, easy to read JSON
  • Convert JSON to and from XML

The JSON serializer is a good choice when the JSN being read or written maps closely to a .NET class.

LINQ to JSON is good for situations in which there is no class to serialize or deserialize to, or the JSON is radically different from the class structure and manual manipulation is required.

This package contains the development files required to compile applications or libraries against this package.

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

Install libnewtonsoft-json-cil-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 libnewtonsoft-json-cil-dev using apt-get by running the following command:

sudo apt-get -y install libnewtonsoft-json-cil-dev

Install libnewtonsoft-json-cil-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnewtonsoft-json-cil-dev

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

sudo aptitude -y install libnewtonsoft-json-cil-dev

How To Uninstall libnewtonsoft-json-cil-dev on Debian 10

To uninstall only the libnewtonsoft-json-cil-dev package we can use the following command:

sudo apt-get remove libnewtonsoft-json-cil-dev

Uninstall libnewtonsoft-json-cil-dev And Its Dependencies

To uninstall libnewtonsoft-json-cil-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libnewtonsoft-json-cil-dev

Remove libnewtonsoft-json-cil-dev Configurations and Data

To remove libnewtonsoft-json-cil-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libnewtonsoft-json-cil-dev

Remove libnewtonsoft-json-cil-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnewtonsoft-json-cil-dev

Dependencies

libnewtonsoft-json-cil-dev have the following dependencies:

References

Summary

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