How To Install spyder on CentOS 7

In this tutorial we learn how to install spyder on CentOS 7. spyder is Scientific Python Development Environment

Introduction

In this tutorial we learn how to install spyder on CentOS 7.

What is spyder

Spyder is a Python development environment with advanced editing, interactive testing, debugging and introspection features. It is especially recommended for scientific computing thanks to NumPy (linear algebra), SciPy (signal and image processing), matplotlib (interactive 2D/3D plotting), MayaVi’s mlab (interactive 3D visualization) and -of course- IPython support. Spyder may also be used as a library providing powerful console-related PyQt4 widgets.

We can use yum or dnf to install spyder on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install spyder.

Install spyder on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install spyder using yum by running the following command:

sudo yum -y install spyder

Install spyder on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install spyder using dnf by running the following command:

sudo dnf -y install spyder

How To Uninstall spyder on CentOS 7

To uninstall only the spyder package we can use the following command:

sudo dnf remove spyder

References

Summary

In this tutorial we learn how to install spyder on CentOS 7 using yum and dnf.