How To Install jupyter on Kali Linux

In this tutorial we learn how to install jupyter on Kali Linux. jupyter is Interactive computing environment (metapackage)

Introduction

In this tutorial we learn how to install jupyter on Kali Linux.

What is jupyter

jupyter is:

Project Jupyter provides tools for interactive computing, useful for data science, scientific computing and learning. Computational languages for multiple languages are available; the name Jupyter is derived from Julia, Python and R.

This package depends on a standard set of Jupyter packages;

  • the core and client libraries
  • the console interface
  • the web-based notebook
  • tools for working with and converting notebook (ipynb) files
  • the python3 computational kernel

The various jupyter components can be called using the /usr/bin/jupyter entrypoint, eg “jupyter notebook”.

There are three methods to install jupyter 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 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jupyter using apt-get by running the following command:

sudo apt-get -y install jupyter

Install jupyter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jupyter using apt by running the following command:

sudo apt -y install jupyter

Install jupyter 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 update

After updating apt database, We can install jupyter using aptitude by running the following command:

sudo aptitude -y install jupyter

How To Uninstall jupyter on Kali Linux

To uninstall only the jupyter package we can use the following command:

sudo apt-get remove jupyter

Uninstall jupyter And Its Dependencies

To uninstall jupyter and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove jupyter

Remove jupyter Configurations and Data

To remove jupyter configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge jupyter

Remove jupyter configuration, data, and all of its dependencies

We can use the following command to remove jupyter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jupyter

Dependencies

jupyter have the following dependencies:

References

Summary

In this tutorial we learn how to install jupyter package on Kali Linux using different package management tools: apt, apt-get and aptitude.