How to Install and Uninstall bandit Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "bandit" package

This tutorial shows how to install bandit on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install bandit

2. Uninstall "bandit" package

In this section, we are going to explain the necessary steps to uninstall bandit on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove bandit $ sudo apt autoclean && sudo apt autoremove

3. Information about the bandit package on Ubuntu 21.10 (Impish Indri)

Package: bandit
Architecture: all
Version: 1.6.2-1
Priority: extra
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Depends: python3-bandit (= 1.6.2-1)
Filename: pool/universe/b/bandit/bandit_1.6.2-1_all.deb
Size: 4384
MD5sum: 0d8ce8973dd51dbf768d4849876b7bad
SHA1: 308dd720f8a840e5a665804c2702cf129fc38a2d
SHA256: b16dc8f7e94ef47b9cdf672d1e50053c0147ec95fba6d27e94b722ea22541ee9
SHA512: 62c05387079bd2157910995cd7bf047ef0f7b3027df0e3e2e86a55f95504b68735b0d1ac2aa1f6928fde1ea97c93c1fd0cca38e7197707d1d28605e1db62421d
Homepage: https://github.com/PyCQA/bandit
Description-en: Security oriented static analyzer for Python code - Metapackage
Bandit is a tool designed to find common security issues in Python code. To
do this Bandit processes each file, builds an Abstract Syntaxt Tree (AST),
and runs appropriate plugins against the AST nodes. Once Bandit has
finished scanning all the files it generates a report.
.
This package is a metapackage to install the Python 2.7 or 3.x of bandit.
Description-md5: e2ae8937c2955dad5e27eb3518993877