How to Install Jupyter Notebook in Linux
Last Updated :
28 Jan, 2025
Jupyter Notebook is a powerful, open-source tool for interactive computing, widely used for data analysis, machine learning, and scientific research. If you're using Linux and want to install Jupyter Notebook, then this guide is for you. Here, we're going to discuss seamless way to download and install Jupyter Notebook in your Linux (irrespective of your distribution). So, let's get started:
1. Install Python and Pip
Jupyter Notebook requires Python (latest version 3.13.1). Most Linux distributions come with pre-installed Python, just ensure that pip is installed.
Step 1: Install Python
Run the following command to install Python if it's not available in your system.
sudo apt update
sudo apt install python3
Step 2: Check Python Version
Run the following command to check the installed version of Python:
python3 --version
Step 3: Install Pip
sudo apt install python3-pip
2. Install Jupyter Notebook
Once you setup Python (latest version Python 3.13.1), you may proceed to download and install Jupyter Notebook. Here's how you can do it:
Step 1: Install Jupyter
Run the following command to get Jupyter Notebook:
pip3 install notebook
Step 2: Verify the Installer
Once the download gets completed, you'll be required to verify the installer, use the following command:
jupyter --version
3. Launch Jupyter Notebook
You can start working on the Jupyter Notebook, let's see how you can initiate:
Step 1: Start Jupyter Notebook
Run the following command:
jupyter notebook
Note: Running this command will open Jupyter Notebook in your "default" web browser.
4. Install Jupyter Notebook using Anaconda (Alternate)
You can also choose this alternative to Install Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
Note: To install Anaconda, go through How to install Anaconda on Linux? and follow the provided instructions.
Step 1: Download Anaconda
You can visit the official website and download the Anaconda:
AnacondaStep 2: Navigate Anaconda Downloaded File
Run the following command in the Terminal and navigate through the downloaded directory:
cd ~/Downloads
Step 3: Install Anaconda
Run the following command in the Terminal and follow the on-screen instructions:
bash Anaconda3-2025.28-1-Linux-x86_64.sh
Note: Replace the file name with the exact match.
Step 4: Verify the Jupyter Notebook Installer
Once the installation is completed, reopen the Terminal and type the following command:
conda --version
Output:
conda 25.1.0
Step 5: Launch Jupyter Notebook
Now, type the following command to open Jupyter Notebook:
Jupyter Notebook
Local HostBy following these steps, you can easily Install Jupyter Notebook in your Linux system (irrespective of your distribution) that too along with data science and machine learning tools.
Similar Reads
How to Install PySpark in Jupyter Notebook PySpark is a Python library for Apache Spark, a powerful framework for big data processing and analytics. Integrating PySpark with Jupyter Notebook provides an interactive environment for data analysis with Spark. In this article, we will know how to install PySpark in Jupyter Notebook.Setting Up Ju
2 min read
How to Install Jupyter Notebook on MacOS Jupyter Notebook is a popular web-based interactive computing environment, widely used among data scientists and programmers. Working with Jupyter Notebook in MacOS helps perform various tasks including data cleaning and transformation, numerical simulation, statistical modelling, data visualization
5 min read
How to Install BeautifulSoup in Jupyter Notebook Installation of BeautifulSoup on Jupyter Notebook is quite easy, and you will be all set for excellent web scraping and data extraction. It is a Python library that makes HTML and XML dealing with web data. It will help you get up and running with BeautifulSoup inside your Jupyter Notebook, so you c
4 min read
How to Install Scala in Jupyter IPython Notebook? It is a very easy and simple process to Install Scala in Jupyter Ipython Notebook. You can follow the below steps to Install it. Before that, let us understand some related terms. The Jupyter Notebook is an open source web application that anyone can use to create documents as well as share the docu
2 min read
How to Install Jupyter Notebook on Windows Jupyter Notebook is one of the most powerful used among professionals for data science, and machine learning to perform data analysis and data visualization and much more.If you're a Windows user and looking for different ways to install Jupyter Notebook, then this guide will help you out by using A
4 min read