Install Pi On A Debian, Ubuntu, Arch, Kali, Raspbian And MacOS

Install Pi On A Debian, Ubuntu, Arch, Kali, Raspbian And MacOS

pi

Compute Archimedes’ constant Pi to arbitrary precision

Maintainer: Richard Kreckel



Section: math

Install pi

  • Debian apt-get install pi Click to copy
  • Ubuntu apt-get install pi Click to copy
  • Arch Linux pacman -S pi Click to copy
  • Kali Linux apt-get install pi Click to copy
  • Raspbian apt-get install pi Click to copy
  • macOS brew install pi Click to copy

pi

Compute Archimedes' constant Pi to arbitrary precision

This program computes Archimedes' constant Pi to arbitrary precision. It is extremely fast and the precision is only limited by your machine's main memory. This is a teaser for the CLN library, to which the actual computation is delegated. You may use these decimal digits as random digits or search them for hidden messages. :-)

cln

A collection of C++ math classes and functions, which are

designed for memory and speed efficiency, and enable type safety and algebraic syntax.

Installing pi command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Raspbian and macOS operating systems. Once you run the command it will install the latest version of pi 2026 package in your OS.