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

Last updated: May 04,2024

1. Install "libclass-virtual-perl" package

This guide covers the steps necessary to install libclass-virtual-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libclass-virtual-perl" package

Learn how to uninstall libclass-virtual-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libclass-virtual-perl
Priority: optional
Section: universe/perl
Installed-Size: 72
Maintainer: Ubuntu Developers
Original-Maintainer: Dominic Hargreaves
Architecture: all
Version: 0.06-3
Depends: perl, libcarp-assert-perl (>= 0.1), libclass-data-inheritable-perl (>= 0.02), libclass-isa-perl | perl (<< 5.10.1-13)
Filename: pool/universe/libc/libclass-virtual-perl/libclass-virtual-perl_0.06-3_all.deb
Size: 11630
MD5sum: 3c60ca8187e0972beffe09aba6ad603f
SHA1: 66cd7bffa8db1e5d304ba3753e2330315b7a8a1e
SHA256: eb845d6cac3c8268945eb6c2f44f80bc0a3d81f9c405185e4723bffff96f0f3c
Description-en: Base class for virtual base classes
This is a base class for implementing virtual base classes (what some
people call an abstract class). Kinda kooky. It allows you to
explicitly declare what methods are virtual and that must be
implemented by subclasses. This might seem silly, since your program
will halt and catch fire when an unimplemented virtual method is hit
anyway, but there's some benefits.
.
The error message is more informative. Instead of the usual
"Can't locate object method" error, you'll get one explaining that a
virtual method was left unimplemented.
.
Subclass authors can explicitly check to make sure they've implemented
all the necessary virtual methods. When used as part of a regression
test, it will shield against the virtual method requirements changing
out from under the subclass.
Description-md5: cd343f871695d8db8dff11d1484b8244
Homepage: http://search.cpan.org/dist/Class-Virtual/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu