How to Install and Uninstall python-bandit Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

1. Install "python-bandit" package

This is a short guide on how to install python-bandit on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-bandit

2. Uninstall "python-bandit" package

Please follow the instructions below to uninstall python-bandit on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-bandit package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-bandit
Architecture: all
Version: 1.4.0-0ubuntu2
Priority: extra
Section: universe/python
Source: bandit
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 356
Depends: python-git (>= 2.0.2), python-six (>= 1.9.0), python-stevedore (>= 1.16.0), python-yaml, python2.7:any, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Breaks: bandit (<< 0.13)
Replaces: bandit (<< 0.13)
Filename: pool/universe/b/bandit/python-bandit_1.4.0-0ubuntu2_all.deb
Size: 59754
MD5sum: 3bf16d77b2571813a271a6953da2a58b
SHA1: 6e75b0ad72f2d48a7b7469a00abff2b297459dce
SHA256: 5e082273b039b1a75ac9d8ae5db5f50189339e10e667449908cc8e147fa945a7
Homepage: https://wiki.openstack.org/wiki/Security/Projects/Bandit
Description: Security oriented static analyzer for Python code - Python 2.7
Description-md5: 7f32fccf423674c790c2ac641d779353