How to Install and Uninstall libsort-key-top-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 22,2024

1. Install "libsort-key-top-perl" package

This guide covers the steps necessary to install libsort-key-top-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libsort-key-top-perl

2. Uninstall "libsort-key-top-perl" package

Please follow the guidance below to uninstall libsort-key-top-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libsort-key-top-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libsort-key-top-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libsort-key-top-perl
Priority: optional
Section: universe/perl
Installed-Size: 76
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Architecture: amd64
Version: 0.08-1build2
Depends: perl (>= 5.22.1-1), perlapi-5.22.1, libc6 (>= 2.4)
Filename: pool/universe/libs/libsort-key-top-perl/libsort-key-top-perl_0.08-1build2_amd64.deb
Size: 18748
MD5sum: 82b38a081cacfe6af763fb522ef1b375
SHA1: 73f9ffd2e88ae53551d9f991e7a7507273c3812f
SHA256: 3e2ba87580a569256c14db11b25228bf16889e92c72142ab3ac2050d4e2deb09
Description-en: Perl module to select and sort top n elements of a list
The functions available from this module select the top n elements from a
list using several common orderings and custom key extraction procedures.
.
They are all variations around 'keytopsort { CALC_KEY($_) } $n => @data;'.
.
In array context, this function calculates the ordering key for every element
in @data using the expression inside the block. Then it selects and orders
the $n elements with the lower keys when compared lexicographically.
.
In scalar context, the value returned by the functions on this module is the
cutoff value allowing to select nth element from the array.
Description-md5: 8a824b07deebb69ab499b07891bac755
Homepage: http://search.cpan.org/dist/Sort-Key-Top/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu