How to Install and Uninstall libclass-trait-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 24,2024

1. Install "libclass-trait-perl" package

This is a short guide on how to install libclass-trait-perl on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libclass-trait-perl" package

Please follow the steps below to uninstall libclass-trait-perl on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libclass-trait-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libclass-trait-perl
Architecture: all
Version: 0.31-4.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alexander Zangerl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 137
Depends: perl, perlapi-5.32.0, libclass-accessor-perl
Filename: pool/universe/libc/libclass-trait-perl/libclass-trait-perl_0.31-4.1_all.deb
Size: 49192
MD5sum: 01f3e4985b1031d6113133c01f12bbb0
SHA1: 760be5320e0676d0544e3aef2e40e32557a6925c
SHA256: 2124700d77efc32bfd498c237a5ce646b5e53bbbc607a3a053637d1256292020
SHA512: 2bc469e77550b920f6037dc91107ed099602b516f468a1e77952a121379bf94e1724899986143fcef04399dbd3655a16a75269cfcd409aa2976ba4cb43e6ae5e
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