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

Last updated: July 06,2024

1. Install "libdbd-mock-perl" package

Learn how to install libdbd-mock-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libdbd-mock-perl

2. Uninstall "libdbd-mock-perl" package

Please follow the steps below to uninstall libdbd-mock-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libdbd-mock-perl $ sudo apt autoclean && sudo apt autoremove

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

Package: libdbd-mock-perl
Priority: optional
Section: universe/perl
Installed-Size: 142
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.45-2
Depends: perl, libdbi-perl
Filename: pool/universe/libd/libdbd-mock-perl/libdbd-mock-perl_1.45-2_all.deb
Size: 37682
MD5sum: 513932083fca7f568a98e07fb2b74429
SHA1: a75ca3e348723bd32c0caa0a4133577d963e27be
SHA256: f49ac9a290d6aa60aa6f9163de48d98760dfc362a9e28e6355710cb44c6b1732
Description-en: Mock database driver for testing
Testing with databases can be tricky. If you are developing a system married
to a single database then you can make some assumptions about your
environment and ask the user to provide relevant connection information. But
if you need to test a framework that uses DBI, particularly a framework that
uses different types of persistence schemes, then it may be more useful to
simply verify what the framework is trying to do -- ensure the right SQL is
generated and that the correct parameters are bound. DBD::Mock makes it easy
to just modify your configuration (presumably held outside your code) and
just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql) in your
framework.
Description-md5: b0d015475e873bc48ff3b0a8968cbfce
Homepage: https://metacpan.org/release/DBD-Mock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu