Installing Julia and using on Jupyter Notebook

Akash Deep
Analytics Vidhya
Published in
4 min readNov 7, 2020

--

In this article we will try to understand how to install Julia and we will add IDE which is called IJulia IDE in Jupyter notebook. In the last article I already discussed about Julia, what Julia is?, what are the advantages of using Julia and also about the frameworks that Julia provides. If you want to read that article you can access the below article link

I will be writing more on Julia in coming times. This will be very short but very important article which only deals with the installation of Julia programming language and using the same over jupyter notebook.

The first step is to download Julia, we can download Julia by clicking here. After you open the link download option will come and based on your operating system choose the right option to download Julia. After downloading try to run the executable. After running the executable, Julia will be installed to the system and we are good to go to access Julia terminal. In your search bar type Julia and open the terminal. Congratulation! Now we will start exploring Julia. The below screen will appear after you open Julia.

Julia Terminal

Julia is installed on the system. Now we will try to install the IDE. for installing IDE we will use the Anaconda environment. I think we all are aware of Anaconda environment, we had discussed about Anaconda in our earlier articles. If you don’t have anaconda installed on your system I will suggest to install Anaconda. To install anaconda click here, and follow the instruction on the document. If you have any issue let me know in below comment box section. I will be happy to help you. Now will come to the topic, we are trying to install Julia as IDE, so that it can be accessed using Jupyter notebook and if you had installed Anaconda then we can access the jupyter notebook very easily by just writing Jupyter notebook on the anaconda command prompt.

On the Julia terminal just write “using Pkg” this is same as the import statement in python. Now use the command “Pkg.add(“IJulia”)”. One thing we need to remember these all are case sensitive. The above code is adding the IJulia to the jupyter notebook IDE, that we can access using anaconda navigator. Please refer below screenshot for installing the IJulia Package. After executing the below command just wait for 3–4 minute. It automatically will add IJulia to your jupyter notebook. After adding Ijulia we are good to go to access the Julia over the Jupyter notebook.

Adding Julia IDE

For accessing Julia on Jupyter notebook, open Anaconda Navigator and type “jupyter notebook” on the Navigator. It will redirect you to your default we browser and jupyter notebook will be running on localhost at some port. The below screen will appear on your browser.

Jupyter notebook IDE

Now to access Julia environment, click on New that will be on top right corner of your jupyter notebook screen and select the julia1.5.2 and it will redirect you to Julia IDE and congratulation we had installed and configured Julia and now we are complete set to practice the Julia Programming language and also we had observer how simple Julia is. How simple we can install Julia and use it over IDE, this is the beauty of Julia. Let me know if you have any type of difficulty or getting some unexpected error while installing and Julia and anaconda in below comment section I will be happy to help you.

If you want to learn more about Machine Learning and deep learning concepts or cloud computing concepts you can see blogs written under the same account and also in future I will be writing the blogs on these all above mentioned topics, for that I suggest subscribe to the my blog.

In the next Article we will try to understand the basic building blocks of Julia programming language like array, string, boolean, conditional, statement and many more basic operations and syntax of Julia, but before that we need to make sure Julia is properly installed on our system. Slowly after learning the basic concepts and syntax we will diving directly into machine learning or deep learning frameworks provided by Julia in the upcoming tutorials.

Stay Tuned

--

--