How To Install libmath-calculus-newtonraphson-perl on Debian 10
Introduction
In this tutorial we learn how to install libmath-calculus-newtonraphson-perl
on Debian 10.
What is libmath-calculus-newtonraphson-perl
libmath-calculus-newtonraphson-perl is:
The Math::Calculus::NewtonRaphson module takes an algebraic expression, parses it and then uses the Newton Raphson method to solve it. The Newton Raphson method relies on the fact that the expression you pass in evaluates to zero where there is a solution. That is, to solve:-
x^2 = 5
You would need to pass in:-
x^2 - 5
It understands expressions containing any of the operators +, -, *, / and ^ (raise to power), 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-newtonraphson-perl
on Debian 10. 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-newtonraphson-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-newtonraphson-perl
using apt-get
by running the following command:
sudo apt-get -y install libmath-calculus-newtonraphson-perl
Install libmath-calculus-newtonraphson-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmath-calculus-newtonraphson-perl
using apt
by running the following command:
sudo apt -y install libmath-calculus-newtonraphson-perl
Install libmath-calculus-newtonraphson-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libmath-calculus-newtonraphson-perl
using aptitude
by running the following command:
sudo aptitude -y install libmath-calculus-newtonraphson-perl
How To Uninstall libmath-calculus-newtonraphson-perl on Debian 10
To uninstall only the libmath-calculus-newtonraphson-perl
package we can use the following command:
sudo apt-get remove libmath-calculus-newtonraphson-perl
Uninstall libmath-calculus-newtonraphson-perl And Its Dependencies
To uninstall libmath-calculus-newtonraphson-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libmath-calculus-newtonraphson-perl
Remove libmath-calculus-newtonraphson-perl Configurations and Data
To remove libmath-calculus-newtonraphson-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libmath-calculus-newtonraphson-perl
Remove libmath-calculus-newtonraphson-perl configuration, data, and all of its dependencies
We can use the following command to remove libmath-calculus-newtonraphson-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmath-calculus-newtonraphson-perl
Dependencies
libmath-calculus-newtonraphson-perl have the following dependencies:
References
- libmath-calculus-newtonraphson-perl website
- libmath-calculus-newtonraphson-perl on packages.debian.org
Summary
In this tutorial we learn how to install libmath-calculus-newtonraphson-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.