How to install Spyder on Ubuntu 20.04

Spyder is a free and open-source scientific integrated development environment(IDE) written in Python. This software is designed for and by scientists who can integrate with Matplotlib, NumPy, SciPy, Cython, Pandas, IPython, SymPy, and other open-source software.

This application is available through Anaconda distribution on Microsoft Windows, Linux and macOS and is quite easy to install even for beginners. If you don’t know, Anaconda is a popular distribution for data science and machine learning.

Spyder has some great features such as advanced analysis & debugging, profiling functionalities, deep inspection, debugging and iPython shell and many others.

Key Features of Spyder

  • Open-Source and Cross-Platform IDE (Compatible with Microsoft Windows, macOS, Linux)
  • It is one of the best Python IDE which allows you to run Python code by cell, line, or file.
  • Rich Community Support
  • Plot a histogram or time-series, make changes in dateframe or numpy array.
  • Variable Explorer
  • It offers automatic code completion and horizontal/vertical splitting.
  • iPython Console
  • An interactive way to trace each step of Python code execution.
  • Find and eliminate bottlenecks

Installing Spyder from Ubuntu apt repository

Spyder is included in Ubuntu 20.04. Follow the step by step guide to install the application.

Step #1

Type the following command to update the apt sources.

$ sudo apt update

Step #2

Now execute this command to install the Spyder package.

$ sudo apt install spyder

With the help of && you can write both the commands in a single line. Something like this:

$ sudo apt update && sudo apt install spyder

At this step, you have successfully installed Spyder on Ubuntu 20.04 system.

Starting Spyder

Spyder can be launched from the command line by typing spyder or In the Activities search bar type “Spyder” and click on the icon.

Spyder User Interface:

How to Uninstall Spyder from Ubuntu 20.04

For some reason, If you want to uninstall Spyder, type the following command.

$ sudo apt remove spyder


I hope that now you have a good understanding of How to install Spyder on Ubuntu 20.04 LTS Focal Fossa.

If anyone does have any questions about what we covered in this guide then feel free to ask in the comment section below and I will do my best to answer those.

If you like our content, please consider buying us a coffee.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.