How To Install libmath-numeric-tower-clojure on Debian 11
Introduction
In this tutorial we learn how to install libmath-numeric-tower-clojure
on Debian 11.
What is libmath-numeric-tower-clojure
libmath-numeric-tower-clojure is:
math.numeric-tower provides math functions that deal intelligently with the various types in Clojure’s numeric tower, as well as math functions commonly found in Scheme implementations:
- (expt x y) - x to the yth power
- (abs n) - absolute value of n
- (gcd m n) - greatest common divisor of m and n
- (lcm m n) - least common multiple of m and n
- (floor x) - round down
- (ceil x) - round up
- (round x) - round to nearest
- (sqrt x) - square root, exact if possible
- (exact-integer-sqrt k) returns floor of square root and the “remainder”
There are three methods to install libmath-numeric-tower-clojure
on Debian 11. 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-numeric-tower-clojure 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-numeric-tower-clojure
using apt-get
by running the following command:
sudo apt-get -y install libmath-numeric-tower-clojure
Install libmath-numeric-tower-clojure Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmath-numeric-tower-clojure
using apt
by running the following command:
sudo apt -y install libmath-numeric-tower-clojure
Install libmath-numeric-tower-clojure 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-numeric-tower-clojure
using aptitude
by running the following command:
sudo aptitude -y install libmath-numeric-tower-clojure
How To Uninstall libmath-numeric-tower-clojure on Debian 11
To uninstall only the libmath-numeric-tower-clojure
package we can use the following command:
sudo apt-get remove libmath-numeric-tower-clojure
Uninstall libmath-numeric-tower-clojure And Its Dependencies
To uninstall libmath-numeric-tower-clojure
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libmath-numeric-tower-clojure
Remove libmath-numeric-tower-clojure Configurations and Data
To remove libmath-numeric-tower-clojure
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libmath-numeric-tower-clojure
Remove libmath-numeric-tower-clojure configuration, data, and all of its dependencies
We can use the following command to remove libmath-numeric-tower-clojure
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmath-numeric-tower-clojure
Dependencies
libmath-numeric-tower-clojure have the following dependencies:
References
Summary
In this tutorial we learn how to install libmath-numeric-tower-clojure
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.