How to Install and Uninstall libclass-trait-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "libclass-trait-perl" package

Learn how to install libclass-trait-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libclass-trait-perl

2. Uninstall "libclass-trait-perl" package

Please follow the step by step instructions below to uninstall libclass-trait-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libclass-trait-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libclass-trait-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libclass-trait-perl
Architecture: all
Version: 0.31-4
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alexander Zangerl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 153
Depends: perl, libclass-accessor-perl
Filename: pool/universe/libc/libclass-trait-perl/libclass-trait-perl_0.31-4_all.deb
Size: 51274
MD5sum: 81ceb8c998c2abfe419d9c7c5994acc3
SHA1: ce9f501d6e207176dffa952f5556c9c043228c09
SHA256: cfa619ee6d072f4d87c5d4c41b12beb940e75b084a6917f7469cb08b29095b0e
SHA512: e536b784d371f840a6fbf96a73e995059c4e29470a37dadc968c65c77df9bc83fc5e3022ce332eb88bfa7d4e956a0095b0150d8babde6c4b9eb11924d59a9d90
Description-en: Implementation of Traits in Perl
Traits are a simple composition mechanism for structuring
object-oriented programs. A Trait is essentially a parameterized set of
methods, which serves as a building block for classes and is the primitive
unit of code reuse. Unlike mixins and multiple inheritance, Traits do not
use inheritance as the composition operator. Instead, Trait composition
is based on a set of operators that are complementary to single
inheritance and result in better composition properties.
.
Traits are a core part of Perl 6 (called Roles there), and Class::Trait
implements traits for Perl 5.
Description-md5: 9f3e8592612258cabcf83c661d5519fc