How to Install and Uninstall bats Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "bats" package

This guide covers the steps necessary to install bats on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install bats

2. Uninstall "bats" package

Learn how to uninstall bats on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the bats package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: bats
Architecture: all
Version: 0.4.0-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: 41
Filename: pool/universe/b/bats/bats_0.4.0-1.1_all.deb
Size: 14340
MD5sum: cea5bdf31ee0f3d634131df96ad097e7
SHA1: 98e0323bda8090599043dc82e0d40b1c99bb907c
SHA256: 735c170ea247024944001dbf14f9dfd7a0f19348e3605c16377fd4426b997ecc
Homepage: https://github.com/sstephenson/bats
Description: bash automated testing system
Description-md5: 6d552fdf63d7a896150f59d788343155