Welcome to my blog.
Table Of Contents
- Introduction
- What is Jupyter Notebook?
- How To Run Jupyter Notebook On Linux
- Summary
- References
Introduction
in this post, we see How To Run Jupyter Notebook On Linux. When we are working with Artificial Intelligence, Machine Learning, Deep Learning, or Data Science we need a tool for data processing that we can use then we require a jupyter notebook which we can use with Python.
What is Jupyter Notebook?
Jupyter is a web-based interactive development tool that helps create the environment to share live codes, virtualizations, and interactive data. As the name describes, it is a notebook that includes computer code and text.
How To Run Jupyter Notebook On Linux
First, we check the Python version using the below command.
python3 -V
![](https://galaxyofai.com/wp-content/uploads/2023/05/image-76.png)
As we use Linux python is already installed on our system we don’t need to install it separately.
After that, we have to check if the jupyter-notebook is installed on our system on not.
For this type below command on your Linux terminal:
jupyter-notebook
![How To Run Jupyter Notebook On Linux](https://galaxyofai.com/wp-content/uploads/2023/05/image-77.png)
- If you get any kind of error like this then we have to install it.
For installation of jupyter notebook, you have to run the below command.
sudo apt install jupyter-notebook
![How To Run Jupyter Notebook On Linux](https://galaxyofai.com/wp-content/uploads/2023/05/image-78.png)
If You get any prompt for Y/N, type Y, and hit enter and the installation process begins.
It takes some time based on your internet connection.
After the installation process is completed type the below command.
jupyter-notebook
![How To Run Jupyter Notebook On Linux](https://galaxyofai.com/wp-content/uploads/2023/05/jupyter.png)
When you hit the above command you redirect to your default web browser and you can see in your browser the below image.
If you canβt redirect to your browser, you can use any one of the two URLs which you can see on your terminal copy that URL, and paste it to your browser.
After that click on the new button and select python3.
![How To Run Jupyter Notebook On Linux](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIYzFNNq1EN1SnCmKm4aH8QY1J7bIL3sbmWP7RmJRqchqO6h2oBCVwntu2-xi_w2D7YcuGtSz5nwh9tgcrXiEFECWSuYktLvCyxJJ5gD_zm54ckm39EuFjobLXoM7rTw-IeQ2j5CTtjkeP2PuoZOyDsmrLt8apbWW03tJ35FKIhODb-U70bjYEal5h/w640-h245/create_jupyter_file.png)
You get the above web interface in this you can type your Python code and run it very efficiently.
![How To Run Jupyter Notebook On Linux](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoJQ1CAGzjTsyatU5iP1dXKt-BGPxx-qkyXubM0TSx7FsKKilFhCHdni7CoU5K_xBNbzTVIZIt0ElRfQLdnotc2NxtfWGr_4pAoostkiNb-AfM-sTw5qVfWNW86FqYJJC7kiObIPwnusYTvbBKaV6VPOu1hWCnfUvHfMEKAQv-6ReGQ6zW9ciaScxu/w640-h162/python_jupyter_run.png)
To run the code cell you can use the shortcut keys Shift+Enter Or Ctrl+Enter.
Summary
This is the simple process of How To Run Jupyter Notebook On Linux. Using this we can run Python programs directly from the web browser.
Happy Learning and Keep Learning…ππ
Thank you…ππ