How To Install libmath-calculus-expression-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libmath-calculus-expression-perl
on Ubuntu 20.04.
What is libmath-calculus-expression-perl
libmath-calculus-expression-perl is:
Math::Calculus::Expression can take an algebraic expression, parse it into a tree structure, simplify the tree, substitute variables and named constants for other variables or constants (which may be numeric), numerically evaluate the tree and turn the tree back into an output of the same form as the input.
It supports a wide range of expressions including the +, -, *, / and ^ (raise to power) operators, bracketed expressions to enable correct precedence and the functions ln, exp, sin, cos, tan, sec, cosec, cot, sinh, cosh, tanh, sech, cosech, coth, asin, acos, atan, asinh, acosh and atanh.
There are three methods to install libmath-calculus-expression-perl
on Ubuntu 20.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 libmath-calculus-expression-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmath-calculus-expression-perl
using apt-get
by running the following command:
sudo apt-get -y install libmath-calculus-expression-perl
Install libmath-calculus-expression-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmath-calculus-expression-perl
using apt
by running the following command:
sudo apt -y install libmath-calculus-expression-perl
Install libmath-calculus-expression-perl 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 libmath-calculus-expression-perl
using aptitude
by running the following command:
sudo aptitude -y install libmath-calculus-expression-perl
How To Uninstall libmath-calculus-expression-perl on Ubuntu 20.04
To uninstall only the libmath-calculus-expression-perl
package we can use the following command:
sudo apt-get remove libmath-calculus-expression-perl
Uninstall libmath-calculus-expression-perl And Its Dependencies
To uninstall libmath-calculus-expression-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libmath-calculus-expression-perl
Remove libmath-calculus-expression-perl Configurations and Data
To remove libmath-calculus-expression-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libmath-calculus-expression-perl
Remove libmath-calculus-expression-perl configuration, data, and all of its dependencies
We can use the following command to remove libmath-calculus-expression-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmath-calculus-expression-perl
References
Summary
In this tutorial we learn how to install libmath-calculus-expression-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.