How to Install and Uninstall bats Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 13,2024

1. Install "bats" package

Please follow the guidelines below to install bats on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install bats

2. Uninstall "bats" package

This guide let you learn how to uninstall bats on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove bats $ sudo apt autoclean && sudo apt autoremove

3. Information about the bats package on Ubuntu 21.04 (Hirsute Hippo)

Package: bats
Architecture: all
Version: 1.2.1-3build1
Priority: optional
Section: universe/shells
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Yaroslav Halchenko
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 75
Recommends: parallel
Filename: pool/universe/b/bats/bats_1.2.1-3build1_all.deb
Size: 27404
MD5sum: af719938678c8eb21400888e58d8fb87
SHA1: a03dd024df0df4a216b5d14562abb74920dd2541
SHA256: 72491fba2bd5c37c5db443d181c6e844d8b134ad0c0af05f99c881bfa2ee6621
SHA512: bbdbdc212686c4f6d1a3ae5d7a13f0c027403948b0a540ce92dac341d4a7615af4826de20667d0adb91811b6d8692aaca18e70eb0770fa291ce7eea7863a033d
Homepage: https://github.com/bats-core/bats-core
Description-en: bash automated testing system
Bats is a TAP-compliant testing framework for Bash. It provides a
simple way to verify that the UNIX programs you write behave as
expected. Bats is most useful when testing software written in Bash,
but you can use it to test any UNIX program.
Description-md5: 6d552fdf63d7a896150f59d788343155