How to Install and Uninstall bats-assert Package on Kali Linux

Last updated: November 23,2024

1. Install "bats-assert" package

Here is a brief guide to show you how to install bats-assert on Kali Linux

$ sudo apt update $ sudo apt install bats-assert

2. Uninstall "bats-assert" package

Please follow the instructions below to uninstall bats-assert on Kali Linux:

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

3. Information about the bats-assert package on Kali Linux

Package: bats-assert
Version: 2.1.0-3
Installed-Size: 57
Maintainer: Debian Bats team
Architecture: all
Depends: bats-support
Enhances: bats
Size: 8932
SHA256: 4a6ffd8ba381f29109258728602ca7dea0cb761b13fb7ba1cb34891efc4f9b50
SHA1: 8589cbd9b8e20b947a35e859033f8e2551a05360
MD5sum: ff0a2579c804f2dc8f11ee085f824de9
Description: Helper library providing common assertions for Bats
bats-assert provides various ready-made assertions that can be used
to make Bats tests simpler to understand and to debug.
.
For example:
.
* assert_success: exit status is 0.
* assert_output: output contains given content.
* assert_line: a specific line of output contains given content.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/bats-core/bats-assert
Section: devel
Priority: optional
Filename: pool/main/b/bats-assert/bats-assert_2.1.0-3_all.deb