How To Install isympy3 on Ubuntu 22.04

In this tutorial we learn how to install isympy3 on Ubuntu 22.04. isympy3 is Python3 shell for SymPy

Introduction

In this tutorial we learn how to install isympy3 on Ubuntu 22.04.

What is isympy3

isympy3 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 3 shell (IPython shell if you have the ipython3 package installed) wrapper for SymPy.

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

Install isympy3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install isympy3

Install isympy3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install isympy3

Install isympy3 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install isympy3

How To Uninstall isympy3 on Ubuntu 22.04

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

sudo apt-get remove isympy3

Uninstall isympy3 And Its Dependencies

To uninstall isympy3 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove isympy3

Remove isympy3 Configurations and Data

To remove isympy3 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge isympy3

Remove isympy3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge isympy3

References

Summary

In this tutorial we learn how to install isympy3 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.