How to Install and Uninstall libclass-trait-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 12,2024

1. Install "libclass-trait-perl" package

In this section, we are going to explain the necessary steps to install libclass-trait-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libclass-trait-perl" package

Please follow the instructions below to uninstall libclass-trait-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libclass-trait-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libclass-trait-perl
Priority: optional
Section: universe/perl
Installed-Size: 153
Maintainer: Ubuntu Developers
Original-Maintainer: Alexander Zangerl
Architecture: all
Version: 0.31-4
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
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
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu