How To Install Primes On Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

How To Install Primes On Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

primes

Plan 9 userland tools

Maintainer: Debian QA Group



Section: utils

Install primes

  • Debian apt-get install 9base Click to copy
  • Ubuntu apt-get install 9base Click to copy
  • Arch Linux pacman -S 9base Click to copy
  • Kali Linux apt-get install 9base Click to copy
  • Fedora dnf install bsd-games Click to copy
  • Raspbian apt-get install 9base Click to copy

9base

Plan 9 userland tools

9base is a port of following original Plan 9 userland tools to Unix: awk, basename, bc, cat, cleanname, date, dc, echo, grep, mk, rc, sed, seq, sleep, sort, strings, tee, test, touch, tr, uniq, and yacc.

libmath-prime-util-perl

utilities related to prime numbers, including fast sieves and factoring

Math::Prime::Util is a set of perl utilities related to prime numbers. These include multiple sieving methods, is_prime, prime_count, nth_prime, approximations and bounds for the prime_count and nth prime, next_prime and prev_prime, factoring utilities, and more. The default sieving and factoring are intended to be (and currently are) the fastest on CPAN, including Math::Prime::XS, Math::Prime::FastSieve, Math::Factor::XS, Math::Prime::TiedArray, Math::Big::Factors, Math::Factoring, and Math::Primality (when the GMP module is available). For numbers in the 10-20 digit range, it is often orders of magnitude faster. Typically it is faster than Math::Pari for 64-bit operations. All operations support both Perl UV's (32-bit or 64-bit) and bignums. It requires no external software for big number support, as there are Perl implementations included that solely use Math::BigInt and Math::BigFloat. However, performance will be improved for most big number functions by installing Math::Prime::Util::GMP, and is definitely recommended if you do many bignum operations. Also look into Math::Pari as an alternative.

bsd-games

Linux port of the collection of BSD command line games

plan9port

Ports of applications from Plan 9
To install the latest version of primes in your favorite operating system just copy the primes installation command from above and paste it into terminal. It will download and install the latest version of primes 2026 package in your OS.