How to Install and Uninstall shunit2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "shunit2" package

Please follow the guidance below to install shunit2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install shunit2

2. Uninstall "shunit2" package

This is a short guide on how to uninstall shunit2 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove shunit2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the shunit2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: shunit2
Priority: optional
Section: universe/devel
Installed-Size: 146
Maintainer: Ubuntu Developers
Original-Maintainer: Ulrich Dangel
Architecture: all
Version: 2.1.6-1.1ubuntu1
Filename: pool/universe/s/shunit2/shunit2_2.1.6-1.1ubuntu1_all.deb
Size: 38572
MD5sum: b363600e43fc3ffa7b9059ce935d753a
SHA1: 69a00848324cb91aeae2c9414f253e8558ef4975
SHA256: c7f4065dd99451317455613e12d6c969be0258fc54c8392dbbff4acf59262751
Description-en: unit test framework for Bourne based shell scripts
shUnit2 was originally developed to provide a consistent testing
solution for log4sh, a shell based logging framework similar to
log4j. It is designed to work in a similar manner to JUnit, PyUnit,
etc.
Description-md5: 87603abc3a9465868b0384759d8b4ce6
Homepage: http://code.google.com/p/shunit2/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu