How To Install libjs-n3 on Kali Linux
Introduction
In this tutorial we learn how to install libjs-n3 on Kali Linux.
What is libjs-n3
libjs-n3 is:
The N3.js library is an implementation of the RDF.js low-level specification at https://rdf.js.org/ that lets you handle RDF in JavaScript easily.
It offers:
- Parsing triples/quads from Turtle, TriG, N-Triples, N-Quads, and Notation3 (N3)
- Writing triples/quads to Turtle, TriG, N-Triples, and N-Quads
- Storage of triples/quads in memory
Parsing and writing is:
- asynchronous ?? triples arrive as soon as possible
- streaming ?? streams are parsed as data comes in, so you can parse files larger than memory
- fast ?? by far the fastest spec-compatible parser in JavaScript
Resource Description Framework (RDF) is a standard model for data interchange on the Web.
This package contains N3.js directly usable in web browsers.
There are three methods to install libjs-n3 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libjs-n3 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libjs-n3 using apt-get by running the following command:
sudo apt-get -y install libjs-n3Install libjs-n3 Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libjs-n3 using apt by running the following command:
sudo apt -y install libjs-n3Install libjs-n3 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libjs-n3 using aptitude by running the following command:
sudo aptitude -y install libjs-n3How To Uninstall libjs-n3 on Kali Linux
To uninstall only the libjs-n3 package we can use the following command:
sudo apt-get remove libjs-n3Uninstall libjs-n3 And Its Dependencies
To uninstall libjs-n3 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjs-n3Remove libjs-n3 Configurations and Data
To remove libjs-n3 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjs-n3Remove libjs-n3 configuration, data, and all of its dependencies
We can use the following command to remove libjs-n3 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjs-n3Dependencies
libjs-n3 have the following dependencies:
References
Summary
In this tutorial we learn how to install libjs-n3 package on Kali Linux using different package management tools: apt, apt-get and aptitude.