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

Last updated: November 22,2024

1. Install "bats" package

Learn how to install bats on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install bats

2. Uninstall "bats" package

Learn how to uninstall bats on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: bats
Priority: optional
Section: universe/shells
Installed-Size: 41
Maintainer: Ubuntu Developers
Original-Maintainer: Yaroslav Halchenko
Architecture: all
Version: 0.4.0-1ubuntu4
Filename: pool/universe/b/bats/bats_0.4.0-1ubuntu4_all.deb
Size: 14336
MD5sum: 993678a5845556fdd88b5479be53d14b
SHA1: d257da5e34a8f85c6ea953181ebf84094a7adeba
SHA256: 04b2505bdb25fda86541a8fc05aa73b9c4834a04b4d8c5690c0ba463e94fb1a7
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
Homepage: https://github.com/sstephenson/bats
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu