How To Install jupyter on Debian 10

Learn how to install jupyter on Debian 10 with this tutorial. jupyter is Interactive computing environment (metapackage)

Introduction

In this tutorial we learn how to install jupyter on Debian 10.

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 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 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 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 jupyter using aptitude by running the following command:

sudo aptitude -y install jupyter

How To Uninstall jupyter on Debian 10

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 Debian 10, we can use the command below:

sudo apt-get -y autoremove jupyter

Remove jupyter Configurations and Data

To remove jupyter configuration and data from Debian 10 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 Debian 10 using different package management tools: apt, apt-get and aptitude.