How to Install and Uninstall bats Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 13,2024

1. Install "bats" package

This tutorial shows how to install bats on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install bats

2. Uninstall "bats" package

Learn how to uninstall bats on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the bats package on Ubuntu 20.10 (Groovy Gorilla)

Package: bats
Architecture: all
Version: 1.1.0+git104-g1c83a1b-1.1
Priority: optional
Section: universe/shells
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Yaroslav Halchenko
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Recommends: parallel
Filename: pool/universe/b/bats/bats_1.1.0+git104-g1c83a1b-1.1_all.deb
Size: 21004
MD5sum: 2047c714b3c5a3dc221663ff19ec4d38
SHA1: a905d07634605e0d4d5ccd6cc29c89f86df5e893
SHA256: 16d253d5a78ee0d42527e6d7cd0229f986057e609149b5d3ebce6f246f32f6f9
SHA512: 8d2a65a889d47f0b757a4be50da8a07092b9f2009762a1a9beb3fb59926d8eede06fd104a12c793c2f5bae8beaafccaf40ae45e698e946e5241d9bd85289900a
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