How To Install jupyter-nbextension-jupyter-js-widgets on Kali Linux
Introduction
In this tutorial we learn how to install jupyter-nbextension-jupyter-js-widgets on Kali Linux.
What is jupyter-nbextension-jupyter-js-widgets
jupyter-nbextension-jupyter-js-widgets is:
Notebooks come alive when interactive widgets are used. Learning becomes an immersive and fun experience. Researchers can easily see how changing inputs to a model impact the results.
This package contains the server-side Jupyter notebook extension that allows a Jupyter notebook server to serve and display these widgets. You will also need to install kernel-side libraries, for an interactive session to drive and animate the widgets that are contained in a notebook. For Python 2 notebooks this is python-ipywidgets, and for Python 3 this is python3-ipywidgets.
There are three methods to install jupyter-nbextension-jupyter-js-widgets 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 jupyter-nbextension-jupyter-js-widgets Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install jupyter-nbextension-jupyter-js-widgets using apt-get by running the following command:
sudo apt-get -y install jupyter-nbextension-jupyter-js-widgetsInstall jupyter-nbextension-jupyter-js-widgets Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install jupyter-nbextension-jupyter-js-widgets using apt by running the following command:
sudo apt -y install jupyter-nbextension-jupyter-js-widgetsInstall jupyter-nbextension-jupyter-js-widgets 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 jupyter-nbextension-jupyter-js-widgets using aptitude by running the following command:
sudo aptitude -y install jupyter-nbextension-jupyter-js-widgetsHow To Uninstall jupyter-nbextension-jupyter-js-widgets on Kali Linux
To uninstall only the jupyter-nbextension-jupyter-js-widgets package we can use the following command:
sudo apt-get remove jupyter-nbextension-jupyter-js-widgetsUninstall jupyter-nbextension-jupyter-js-widgets And Its Dependencies
To uninstall jupyter-nbextension-jupyter-js-widgets and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove jupyter-nbextension-jupyter-js-widgetsRemove jupyter-nbextension-jupyter-js-widgets Configurations and Data
To remove jupyter-nbextension-jupyter-js-widgets configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge jupyter-nbextension-jupyter-js-widgetsRemove jupyter-nbextension-jupyter-js-widgets configuration, data, and all of its dependencies
We can use the following command to remove jupyter-nbextension-jupyter-js-widgets configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge jupyter-nbextension-jupyter-js-widgetsDependencies
jupyter-nbextension-jupyter-js-widgets have the following dependencies:
References
Summary
In this tutorial we learn how to install jupyter-nbextension-jupyter-js-widgets package on Kali Linux using different package management tools: apt, apt-get and aptitude.