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

Last updated: November 22,2024

1. Install "bandit" package

Please follow the steps below to install bandit on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

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

Package: bandit
Priority: extra
Section: universe/python
Installed-Size: 29
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 0.13.2-3
Depends: python-bandit (= 0.13.2-3) | python3-bandit (= 0.13.2-3)
Filename: pool/universe/b/bandit/bandit_0.13.2-3_all.deb
Size: 5484
MD5sum: cb2a6c4349302723f97f185b91bfcfdb
SHA1: f5d44667ac9f5954a403ad9bc64256c19d8757a8
SHA256: 0b879ef2500fa890762d980d5c1bded18321de978bfcd6ad670d376d1ea3d447
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
Homepage: https://wiki.openstack.org/wiki/Security/Projects/Bandit
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu