Introduction
JupyterLab is a web-based interactive development environment for Jupyter notebooks, code, and data. This guide will walk you through the process of installing JupyterLab on Debian 12.
Prerequisites
Before you begin, ensure you have:
- A Debian 12 system with Python installed
- Root or sudo privileges
Step 1: Install JupyterLab
Open a terminal and install JupyterLab using pip:
sudo apt update
sudo apt install -y python3-pip
pip3 install jupyterlab
Step 2: Start JupyterLab
Start JupyterLab by running the following command in the terminal:
jupyter lab
This will start the JupyterLab server and open your default web browser to the JupyterLab interface.
Step 3: Access JupyterLab
In your web browser, navigate to the URL displayed in the terminal after starting JupyterLab. It should be something like:
http://localhost:8888/lab
You should now see the JupyterLab interface in your web browser, where you can create and run Jupyter notebooks.
Step 4: Stop JupyterLab
To stop JupyterLab, press Ctrl + C
in the terminal where it is running.
Conclusion
Congratulations! You have successfully installed JupyterLab on Debian 12. You can now use JupyterLab to create and run Jupyter notebooks for your data science and programming projects.