How to Install and Uninstall libmath-cartesian-product-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 06,2024

1. Install "libmath-cartesian-product-perl" package

Please follow the instructions below to install libmath-cartesian-product-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libmath-cartesian-product-perl

2. Uninstall "libmath-cartesian-product-perl" package

Learn how to uninstall libmath-cartesian-product-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libmath-cartesian-product-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmath-cartesian-product-perl package on Ubuntu 21.10 (Impish Indri)

Package: libmath-cartesian-product-perl
Architecture: all
Version: 1.009-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: perl:any
Filename: pool/universe/libm/libmath-cartesian-product-perl/libmath-cartesian-product-perl_1.009-1.1_all.deb
Size: 8868
MD5sum: 68763c46862cc1140d7b7df0a6e9a50e
SHA1: 7020ced7c60f1157730b4b07ccc65ef4d7706b88
SHA256: 4005b33a6dd5b014d2c959207b236d88e56d8221cc960b0e78dded593681e86f
SHA512: 8e75ee35af15b5d5c5e939aa5466b2cadefdc009fd51775a1acbc35abb2d11126d9f36ef77dff566ebfe60249825df25aeecb8790620ae59a345e8af961ed91e
Homepage: https://metacpan.org/release/Math-Cartesian-Product
Description-en: generate the Cartesian product of zero or more lists
Math::Cartesian::Product generates the Cartesian product of zero or
more lists.
.
Given two lists, say: [a,b] and [1,2,3], the Cartesian product is the
set of all ordered pairs:
.
(a,1), (a,2), (a,3), (b,1), (b,2), (b,3)
.
which select their first element from all the possibilities listed in
the first list, and select their second element from all the
possibilities in the second list.
.
The idea can be generalized to n-tuples selected from n lists where all
the elements of the first list are combined with all the elements of
the second list, the results of which are then combined with all the
member of the third list and so on over all the input lists.
Description-md5: 07896b1f4057c729739122df49436cd5