How To Install isympy on Debian 9

In this tutorial we learn how to install isympy on Debian 9. isympy is Python shell for SymPy

Introduction

In this tutorial we learn how to install isympy on Debian 9.

What is isympy

isympy is:

SymPy is a Python library for symbolic mathematics (manipulation). It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python and does not require any external libraries, except optionally for plotting support.

This package contains a Python shell (IPython shell if you have the ipython package installed) wrapper for SymPy.

There are three methods to install isympy on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install isympy Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install isympy using apt-get by running the following command:

sudo apt-get -y install isympy

Install isympy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install isympy using apt by running the following command:

sudo apt -y install isympy

Install isympy Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install isympy using aptitude by running the following command:

sudo aptitude -y install isympy

How To Uninstall isympy on Debian 9

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

sudo apt-get remove isympy

Uninstall isympy And Its Dependencies

To uninstall isympy and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove isympy

Remove isympy Configurations and Data

To remove isympy configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge isympy

Remove isympy configuration, data, and all of its dependencies

We can use the following command to remove isympy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge isympy

Dependencies

isympy have the following dependencies:

References

Summary

In this tutorial we learn how to install isympy package on Debian 9 using different package management tools: apt, apt-get and aptitude.